On Mon, 2003-07-21 at 18:36, kcbnac wrote:
> I have Grub installed as bootloader for RH 9, and MS Windows (which 
> launches it's own menu- 98 or XP)  I have to reinstall XP, so how do I 
> make a back-up of my current Grub setup, and restore it once XP is done 
> doing it's damage to the MBR?  Or do I need to do an 'upgrade existing 
> Linux installation' from RH 9 to RH 9 to get it to overwrite the MBR?  
> Thanks!
> 
> Keith Bachman
GRUB keeps its configuration in the /boot directory (often times this is
its own partition) as long as you don't nuke that the config should be
fine.  You will just need a boot disk to be able to get back into the
linux system to re-install GRUB on the MBR.  I don't remember the
commands off the top of my head but I belive they are something along
the lines of the following...
(DON'T ENTER THE STUFF AFTER THE ##, it's a comment)
As root type:

root at yourbox:# grub
grub> find /boot/grub/stage1
grub> root (hd0,0)  ##set hd0,0 to the output of the find command
grub> setup (hd0)
(stuff should output the othe screen)
grub> exit

That should re-install it, just know that GRUB's device syntax differs
from Linux's (hda1=hd0,0 hdb3=hd1,2).

for more info on GRUB, type: info grub

Hope that at least gets you in the right direction.

-- 
The Wandering Dru <dru at druswanderings.net>


_______________________________________________
TCLUG Mailing List - Minneapolis/St. Paul, Minnesota
http://www.mn-linux.org tclug-list at mn-linux.org
https://mailman.real-time.com/mailman/listinfo/tclug-list