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 have attempted to remove Ubuntu from a dual boot system (Windows XP, SP3) by deleting partitions, using both the Ubuntu install CD and GParted. Neither worked for me; instead, all I did was manage to install a new version of Ubuntu each time. Now, I have 3 versions of Ubuntu and one of XP. Trouble is, I cannot boot up XP. Each time I select it from the boot list, a message appears briefly saying chkdsk needs to be run, but instead of running chkdks, my computer restarts. I can boot up Ubuntu, so I have a way of getting online, if that is needed to find a solution.

share|improve this question
Did you try running chkdisk form live-cd? – con-f-use Jan 21 '12 at 21:37
Ask for chkdks normally means something wrong with your Windows partition. Try that first from Live cd or Windows XP install CD. It have nothing to do with uninstall and reinstall Ubuntu, but I personally think it is more important and easier. – pstar Jan 21 '12 at 22:32
It sounds like all the versions of Ubuntu are on your MBR, but not on your hard disk (except the one you can boot up from.) Can you boot into all 3 versions? Are you sure you have deleted the partitions? Could you please post the output of "fdisk -l" while you are in Ubuntu, please? – user35297 Jan 22 '12 at 1:10

This will erase all data on your computer

  1. Boot to a live CD. You'll know you are on the live CD because it will have an icon called 'Install Ubuntu' on the desktop and your username (whoami in terminal) is 'ubuntu'

  2. Open GParted (looks like this: screenshot)

  3. Right click on each line and select the 'Partition' Menu, then 'Delete' (screenshot)

  4. Repeat until there is only one line left that reads 'Unallocated Space'

  5. Click the Commit button (Green Checkmark), if you pressed the right one then this will appear

  6. Once it is done, expand the details and make sure every action has a green checkmark, like this

If for some reason you follow each of the directions above and your computer still boots into ubuntu or windows then you likely have more than one hard drive.

Alternative method (faster)

  1. Follow 1 & 2 from above.

  2. Click the 'Device' menu, then 'Create Partition Table' (screenshot)

share|improve this answer
You can keep Windows XP by simply skipping any partition formatted as fat32 or ntfs but still following all the other directions (all steps except #4). You cannot use the alternate method if you want to keep XP. – Huckle Jan 22 '12 at 5:23

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.