Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Setting grub 1

Status
Not open for further replies.

franklin97355

Technical User
Jul 11, 2002
3,753
US
OK, I've done this before but things seem to have changed these days. I just installed SuSE 10.0 on it's own HD and moved the xp hd to the slave. Grub has a option for windows but it just throws up a screen with chainloader +1 and stops. I went to the /etc/grub.conf but it does not look like what I remembered.
Code:
setup --stage2=/boot/grub/stage2 (hd0, 1) (hd0, 1)
setup --stage2=/boot/grub/stage2 (hd0) (hd0, 1)
quit
I think I know what I have to insert
Code:
rootnoverify (hd1,0)
makeactive
chainloader +1
boot
but where is the right file?
 
Thanks, that was what I was looking for. Seems to me that used to be in grub.conf. I will boot again and see what I get (I'm on the system now so it wasn't a big stretch to change it. Again, thanks.
 
Well, I need to refine my syntax for the windows boot as it didn't like the rootnoverify and bombed. But I'm on the right track.
 
OK, I think I have it, at least it worked from the edit menu.
You have to map the drives and then run the chainloader since xp will only boot if it is the first drive.
Code:
map (hd0,1) (hd1,0)
map (hd1,0) (hd0,1)
rootnoverify (hd1,0)
makeactive
chainloader +1

The answer has always been 42
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top