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 installed ubuntu on my Windows 7 pc. Automatically it used the GRUB bootloader. Then I learnt how to use VirtualBox. I have no need for Ubuntu. So can I delete Ubuntu and GRUB while leaving Windows 7 alone?

share|improve this question

You cannot delete GRUB without then fixing the MBR on Windows 7.

Fixing the MBR:
The easiest way is to boot from the Windows CD/DVD.

* Boot from Windows CD/DVD and choose the "Repair" option
* Choose the command prompt
* Run the two commands
      o bootrec /fixmbr
      o bootrec /fixboot

If you've lost your original CD, get the live CD at
You'll want to use the utility MbrFix 1.3

share|improve this answer
  1. Boot your Windows 7 Installation DVD
  2. Press a key when the message indicating "Press any key to boot from CD or DVD …" appears.
  3. Select a language, a time and currency, and a keyboard or input method, and then click Next.
  4. Click Repair your computer. In the System Recovery Options dialog box, choose your installation and click Next.
  5. In the System Recovery Options dialog box, click Startup Repair.
  6. If step 7 fails, click the Command Prompt and enter the command "bootrec.exe /fixmbr"
share|improve this answer
I lost my windows 7 boot disc. – user83241 May 27 '11 at 15:19
I've used… this utility on XP before. I don't know if it would work for 7 and could leave your system unable to boot. Perhaps it's better to configure Grub to auto select Windows 7 and use a 0 second timeout. – OldTroll May 27 '11 at 15:43

If All Else Fails!

I solved the problem. Here is how I did it. WARNING, you may have to reinstall Linux / grub first!

Steps: (This is if nothing else works and it takes a long time)

1: Reinstall Ubuntu / Linux mint (This is only so you can use GRUB to boot into Windows, if you can boot into windows already, there is no need to reinstall GRUB).

1.5: Restart and boot into windows (if you can't boot to Windows, then live boot to linux from the CD or USB and run the following in a console:

Boot repair (If needed right now)

sudo add-apt-repository ppa:yannubuntu/boot-repair

sudo apt-get update

sudo apt-get install -y boot-repair && (boot-repair &)

1g: Select recommended repair and follow the on screen instructions.

2g: After your done, reboot. You should see the grub menu, even though you can boot to Windows from here, this is not what we want yet... But find the option that boots into Windows.

2: Once your booted into Windows, run your disk partition editor and delete All partitions related to Linux / grub. Especially make sure the small grub partition is removed. Reboot

2.5: Make sure the windows loader is the first selected boot device. (most likely is). Disable the Ubuntu option. Continue boot.

3: If you've done everything right up to this point you should see (depending on your computer) your splash screen for a second and then it will turn into an error screen saying that there was an error with the boot. ("Winload.exe is missing or corrupted" most likly).

3.5: Don't be alarmed (I was). The next step will restore your original bootloader.

4: Restart and boot to your Linux CD or USB.

5: Once booted, run boot repair commands from above again. This time when running it. It will act differently, there is no grub bootloader detected to reinstall and should run faster than before.

6: Once complete, restart.

7: Enjoy your GRUB free system!

This worked for me when nothing else did, I ran bootrec.exe. Nothing worked. This saved my computers life. Hope it saves yours!

share|improve this answer

You can still Enter recovery even while Grub/Grub2 Is Still Installed You Must Press F8 When Booting Pc And Select Windows After You Selected That Keep Pressing F8 And Slect repair your pc Enter the keyboard format and select the admin user eneter the pass and press ok you should see a recovery menu with Command Promt(CMD) At the bottom.

share|improve this answer

You must log in to answer this question.

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