Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. 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 Ubuntu 12.04 LTS and Windows 7 Home Premium on my laptop. My desire is to uninstall Ubuntu without spoiling MBR and Windows 7.

I would like to emphasize that Ubuntu was installed later so I select the OS in GRUB. I would also like to uninstall GRUB. How can I do so in a painless and simple manner?

share|improve this question
up vote 1 down vote accepted

In Windows you can use "Dual-boot Repair" tool. Rewrite all partition boot records and MBR.

Or from Windows 7 recovery/installation CD/DVD/USB run on command prompt:

bootsect /nt60 ALL /mbr

Or you could just run "StartUp Repair" from Windows 7 recovery CD. Eventually you have to run StartUp Repair more then once with rebooting after each run to check if problem is fixed.

share|improve this answer

I would do something like the following steps if I were you:

  1. Backup any valuable data on your Ubuntu system
  2. Boot into a Windows 7 installation disc
  3. Repair your system by overwriting the MBR (Master Boot Record)
  4. Boot into Windows 7
  5. Format the Ubuntu partition(s)

By overwriting the MBR and formatting the Ubuntu partition(s) you are effectively "uninstalling" GRUB and Ubuntu, although there's no such thing as uninstalling them - only writing over previous data.

share|improve this answer
Thanks, that sounds worth trying. Why I cannot erase GRUB, isn't there an option to do so? – Vesnog Oct 18 '13 at 11:12
@Vesnog Overwriting the MBR is erasing GRUB because GRUB lives there. See en.wikipedia.org/wiki/GNU_GRUB#Booting. – user13742 Oct 18 '13 at 13:35
Okay, I understood now. – Vesnog Oct 18 '13 at 13:46

You can use EasyBCD for safely uninstall.

share|improve this answer
In which OS should I use this program? – Vesnog Oct 18 '13 at 11:15

Your Answer


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.