Reinstall the Boot Loader on Redhat
Posted by adminJan 13
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 rescueat the installation boot prompt to enter the rescue environment. -
Type
chroot /mnt/sysimageto mount the root partition. -
Type
/sbin/grub-install /dev/hdato reinstall the GRUB boot loader, where/dev/hdais the boot partition. -
Review the
/boot/grub/grub.conffile, as additional entries may be needed for GRUB to control additional operating systems. -
Reboot the system.
4 comments
You must be logged in to post a comment.