1

I have Ubuntu 12.04 and Windows7 installed onto a machine so that I could boot into either one. I wanted to keep using the Windows bootloader (actually EasyBCD), so I made sure that I didn't install Grub into the MBR, and all was well.

However, a week or two ago, just doing a routine update with Update Manager, it updated Grub but put it into the MBR (without telling me and without asking my permission), disabling the Windows bootloader, so now the machine boots into Grub instead. I'd like to get it back to booting into the Windows bootloader.

I've read it is easy to fix this, but I don't know how. Any help?

Kelley
  • 33,062

3 Answers3

3

Go to the "BCD Deployment" menu in EasyBCD. Then click the "Write MBR" button.

enter image description here

Reboot, and you're all set!

2

To reinstall the Windows boot loader you will need to boot the windows recovery console ( possibly via the install cd ) and run the FIXMBR command.

To make sure grub isn't (re)installed to the MBR, you need to run sudo dpkg-reconfigure grub-pc and make sure it is not configured to install to the whole drive ( /dev/sda ).

psusi
  • 37,551
  • Ick! That isn't so easy. This is on my mother-in-law's computer, and the computer came with Windows7 pre-installed - of course - so I don't think she has any install CD. – Kelley Jun 13 '12 at 14:58
  • @Kelley, you may still be able to install the old lilo package and use lilo -M to install a dos compatible MBR. – psusi Jun 13 '12 at 15:48
2

Both answers were great so I upvoted them. In the end, I found it easier than I might have imagined.

Since I had used EasyBCD on Windows to set up the Windows boot manager, I opened it and found an option to repair the MBR. I ran it - somewhat nervously - rebooted, and it was all back to normal! Nice program!

Kelley
  • 33,062