Results 1 to 3 of 3

Thread: Using GParted to resize Swap space.

  1. #1
    Join Date
    Dec 2006
    Saint Paul
    Ubuntu 9.10 Karmic Koala

    Using GParted to resize Swap space.


    I'd like to use GParted to resize my partitions such that the Swap space is increased significantly. I have 512MB of ram, and I am using the GIMP to do some photo editing and I watched my free swap space disappear and then the GIMP gave messages that it was unable to allocate more ram so it couldn't do simple operations. (I'm working with extremely large files).

    Here's my setup:
    /dev/sda1 ext3 / 26.75 Total 7.76 Used 18.99 Free
    /dev/sda2 extended 1.20
    /dev/sda5 linux-swap 1.19

    I'd like to change the swap space to 3GB using the free space on my / partition. When I open GParted, all Resize/Move operations are disabled (grayed out). I looked online and see that I have to unmount non-swap partitions I want to resize, and "Swapoff" the swap partition. However, how can I unmount my file system if I'm currently using in it? This seems bad to me. Do I/should I use a Live CD, or can I do this while booted normally into Ubuntu?

    Thanks for all your help.

    Joseph Ford

  2. #2
    Join Date
    Jan 2007
    Ubuntu Development Release

    Re: Using GParted to resize Swap space.

    Yes, you will have to reboot with the livecd, a systemrescue cd, or a gparted cd. Operations can't be performed on a running system.

    Here is the link to the systemrescuecd page if you are interested:


  3. #3
    Join Date
    Dec 2006
    Ubuntu 7.10 Gutsy Gibbon

    Re: Using GParted to resize Swap space.

Tags for this Thread


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts