Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I want to change the swap partition to another partition. Is there a gui that can make this process easier so I don't have to do things like manually editing files?

share|improve this question
up vote 3 down vote accepted

This is in case you don't find a GUI method, you will find the terminal method quite flexible and easy. Run the following commands:

sudo swapoff /dev/hda3
sudo mkswap /dev/hda4
sudo swapon /dev/hda4

Then update /etc/fstab. Change the line containing "/dev/hda3" to "/dev/hda4".

Here is the Ubuntu page on Swap FAQ. Also note (from that page):
With the 2.6 kernel, "a swap file is just as fast as a swap partition."
Which means that you don't need to lock down a partition for swap space; you can tune it locally in a data partition as a swap-file.

share|improve this answer
You know, not everybody likes the terminal. – TheLQ Aug 1 '10 at 17:44
@Lord.Quackstar, yes I agree. Have changed the start of my answer to indicate its usefulness in the event a clean GUI is not found ':-)'. – nik Aug 2 '10 at 1:51

Use Parted Magic LiveCD. Download it from here, burn it to a CD and go.

share|improve this answer
I think the OP already has the partition, just needs to change swap. – TheLQ Aug 1 '10 at 17:45
I guess awakeFromNib does not need to worry about command line tools. Actually, command line tools for non frequent tasks (like partitioning) are easy to forget – mmonem Aug 1 '10 at 19:27

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .