Archive

Posts Tagged ‘swap’

Change swap partition

February 15, 2010 Leave a comment

If you want to change the swap partition, ceate a new one (e.g., using GParted or mkswap).

Then, you only have to swap on that partition (in my case /dev/sdb2):

sudo swapon /dev/sdb2

Finally, edit /etc/fstab to add/modify the swap partition:

/dev/sdb2    none        swap    sw    0    0

Advertisements
Categories: linux Tags: ,