Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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: askubuntu.com/a/150644/68508 –  BigSack Jun 14 '12 at 5:04

3 Answers 3

up vote 2 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

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

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

Your Answer

 
discard

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.