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
> 

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux