Chitika

Tuesday, November 16, 2010

How to Recover Grub Boot Loader in RHEL

  1. Insert the RHEL disc and boot the system with Cdrom support.
  2. Type linux rescue and press enter
  3. After checking and mounting the existing partitions, (if it found them) it will ask you what to do.
  4. Press continue button, it will take you to the shell prompt.
  5. Check the partitions with command “fdisk –l”.
  6. Type “chroot /mnt/sysimage” and press enter.
  7. Type “grub-install /dev/sda” and press enter.
  8. It will finish installing grub loader notifying you that no error.
  9. Type “sync”.
  10. Then type exit twice one after another and reboot.
Good Luck