View previous topic :: View next topic |
Author |
Message |
avieth Veteran
Joined: 17 Sep 2004 Posts: 1945 Location: Canada
|
Posted: Sun Jan 30, 2005 10:39 pm Post subject: Booting Windows XP from Grub |
|
|
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 |
|
|
R!tman Veteran
Joined: 18 Dec 2003 Posts: 1303 Location: Zurich, Switzerland
|
Posted: Sun Jan 30, 2005 10:49 pm Post subject: |
|
|
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 |
|
|
avieth Veteran
Joined: 17 Sep 2004 Posts: 1945 Location: Canada
|
Posted: Sun Jan 30, 2005 11:00 pm Post subject: |
|
|
Nope, still comes up to a GNU GRUB console type thing with
It let's me type commands like reboot, this happens when i try and boot windows. |
|
Back to top |
|
|
Enlight Advocate
Joined: 28 Oct 2004 Posts: 3519 Location: Alsace (France)
|
Posted: Sun Jan 30, 2005 11:01 pm Post subject: |
|
|
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 |
|
|
syg00 l33t
Joined: 23 Aug 2004 Posts: 907 Location: Brisbane, AUS
|
Posted: Sun Jan 30, 2005 11:07 pm Post subject: |
|
|
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 |
|
|
Enlight Advocate
Joined: 28 Oct 2004 Posts: 3519 Location: Alsace (France)
|
Posted: Sun Jan 30, 2005 11:10 pm Post subject: |
|
|
thanks for the pointer, I never had to use map, I quickly edit the post above! |
|
Back to top |
|
|
avieth Veteran
Joined: 17 Sep 2004 Posts: 1945 Location: Canada
|
Posted: Sun Jan 30, 2005 11:16 pm Post subject: |
|
|
Works! Thanks. |
|
Back to top |
|
|
Enlight Advocate
Joined: 28 Oct 2004 Posts: 3519 Location: Alsace (France)
|
Posted: Sun Jan 30, 2005 11:33 pm Post subject: Grub windows xp on second disk / map (solved) |
|
|
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 |
|
|
|