Ask Ubuntu is a question and answer site for Ubuntu users and developers. 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 am having Problems using Gparted to turn off swap on the swap drive to move though this re installation guide

share|improve this question
I'm not sure I understand your question. What exactly is your problem? Do you get any errors? – Seth Apr 4 '13 at 3:08
I right click linux-swap in GParted and then click swapoff and get this error (-) Could not deactivate swap swapoff:dev/sda5: swapoff failed: Cannot allocate memory – user212833 Apr 4 '13 at 3:15
I would edit that into your question. – Seth Apr 4 '13 at 3:18
To get best advice here you need to edit your question to give more details on why you need to reinstall, why the default installation process from CD failed, why you think you need to delete your partitions, and mostly why you think you need to repartition swap as well. – Takkat Apr 4 '13 at 7:25

No, there is no need to partition a drive before we install or re-install Ubuntu in an uncomlicted default setting. The installer will take care of this for you.

When booting the live CD on a system which already has 12.10 installed you will see the following screen after choosing "Intall Ubuntu":

enter image description here

This will let you choose to

  • "Reinstall" with keeping your HOME and settings for your applications.
  • "Erase and reinstall" with deleting everything.

Which option is best for you depends entirely on the reasons you have for reinstalling, and also on your machine's further setup, e.g. you may not want to choose "Erase.." in case you are dual-booting another OS.

In general the swap partition will be used by the new installation and unless we need to resize it there will be no need to delete it.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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