I've installed Ubuntu on my computer but I did a mistake during the installation and it created two swap's.

In fact I had tree partitions (system, home, swap) but the installator crashed so I restarted the installation and it has installed everything in the system partition.

So now I separated the home in the appropriate partition but I've two swap partitions.

How can I delete one ? If I delete one, how will it go ?

link|improve this question
feedback

migrated from stackoverflow.com Nov 11 '11 at 17:09

This question came from our site for professional and enthusiast programmers.

2 Answers

up vote 1 down vote accepted

you can safely delete one of the swap partitions using gparted disk management utility. but first remove its by running command

swapoff /dev/"swap parition"

and then delete, entry from /etc/fstab , so that it might not try to mount it again on reboot.

link|improve this answer
feedback

Boot with a LiveCD and use gparted to remove the swap partition. You can then resize the space however you'd like.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.