Restore Grub

Step 1: Boot from the Fedora CD#1/DVD and choose the "rescue" mode.

Step 2: Mount the existing filesystem as read/write when asked (hit "Continue").

Step 3: Now there are two equivalent ways to restore grub. We assume that your existing filesystem has been mounted in /mnt/sysimage, and that

"/boot" is contained in /mnt/sysimage

and

"/dev/sda" is the drive where grub is to be installed

chroot /mnt/sysimage
grub-install /dev/sda
reboot

or

cd /mnt/sysimage/sbin
./grub-install --root-directory=/mnt/sysimage /dev/sda
reboot

Grub should be back in the MBR now :-)

Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License