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.

Possible Duplicate:
How can I repair grub? (How to get Ubuntu back after installing Windows?)

I primarily use Ubuntu 12.10, however I recently installed the beta of Fedora 18 to test it out. Grub was replaced with the "fedora 18 grub" which looks slightly different. How do I restore the version of grub that comes with ubuntu?

share|improve this question

marked as duplicate by Marco Ceppi Jan 16 '13 at 17:28

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

    
You can still run Ubuntu, yes? Try this one: "sudo grub-install –root-directory=/mnt/ /dev/sda" but w/out quotes and do note change to proper device. The /dev/sda is just an example. –  Marky Dec 4 '12 at 4:46
    
@Marky can you provide a real answer instead of a comment. It would be better for the OP and the community? –  Ringtail Dec 4 '12 at 5:06

2 Answers 2

Try update-grub if that doesn't work then install the grub again using the grub-install command . It should detect Ubuntu automatically and include Ubuntu in the boot menu.

share|improve this answer
    
Thanks, but I used boot-repair –  Mysteriousness Dec 24 '12 at 23:48

yes you can restore the Ubuntu grub

1- update the Ubuntu grub

for doing this

update-grub2

2 - then reboot the pc now you can find Ubuntu grub

share|improve this answer

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