Ask Ubuntu is a question and answer site for Ubuntu users and developers. 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 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?

share|improve this question
Answered here: – BigSack Jun 14 '12 at 5:04
up vote 3 down vote accepted

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

enter image description here

Reboot, and you're all set!

share|improve this answer

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 ).

share|improve this answer
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

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!

share|improve this answer

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.