Reinstalling grub?

Nigel Henry cave.dnb at tiscali.fr
Tue Oct 10 19:04:14 UTC 2006


On Tuesday 10 October 2006 20:41, Knute Johnson wrote:
> I have WinXP installed on the first hard drive and FC5 on the second.
>  I was using grub as the boot loader but it was destroyed when I had
> to reload Winblows.  I'm sure that I can start FC from a CD and mount
> the second drive but how do I reload grub?  Any pointers would be
> greatly appreciated.
>
> Thanks,
>
> --
> Knute Johnson
> Molon Labe...

Put the 1st FC5 disc in. Choose Linux-rescue. You will be presented with 
harddrive options. Choose the one that has FC5 on it, and you will end up 
with a command prompt. Type. chroot /mnt/sysimage.  Now you can reinstall 
Grub on the Winblows drive. If Winblows is using hda, type. 
grub-install /dev/hda .  If all goes well, Grub should now be installed in 
the MBR of the Winblows drive. Reboot, and you should have Grubs menu back.

Nigel.




More information about the fedora-list mailing list