Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Multi boot Gentoo + XP
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
dx0r
n00b
n00b


Joined: 02 Aug 2002
Posts: 21

PostPosted: Thu Oct 03, 2002 3:57 pm    Post subject: Multi boot Gentoo + XP Reply with quote

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
View user's profile Send private message
thegarbageman
n00b
n00b


Joined: 28 Apr 2002
Posts: 74
Location: Overland Park, KS

PostPosted: Thu Oct 03, 2002 4:34 pm    Post subject: Reply with quote

It's in the install guide.
Back to top
View user's profile Send private message
dx0r
n00b
n00b


Joined: 02 Aug 2002
Posts: 21

PostPosted: Thu Oct 03, 2002 5:56 pm    Post subject: Reply with quote

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
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 20067

PostPosted: Thu Oct 03, 2002 6:33 pm    Post subject: Reply with quote

Could you post your menu.lst file and partition layout?
_________________
Quis separabit? Quo animo?
Back to top
View user's profile Send private message
dx0r
n00b
n00b


Joined: 02 Aug 2002
Posts: 21

PostPosted: Sat Oct 05, 2002 10:29 am    Post subject: Reply with quote

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
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 20067

PostPosted: Sat Oct 05, 2002 5:47 pm    Post subject: Reply with quote

I think what you might need to use is Grub's map command.
_________________
Quis separabit? Quo animo?
Back to top
View user's profile Send private message
MoonWalker
Guru
Guru


Joined: 04 Jul 2002
Posts: 510

PostPosted: Tue Oct 08, 2002 4:40 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things 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