Super User is a question and answer site for computer enthusiasts and power users. 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 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?

share|improve this question

migrated from Oct 27 '10 at 23:28

This question came from our site for system and network administrators.

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.

share|improve this answer
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

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .