Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

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 had upgraded kernel of Ubuntu 12.04.2 LTS and Fedora 18 to the latest update. I had updated the Ubuntu's GRUB with command

$ sudo update-grub

When i updated the grub, I had mounted Fedora's partition. However, Fedora's GRUB2 take over bootloader.

How should i do to make Ubuntu's GRUB taking over the bootloader?

share|improve this question

Boot into ubuntu

Add repository

sudo add-apt-repository ppa:yannubuntu/boot-repair && sudo apt-get update

Install boot repair

Sudo apt-get install boot-repair

Then run boot-repair from terminal

This might work. At least its something to try. It should launch a gui giving you options to help you fix grub. Its quite easy to use and self explanatry

share|improve this answer
thank you, is there any risk using boot-repair? – obysr May 27 '13 at 0:23
I suppose there is a small risk, but im pretty much a noob and ive used it lots of times and if it has fixed a number of issues for me on a number of occasions. I think there is option to reinstall grub there. That option should be safe. I think its quite obvious if your gonna do something risky in the utility. E.g. mucking arround with the master boot records etc.... – Max Carroll May 27 '13 at 0:37
i am just afraid if i have to upgrade all my distros. that means maybe boot configurations have changed and boot-repair doens't always update with new configurations – obysr May 27 '13 at 1:02
If u changed configs run boot-repair again if its not working. Everytime u upgrade a distro, I think that it will overwrite grub with its own version. Some distros let you choose not to install the grub and give u options on overwritting the mbr. May e google how to upgrade distro without affecting the mbr. Or edit ur question to ask this – Max Carroll May 27 '13 at 9:39
if your really worried your gonna screw it all up make your self a super grub boot cd. This purpose of the disk is "if theres an OS on your HDDs, this will find it and allow you to log into it" even if youve screwed up your MBR a little bit. So just make urself one of these as a safetynet – Max Carroll May 27 '13 at 9:50

Boot into Ubuntu and run sudo dpkg-reconfigure grub-pc.

share|improve this answer
thank you, what is command for? – obysr May 27 '13 at 1:02
@obysr, to have Ubuntu's grub take back over of course? – psusi May 27 '13 at 1:10
sure, thank you :) – obysr May 27 '13 at 1:23
that command needs some configs that i've never known. Can you explain it? – obysr May 30 '13 at 22:04
@obysr, you'll have to be more specific. – psusi May 30 '13 at 22:10

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.