Re: Reinstalling grub?

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

 



Knute Johnson wrote:
Knute Johnson wrote:
How about giving Super Grub a try.  It can be found here:
http://adrian15.raulete.net/grub/tiki-index.php
Looks like a good answer for all of us that are having problems with
windows and Linux dual booting.
Peter
Thanks Peter, I'll take a look.

If you haven't got that problem resolved yet, I have the following printed and taped inside my Windows/FC5 box. This worked on an old system with 2 IDE drives. It also works on a newer system with 3 SCSI and no IDE drives. Hope this helps.


Recovery from a screwed MBR (Install GRUB)

1. Boot with a rescue CD
   Go through the obligatory BS; network not needed
2. Once rescue finds Linux, hit OK. Do NOT do the chroot.
        Run grub. Then, from the grub> prompt:
   a. If /boot is an integral part of the / partition:
      grub> find /boot/grub/stage1
                         -or-
   b. If /boot is in a separate partition:
      grub> find /grub/stage1
                   -in either case-
   Grub answers with drive and partition: (hd1,0)
3. Set the root for grub:
   grub> root (hd1,0) (or whatever returned above)
4. Write the MBR on the 1st drive
   grub> setup (hd0)
   (grub will print a bunch of crap, double-checking, and install itself.)
5. Remove the rescue CD and reboot.

Robert:

Is there a step missing? That all works but it still boots WinXP not grub.

Nothing is missing as far as writing the GRUB loader to the MBR but those steps assume that grub.conf is intact. (Which it should be if
nothing has happened except re-installing WinXP.)


Thanks,


--
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