How to use gparted to resize hdd?
Solution 1:
You can't resize a partition when you are using it.
So you have to use an Ubuntu Live CD, boot on it, and then do your operations from the Live environment. Eventually, you have to "swap off", that is to say turn the swap partition off by using Gparted.