Monday, February 6, 2012

How To Repair Corrupted Grub of RHEL 5

you want to install linux but some times when you install linux and you get some Bootmanager is corrupted or grub > error when you dual boot your linux with any other windows os .So today i will let you know how you can remove this error and boot your both the OSes. follow this step

1. Insert the dvd(or 1st cd ) of RHEL5.
2. when your linux cd boot your pc and you have a prompt like this

boot:_

Write linux rescue command here

boot: linux rescue

3. Now select the language and other appropriate options

4. Then select continue to mount your partition in read and write mode.

5. After mounting your partition in read and write mode type the command given below when you have sh shell prompt

chroot /mnt/sysimage

6. Now type this command

grub-install /dev/hda (if you have sata hard disk then use sda in place of hda)

7. Type exit

8. Type exit again

9. System will Reboot. ****Enjoy the magic**** 





Favorites