How do I remove my Ubuntu partition from Windows 7 and reuse the space?

Solution 1:

Well, the Ubuntu community is sorry to see you go ... :)

  • Press Windows Key + R to get the run box, type diskmgmt.msc and press enter

enter image description here

  • As in the screenshot, you'll see one or more "healthy" partitions next to your C: drive.
  • Right-click the Linux one(s) and "Delete Volume"
  • If Windows 7 was preinstalled on your computer, please ensure you don't remove recovery partitions, etc.
  • The space formerly occupied by Linux should now say "Unallocated".
  • Right-click on C: and "Extend Volume" to increase the size of drive C using the unallocated space.
  • If you were using grub to dual-boot (most probably), then you may need the Windows CD to fix the boot manager and make Windows 7 bootable again.

Solution 2:

You need to first fix your boot manager

  1. boot your system using windows installation cd
  2. go to "repair your system"
  3. use command prompt
  4. type bootrec /fixboot then hit enter
  5. type bootrec /fixmbr then hit enter
  6. exit

This time your system will boot directly into windows after doing this you can delete the partition as mentioned above.

This is the safe way to uninstall Ubuntu.

Solution 3:

You dont need to use the original Windows CD to fix the MBR (and remove GRUB ) - you can quickly create a system repair disc from the Windows OS itself - I just did this and its a nice easy process. Im actually removing Ubuntu ( which was a new in stall I did not make big enough ) and then I'll reinstall Ubuntu with a bigger partition