View previous topic :: View next topic |
Author |
Message |
dx0r n00b
Joined: 02 Aug 2002 Posts: 21
|
Posted: Thu Oct 03, 2002 3:57 pm Post subject: Multi boot Gentoo + XP |
|
|
Hello. I wan't grub to display both my Windows XP disk and my Gentoo disk. Now it only displays Gentoo. I've done some experments but none of them worked.
Master: Gentoo with Grub
Slave: Windows XP
What shall I add to menu.lst for this to work?
Thanks. |
|
Back to top |
|
|
thegarbageman n00b
Joined: 28 Apr 2002 Posts: 74 Location: Overland Park, KS
|
Posted: Thu Oct 03, 2002 4:34 pm Post subject: |
|
|
It's in the install guide. |
|
Back to top |
|
|
dx0r n00b
Joined: 02 Aug 2002 Posts: 21
|
Posted: Thu Oct 03, 2002 5:56 pm Post subject: |
|
|
Yepp, and I have followed it and it still doesnt work. Is it correct to change the partition to:
root (hd1,0)
When I boot it says: Boot partition unknown and nothing more happens.
Thanks. |
|
Back to top |
|
|
pjp Administrator
Joined: 16 Apr 2002 Posts: 20067
|
Posted: Thu Oct 03, 2002 6:33 pm Post subject: |
|
|
Could you post your menu.lst file and partition layout? _________________ Quis separabit? Quo animo? |
|
Back to top |
|
|
dx0r n00b
Joined: 02 Aug 2002 Posts: 21
|
Posted: Sat Oct 05, 2002 10:29 am Post subject: |
|
|
Of course.
Here's my fstab
Code: |
/dev/hda1 /boot ext3 noauto,noatime 1 2
/dev/hda3 / ext3 noatime 0 1
/dev/hda2 none swap sw 0 0
/dev/cdroms/cdrom0 /mnt/cdrom iso9660 noauto,ro 0 0
proc /proc proc defaults 0 0
/dev/hdb1 /mnt/winxp ntfs
|
And here's my menu.lst
Code: |
default 0
timeout 10
splashimage=(hd0,0)/boot/grub/splash.xpm.gz
title=Gentoo Linux
root (hd0,0)
kernel /boot/bzImage root=/dev/hda3 hdc=ide-scsi
title=Windows XP
root (hd1,0)
chainloader +1
|
|
|
Back to top |
|
|
pjp Administrator
Joined: 16 Apr 2002 Posts: 20067
|
Posted: Sat Oct 05, 2002 5:47 pm Post subject: |
|
|
I think what you might need to use is Grub's map command. _________________ Quis separabit? Quo animo? |
|
Back to top |
|
|
MoonWalker Guru
Joined: 04 Jul 2002 Posts: 510
|
Posted: Tue Oct 08, 2002 4:40 pm Post subject: |
|
|
Yes instead of
Quote: | title=Windows XP
root (hd1,0)
chainloader +1
|
put
Code: |
title=Windows XP
map (hd0) (hd1)
map (hd1) (hd0)
rootnoverify (hd1,0)
chainloader +1
|
This works for me, with one problem though. I have 2 partitions on my windows drive (C: and D where D: is just for data storage etc. What happens is a "gost drive" for is created as D: being identical with C: except it's "unformated" and my D: partition show up as F: after the CD which gets E:
Would be interesting to hear if someone else experiencing this or it may just be a product of the disks current state. Hopefully a reformat and reinstall would clear this. Right now I merely test to have the right "structure" set up. I want to have my Gentoo/Grub disk there all time, but be able to change the windows disk sitting in a removable rack. _________________ /Joakim
Living on earth is expensive, but it includes a free trip around the sun
every year. |
|
Back to top |
|
|
|