Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

19.1.2.1. Reinstalling the Boot Loader

In many cases, the GRUB boot loader can mistakenly be deleted, corrupted, or replaced by other operating systems.

The following steps detail the process on how GRUB is reinstalled on the master boot record:

Boot the system from an installation boot medium.
Type linux rescue at the installation boot prompt to enter the rescue environment.
Type chroot /mnt/sysimage to mount the root partition.
Type /sbin/grub-install bootpart to reinstall the GRUB boot loader, where bootpart is the boot partition (typically, /dev/sda).
Review the /etc/grub.d/10_linux file, as additional entries may be needed in the /etc/grub.d/40_custom for GRUB to control additional operating systems.
Reboot the system.

source -> https://docs.fedoraproject.org/en-US/Fedora/17/html/Installation_Guide/ap-rescuemode.html#s1-rescuemode-boot