How To install grub.
If you have corrputed grub, you can install it using the follwing instructions.
Pre-requisite
1. Access to OS boot image or CD.
2. Access to console if virtual environment.
Steps
1. Boot your system using your boot (1st cd/DVD/Image) image.
2. Boot your system and go to rescue mode
linux rescue
Note: Make sure you have same version of OS copy that of the installed OS.
3. Just follow the prompt.
The rescue environment will try to find the Linux installation and mount it under /mnt/sysimage.
Your root fs is mounted at /mnt/sysimage and cd to it.
# cd chroot /mnt/sysimage
if you know your disk, just run the grub install command.
grub-install /dev/sda
exit from the prmpt and boot the system.
9. System will Reboot !!! enjoy
If you have corrputed grub, you can install it using the follwing instructions.
Pre-requisite
1. Access to OS boot image or CD.
2. Access to console if virtual environment.
Steps
1. Boot your system using your boot (1st cd/DVD/Image) image.
2. Boot your system and go to rescue mode
linux rescue
Note: Make sure you have same version of OS copy that of the installed OS.
3. Just follow the prompt.
The rescue environment will try to find the Linux installation and mount it under /mnt/sysimage.
Your root fs is mounted at /mnt/sysimage and cd to it.
# cd chroot /mnt/sysimage
if you know your disk, just run the grub install command.
grub-install /dev/sda
exit from the prmpt and boot the system.
9. System will Reboot !!! enjoy
No comments:
Post a Comment