I have a dual boot machine containing Ubuntu and and Windows XP partitions.

I'd like to remove the Ubuntu partition and have only Windows (and use VirtualBox within Windows for Ubuntu).

  1. Can I safely erase the contents of the Linux partition and still be able to expect to boot into Windows (or, does the Grub bootloader stuff live in the Linux partition?)

  2. How can I increase the size of the existing Windows partition to include the whole drive without reinstalling Windows?


Gparted should allow you to extend the windows partition without reinstalling windows. The Windows XP fdisk utility (if I remember correctly) has a option /mbr which will restore the mbr to the windows version.

| improve this answer | |
  • 1
    Be sure to backup Windows before doing this, just in case something goes wrong. – steve.lippert Oct 28 '10 at 14:30

You are able to remove linux, just make sure to rebuild the bootloader. do this by booting from a recovery disk. I think the command in the command prompt is bootrec.exe/fixmbr. This has worked for me in the past when removing linux installations

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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