Reinstall Corrupted Bootloader

Overview

Boot RHEL into the Rescue Mode

# chroot /mnt/sysimage

 

Reinstall Corrupted Bootloader using grub-install

# grub-install –root-directory=/ /dev/sda

Reinstall Corrupted Bootloader from the grub Shell

# grub

grub> root (hd0,0)

grub> setup (hd0)

6. Select Reboot to restart the system

 

Install a Lost or Corrupted System File

# cp /bin/mount /mnt/sysimage/bin

# ls -l /mnt/sysimage/bin

Leave a Reply

Your email address will not be published. Required fields are marked *