Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Booting Windows XP from Grub
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
avieth
Veteran
Veteran


Joined: 17 Sep 2004
Posts: 1945
Location: Canada

PostPosted: Sun Jan 30, 2005 10:39 pm    Post subject: Booting Windows XP from Grub Reply with quote

Here's my grub.conf file:

Code:

default 0
timeout 3
splashimage=(hd0,0)/grub/splash.xpm.gz

title=Gentoo Linux 2.6.9
root (hd0,0)
kernel /kernel-2.6.9-gentoo root=/dev/hdb3 video=vesafb

title=Windows XP
root (hd1,0)
makeactive
chainloader +1


My gentoo is on the first disk, XP on the second, I've also tried rootnoverify where root is, but that didn't work either. When I try and boot XP, it doesn't work. I need some help.
Back to top
View user's profile Send private message
R!tman
Veteran
Veteran


Joined: 18 Dec 2003
Posts: 1303
Location: Zurich, Switzerland

PostPosted: Sun Jan 30, 2005 10:49 pm    Post subject: Reply with quote

In my grub.conf it reads
Code:
title=Windows XP
root (hd0,3)
chainloader (hd0,3)+1


So maybe try
Code:
title=Windows XP
root (hd1,0)
chainloader (hd1,0)+1

instead of your old one.
Back to top
View user's profile Send private message
avieth
Veteran
Veteran


Joined: 17 Sep 2004
Posts: 1945
Location: Canada

PostPosted: Sun Jan 30, 2005 11:00 pm    Post subject: Reply with quote

Nope, still comes up to a GNU GRUB console type thing with

Code:

grub >


It let's me type commands like reboot, this happens when i try and boot windows.
Back to top
View user's profile Send private message
Enlight
Advocate
Advocate


Joined: 28 Oct 2004
Posts: 3519
Location: Alsace (France)

PostPosted: Sun Jan 30, 2005 11:01 pm    Post subject: Reply with quote

In my opinion, the problem is that XP should think that it is on the first hard disk, using map in your grub.conf should fix this problem :

Code:
title=Windows XP

map (hd0) (hd1)
map (hd1) (hd0)

root (hd1,0)
makeactive
chainloader +1


edit : seems that root should still be on hd1,0


Last edited by Enlight on Sun Jan 30, 2005 11:11 pm; edited 2 times in total
Back to top
View user's profile Send private message
syg00
l33t
l33t


Joined: 23 Aug 2004
Posts: 907
Location: Brisbane, AUS

PostPosted: Sun Jan 30, 2005 11:07 pm    Post subject: Reply with quote

Enlight wrote:
note that now, root is set on (hd0,0)

Allow me to disagree on this point.
The mapping is o.k., but the "root" directive is for grub itself - I think you'll find it still needs to be (hd1,0)
Back to top
View user's profile Send private message
Enlight
Advocate
Advocate


Joined: 28 Oct 2004
Posts: 3519
Location: Alsace (France)

PostPosted: Sun Jan 30, 2005 11:10 pm    Post subject: Reply with quote

thanks for the pointer, I never had to use map, I quickly edit the post above!
Back to top
View user's profile Send private message
avieth
Veteran
Veteran


Joined: 17 Sep 2004
Posts: 1945
Location: Canada

PostPosted: Sun Jan 30, 2005 11:16 pm    Post subject: Reply with quote

Works! Thanks.
Back to top
View user's profile Send private message
Enlight
Advocate
Advocate


Joined: 28 Oct 2004
Posts: 3519
Location: Alsace (France)

PostPosted: Sun Jan 30, 2005 11:33 pm    Post subject: Grub windows xp on second disk / map (solved) Reply with quote

Could you please edit your title in a way like this : Grub windows xp on second disk / map (solved)

This could help people who will have the same problem to perform better in their search.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum