View previous topic :: View next topic |
Author |
Message |
limewolf Tux's lil' helper
Joined: 13 Aug 2002 Posts: 75 Location: UK
|
Posted: Sat Aug 31, 2002 8:30 pm Post subject: Grub and Windows |
|
|
I hope this is about the right the forum for this one, I have Gentoo working fine across all my machines, just my dual boot machine doesn't seem very happy booting windows after I've installed Gentoo...
Basically, I can boot Gentoo fine, but my Windows XP installation doesn't work. I don't use it much but need it for certain software I don't have for Linux.
My grub menu file is like this:
default 0
timeout 30
splashimage=(hd0,4)/boot/grub/splash.xpm.gz
title=Gentoo Linux
root (hd1,3) # my /boot partition
kernel /boot/bzImage root=/dev/hda1 # my root partition
title=Windows XP
root (hd1,0) # Windows XP FAT 32 drive
chainloader +1
My hardware set up is like this... 2 IBM drives, first one contains grub and one partition (root), second contains...
<FAT32 C></boot><Swap><FAT32 D>
So for grub windows is at (hd1,0), if I've got things right and so the above /should/ work... but it doesn't.
(I guess it's probably a bit of an odd setup, a product of a hardrive faliure and some lazyness on my part.)
Can anyone suggest somthing that might help me, am I missing somthing here, does it sound like it makes sense?
(If you want more info, please just ask.)
Thanks! _________________ Chris Egan |
|
Back to top |
|
|
Zu` l33t
Joined: 26 May 2002 Posts: 716 Location: BE
|
|
Back to top |
|
|
arkane l33t
Joined: 30 Apr 2002 Posts: 918 Location: Phoenix, AZ
|
Posted: Sun Sep 01, 2002 3:27 am Post subject: |
|
|
yeah, mapping is probably the best way to eliminate this issue.
Your booting from hd1 which is hdb. XP has issues with booting off anything but the primary disk. |
|
Back to top |
|
|
limewolf Tux's lil' helper
Joined: 13 Aug 2002 Posts: 75 Location: UK
|
Posted: Sun Sep 01, 2002 9:31 am Post subject: |
|
|
arkane wrote: | yeah, mapping is probably the best way to eliminate this issue.
Your booting from hd1 which is hdb. XP has issues with booting off anything but the primary disk. |
I did think of this one and tried adding...
map (hd1,1) (hd0,0)
...after the 'title' command, but it didn't help, basically grub just gives me a booting windows xp etc message but doesn't print or do anything showing it's even found the windows stuff. This is just the same as before.
I'm finding it a bit odd, like my C drive has been damaged, but mounting it under linux shows it's all there as far as I can tell.
Thanks... Chris. _________________ Chris Egan |
|
Back to top |
|
|
Zu` l33t
Joined: 26 May 2002 Posts: 716 Location: BE
|
Posted: Sun Sep 01, 2002 11:37 am Post subject: |
|
|
limewolf wrote: | arkane wrote: | yeah, mapping is probably the best way to eliminate this issue.
Your booting from hd1 which is hdb. XP has issues with booting off anything but the primary disk. |
I did think of this one and tried adding...
map (hd1,1) (hd0,0)
Thanks... Chris. |
map is used for switching drives virtually, not partitions!
Read about it here:
What you need to add at your XP entry is:
Code: |
map (hd0) (hd1)
map (hd1) (hd0)
|
So your /boot/grub/menu.lst has to be something like this (I didn't adjust the Gentoo entry):
Code: |
default 0
timeout 30
splashimage=(hd0,4)/boot/grub/splash.xpm.gz
title=Gentoo Linux
root (hd1,3)
kernel /boot/bzImage root=/dev/hda1
title=Windows XP
map (hd0) (hd1)
map (hd1) (hd0)
root (hd1,0)
chainloader +1
|
|
|
Back to top |
|
|
|
|
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
|
|