Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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 serverfault.com Oct 27 '10 at 23:28

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

2 Answers 2

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
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

share|improve this answer

Your Answer

 
discard

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.