Tuesday, November 09, 2004

Recovering the GRUB Boot-Loader

I have seen people experiencing problems in recovering the GRUB(Grand Unified Boot Loader) boot loader.This problem occurs when one has to reinstall windows and its setup overwrites the Master Boot Record (MBR), removing the GRUB bootloader which was previously installed in MBR.When this happens this makes your Linux installation inaccessible and makes many users irritated i being one among them :-).Then i found out that recovering Linux under these circumstances was really easy.This is the procedure . Boot from the First Fedora CD, and at the boot prompt issue the Linux rescue command.Now, you would be asked whether to mount the Linux System image under the /mnt/sysimage directory, choose Continue.This would land the user in a root-like hash prompy command line environment.Now give the following Commands

#chroot /mnt/sysimage
#grub-install /mnt/hda --> refers to the Master Boot Record


Post a Comment

<< Home