To re-install the bootloader for Fedora Core 19; you must first load into your Linux installation with a chroot. This post will explain this process.
Then, once you are in the chroot environment, the following commands will re-install GRUB for you.
root@neo homer# grub2-install /dev/sda Installation finished. No error reported. |
This will properly re-install the GRUB2 bootloader and then you will be able to boot Fedora properly.
And then if you wish to generate a new GRUB 2 configuration; use this command.
root@neo homer# grub2-mkconfig > /root/grub.cfg Generating grub.cfg ... Found linux image: /boot/vmlinuz-3.9.5-301.fc19.x86_64 Found initrd image: /boot/initramfs-3.9.5-301.fc19.x86_64.img Found linux image: /boot/vmlinuz-0-rescue-d622a566f4ac4b49b1cb43d7e2a94323 Found initrd image: /boot/initramfs-0-rescue-d622a566f4ac4b49b1cb43d7e2a94323.img Found Windows 8 (loader) on /dev/sda1 done |
This file may then be copied to the /boot/grub2 directory once you have confirmed that the command completed successfully. I just took a hard drive out of my computer and the hard disk I removed had the GRUB bootloader on it. Therefore I had to press F12 and boot from another drive. I was able to boot Fedora and then I could re-install the bootloader using the grub2-install
command.