On Tue, 2007-04-10 at 17:32 +0200, A. den Oudsten wrote:
> Hello
> I have Opensuse 10.2 on one harddisk and XP on another one and Grub to 
> start and make my choice.
> What should I care for while I have to re-install XP?
> How do I get back the Grub opening-screen?
> 
> TIA
> 
> André den Oudsten

Well that's pretty simple to solve,

first make sure the harddisk containing SUSE is set as the master and
the Windows drive as slave (either you use a map as i will describe in
next step, already have it installed or switch HD manually). Make sure
the computer is going to boot from grub located on master disk.

Secondly add a entry in your menu.lst file for windows (located
at /boot/grub/menu.lst) something like this:

title Windows yada version
map (hd0) (hd1)
map (hd1) (hd0)
makeactive
rootnoverify (hd1)
chainloader +1

Just be sure to replace the rootnoverify partition with the correct one,
(this will probably be Ok if you only got windows on secondary drive).

And now as an added bonus you have windows on a slave drive witch mean
that he wont be able to screw around with the drive containing grub MBR
upon reinstall. So do those step first then you can go and install
Windows normally, to be on the safe side you might want to unplug the
drive with Linux on it, but it shouldn't be necessary.

If at any point you manage to let Windows overwrite the bootloader you
can use SUSE Cd1 recovery mode to reinstall it.

-- 
"Why can't humans just reboot instead of sleeping, so much wasted cycles" 
-Zombie Coder.
Jonathan Arsenault - <[EMAIL PROTECTED]> - <http://jarpack.net>

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to