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,



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

  Powered by Linux