Ubuntu

how do i add swap partition

Asked by Paul Doyle on 2011-10-07

how do i add swap partition?

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu gnome-disk-utility Edit question
Assignee:
No assignee Edit question
Last query:
2011-10-07
Last reply:
2011-10-07

Can you give the output of:

sudo fdisk -l; mount; lsb_release -a

Thanks

A default install makes a swap partition.

try in a terminal
sudo apt-get install gparted
sudo gparted

select the partition u like and set it as a swap...
its a bit more difficult if u must resize the active partition and u might have to run the gparted from a live cd in that case.

Warren Hill (warren-hill) said : #3

You can use GParted the Gnome partition editor for that

See: http://www.howtoforge.com/partitioning_with_gparted

GParted is not installed by default but can be downloaded using the Ubuntu software Center.

gksudo gparted

DON'T use sudo for GUI apps, it isn't suitable. The equivelant in kde is kdesdufo

Thanks

Can you help with this problem?

Provide an answer of your own, or ask Paul Doyle for more information if necessary.

To post a message you must log in.