Sharing Knowledge | System Admin Articles

Reinstall Grub in Linux



Boot the server using the Linux CD and Type "linux rescue" on the boot prompt.

Once you get the Shell Prompt, Now follow the steps:

# chroot /mnt/sysimage

Now issue the command "grub-install <your_primary_drive>"
 
For Example:
    
# grub-install /dev/sda

Now the grub will be reinstalled in the primary hard disk.

Please post your comments.


Labels: Linux, Quick HOWTO

My Profile PhotoAbout the Author

I'm Parthiban, An UNIX System Admin by Profession. I'm Experienced in Linux/Unix System Administration and Scripting. I have done lot of work on the infrastructure Mgmt side in Linux, UNIX and Windows system administration, Hardware, Storage and Data center. I'm blogging since 2008.
Follow Me On Twitter or On Facebook

0 Comments for "Reinstall Grub in Linux"

What do you think about this Article? Add your Opinion..!

Back To Top