Re: Reinstalling grub?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I had the same problem some time before. This is the sequence of actions that helped me to restoer grub:
1. Boot from Fedora CD/DVD in resque mode. Your fedora partition on HDD will be mounted under /mnt/sysimage.
2. Copy all files related to grub (I found them as *grub*) from /mnt/sysimage/sbin to /sbin (because you are loaded from CD)
3. Check file /mnt/sysimage/boot/grub/grub.conf to have correct values for your partitions
4. Execute command 
/sbin/grub-install --root-directory=/mnt/sysimage
5. Reboot system

BR,
Fuzzy

> On 10/11/06, Knute Johnson <knute@xxxxxxxxxxx> wrote:
> >On 10/10/06, Knute Johnson <knute@xxxxxxxxxxx> 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...>>>>>> -->> fedora-list mailing list>> fedora-list@xxxxxxxxxx
> >> To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list>>>Hi Knute Johnson!>>Some other possible solutions;
> >>1. Make the FC5 HDD the bootable drive and simpley place XP in the menu.>>2. Use the XP boot loader to boot to FC5.I'm curious how you would do that?Thanks,
> Yeah this can be done.  1. You need to have the bootloader (Grub) installed on the MBR of boot partition (which would contain /boot)2. Make an image of MBR of this partition. (you could use dd and get the first 512 bytes [bs=512] )
> 3. Copy this image to your win-xp and add an entry for this in boot.ini (if i am right)Now win-xp bootloader would chain-load (?) the linux bootloader. 
> --Knute JohnsonMolon Labe...--fedora-list mailing listfedora-list@xxxxxxxxxxxx unsubscribe: 
> https://www.redhat.com/mailman/listinfo/fedora-list
> 


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux