Hey people!
Can anyone out..... ====> tell me the best way to resize a swap partition?
I read somewhere that your swap partition should be the same size as you RAM in order for Suspend to work.....?
Im running Lucid
Thanks in advance
Hey people!
Can anyone out..... ====> tell me the best way to resize a swap partition?
I read somewhere that your swap partition should be the same size as you RAM in order for Suspend to work.....?
Im running Lucid
Thanks in advance
Use the live CD. It comes with GParted, a graphical disk partitioning utility.
System>Administration>Gparted Partition Editor
or <alt+f2> typeand press enterCode:sudo gparted
Edit your partitions there.
The above post definitely does not contain any sarcasm at all.
GParted is a good tool for that purpose.
But this task is not trivial. When you modify the size of a swap partition, you change its UUID. So, you will have to update the /etc/fstab with the new UUID of your swap partition.
Theses bash commands could be useful if you try to change the size of your swap partition:
Best regards,#List the UUIDs detected in your system
sudo blkid
# Stop the swap
sudo swapoff -a
#Restart the swap
sudo swapon -a
Luis
You can use an Ubuntu Live CD, but I think that it is easier to run your Lucid Ubuntu.
GParted is not included in the standard Ubuntu installation. So, please, install it using Synaptic.
You actually don't need any swap at all for suspend. You do need it for hibernate though. You may want to read through the Ubuntu Swap FAQ and decide if you really need more swap: https://help.ubuntu.com/community/SwapFaq
Don't try to make something "fast" until you are able to quantify "slow".
so is there any other reason my suspend or hibernate dont work?
Regards, David.
Please use the Forum search and Wiki search for immediate help
Please mark your thread as Solved when appropriate
New to technical forums?: How To Ask Questions The Smart Way
You can read this interesting comment in this page: https://help.ubuntu.com/community/SwapFaq
Hibernation (suspend-to-disk) The hibernation feature (suspend-to-disk) writes out the contents of RAM to the swap partition before turning off the machine. Therefore, your swap partition should be at least as big as your RAM size. The hibernation implementation currently used in Ubuntu, swsusp, needs a swap or suspend partition. It cannot use a swap file on an active file system.
I think I'll give it a try later!
thanks and let ya know how it goes!
Bookmarks