Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
dual boot question -
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Duplicate Threads
View previous topic :: View next topic  
Author Message
godxzilla
n00b
n00b


Joined: 19 Sep 2002
Posts: 70
Location: Columbus, OH

PostPosted: Tue Feb 11, 2003 8:56 pm    Post subject: dual boot question - Reply with quote

I have gentoo on a drive that is disconnected (set up as primary master) and im currently running windows XP on my primary master drive.

I want to put the gentoo drive back into service, and dual boot. is there any easy way to do this?
Back to top
View user's profile Send private message
AkiAki007
Apprentice
Apprentice


Joined: 07 Feb 2003
Posts: 150
Location: New York, NY

PostPosted: Tue Feb 11, 2003 10:17 pm    Post subject: Reply with quote

you should be able to do this
set up the gentoo drive as the primary master and the xp drive as the primary slave

then gentoo should boot up, once you're up, depending on if you use LILO or GRUB, just add the appropriate entry into the conf files and reload the bootloader

so, for LILO you would do
other=/dev/hdb1
label="WinXP"

then you'd execute lilo and you're done, and reboot and you should be able to reboot. I don't know GRUB, but I'm sure it's something similar.
Back to top
View user's profile Send private message
godxzilla
n00b
n00b


Joined: 19 Sep 2002
Posts: 70
Location: Columbus, OH

PostPosted: Tue Feb 11, 2003 10:49 pm    Post subject: Reply with quote

ok- ill give that a try. im using grub, but that shouldnt matter, i think i know how to set it up
Back to top
View user's profile Send private message
swingarm
l33t
l33t


Joined: 08 Jun 2002
Posts: 627
Location: Northern Colorado

PostPosted: Tue Feb 11, 2003 10:59 pm    Post subject: Reply with quote

Just for info here's how you insert a Windows boot option into Grub:
Quote:

title=Windows XP
root (hd0,0)
chainloader +1
Back to top
View user's profile Send private message
godxzilla
n00b
n00b


Joined: 19 Sep 2002
Posts: 70
Location: Columbus, OH

PostPosted: Tue Feb 11, 2003 11:11 pm    Post subject: Reply with quote

would it be hd0,0 if its the primary slave?
Back to top
View user's profile Send private message
herring
Apprentice
Apprentice


Joined: 22 Jul 2002
Posts: 187
Location: Norway

PostPosted: Tue Feb 11, 2003 11:16 pm    Post subject: Reply with quote

godxzilla wrote:
would it be hd0,0 if its the primary slave?


hd0,0 = master on first IDE-port
hd1,0 = slave on first IDE-port

so hd1,0 would probably be a better guess
Back to top
View user's profile Send private message
godxzilla
n00b
n00b


Joined: 19 Sep 2002
Posts: 70
Location: Columbus, OH

PostPosted: Wed Feb 12, 2003 12:24 am    Post subject: Reply with quote

ok im in gentoo right now...when I do that, i get the error: filesystem type unknown when trying to boot windows. I would have to go back into it to be sure, but I think it may be ntfs. is that not gonna work? are there any grub options im missing? i can tell that its finding the windows partition, but i get the error..

thanks in advance.
Back to top
View user's profile Send private message
herring
Apprentice
Apprentice


Joined: 22 Jul 2002
Posts: 187
Location: Norway

PostPosted: Wed Feb 12, 2003 12:42 am    Post subject: Reply with quote

godxzilla wrote:
ok im in gentoo right now...when I do that, i get the error: filesystem type unknown when trying to boot windows. I would have to go back into it to be sure, but I think it may be ntfs. is that not gonna work? are there any grub options im missing? i can tell that its finding the windows partition, but i get the error..

thanks in advance.

Try mapping them. Suggestion for working grub.conf (menu.lst)
when gentoo disc is master IDE0 and XP is slave IDE0:

Code:

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

#Don't change your working gentoo-title
#Give you mine hashed
#title=Gentoo
#root (hd0,0)
#kernel /boot/vmlinuz-2.4.20-gentoo root=/dev/hda3

title=Windows XP
map (hd0) (hd1)
map (hd1) (hd0)
root (hd1,0)
rootnoverify (hd1,0)
makeactive
chainloader +1
Back to top
View user's profile Send private message
Sargonas
Apprentice
Apprentice


Joined: 10 Feb 2003
Posts: 213
Location: user@localhost

PostPosted: Wed Feb 12, 2003 1:28 am    Post subject: Reply with quote

herring wrote:


Code:

<snip>
title=Windows XP
map (hd0) (hd1)
map (hd1) (hd0)
root (hd1,0)
rootnoverify (hd1,0)
makeactive
chainloader +1

</snip>


take out the root (hd1,0) this will just cause an error in grub and continue on the the rootnoverify (hd1,0) which overrights previous root* options. Also Im not sure that you need the maps in there at all. Again not sure on that last one.
_________________
I do not consider it an insult, but rather a compliment to be called an agnostic. I do not pretend to know where many ignorant men are sure -- that is all Agnosticism means. - Clarence Darrow
Back to top
View user's profile Send private message
godxzilla
n00b
n00b


Joined: 19 Sep 2002
Posts: 70
Location: Columbus, OH

PostPosted: Thu Feb 13, 2003 2:29 pm    Post subject: Reply with quote

herring, ive seen you post on grub before, and youve been spot on every time. thanks a million. saved me a lot of trouble.

Hope I can help you sometime.


Mike
Back to top
View user's profile Send private message
plate
Bodhisattva
Bodhisattva


Joined: 25 Jul 2002
Posts: 1663
Location: Berlin

PostPosted: Fri Feb 14, 2003 2:26 am    Post subject: Reply with quote

Using GRUB to Dual-Boot Windows on a Second Hard Drive
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Duplicate Threads 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