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?

link|improve this question
feedback

migrated from serverfault.com Oct 27 '10 at 23:28

This question came from our site for system administrators and desktop support professionals.

2 Answers

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.

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

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

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

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