Resize/Create a New Partition in GParted
Solution 1:
You can not resize a partition when it is in use. Boot a live CD, make sure the partition is not mounted, and run gparted from there.
Make sure the swap partition is not mounted either (swapoff).
You can mount / unmount a partition from gparted as well.