Tuesday, 17 April 2012

how to reinstall the Grub in rhel 6.X / Centos 6.X

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 /boot/grub/grub.conf file, as additional entries may be needed for GRUB to control additional operating systems.
    Reboot the system.

1 comment:

  1. Great post, you have pointed out some superb details, I will tell my friends that this is a very informative blog thanks.
    IT Company India

    ReplyDelete