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?

link|improve this question

38% accept rate
feedback

2 Answers

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 http://www.hiren.info/pages/bootcd
You'll want to use the utility MbrFix 1.3

link|improve this answer
feedback
  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"
link|improve this answer
I lost my windows 7 boot disc. – user83241 May 27 '11 at 15:19
I've used ambience.sk/… 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
feedback

Your Answer

 
or
required, but never shown

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