Take the 2-minute tour ×

I don't have access to the install media for Fedora right now. Can I restore boot loader for Fedora from Ubuntu 12?

share|improve this question
Why do you think you need to restore the boot loader? What error are you getting? –  stark Sep 2 '12 at 20:00
I could not boot into fedora. (Fatal error occurred... blah blah blah.. ! and Kernel Panic" –  Curious Apprentice Sep 5 '12 at 20:03
add comment

2 Answers

up vote 0 down vote accepted

I have solved this issue. What I did is :

  1. First I have copied the grub.cfg from my Ubuntu installation and replace that with Fedoras grub.cfg.
  2. After that I have changed some entries in grub.cfg, like I have replaced the UUID, Name of the initrd file and msdos9 to msdos3.
  3. After that rebooted and got access to Fedora.
  4. After that used Grub Customzer to re-write grub entries for fedora.
share|improve this answer
add comment

You can try this:

  1. Boot your Ubuntu.
  2. Open a terminal and mount the Fedora partition: sudo mount /dev/sdXY /mnt/fedora (where sdXY is the partition where you have Fedora installed). Most likely, X will be a (for the first hard drive installed in your system).
  3. Just for good measure, mount /dev and /proc there: sudo mount -o bind /dev /mnt/fedora/dev and sudo mount -o bind /proc /mnt/fedora/proc. I don't know if this is still needed but it won't hurt.
  4. chroot into it: sudo chroot /mnt/fedora. This will give you access to your Fedora install.
  5. Then, run /sbin/grub-install /dev/sdX.
share|improve this answer
Can you please elaborate. –  Curious Apprentice Sep 2 '12 at 18:12
Which part do you want me to elaborate on? –  Renan Sep 2 '12 at 18:12
Please write the whole steps like (1,2,3...). If possible explain things in non technical terms. –  Curious Apprentice Sep 2 '12 at 19:20
@CuriousApprentice edited the answer, try now. –  Renan Sep 2 '12 at 19:27
When Im trying to mount,(mount /dev/sda3 /mnt/fedora it says the path is invalid. –  Curious Apprentice Sep 2 '12 at 19:34
show 9 more comments

Your Answer


