View previous topic :: View next topic |
Author |
Message |
godxzilla n00b
Joined: 19 Sep 2002 Posts: 70 Location: Columbus, OH
|
Posted: Tue Feb 11, 2003 8:56 pm Post subject: dual boot question - |
|
|
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 |
|
|
AkiAki007 Apprentice
Joined: 07 Feb 2003 Posts: 150 Location: New York, NY
|
Posted: Tue Feb 11, 2003 10:17 pm Post subject: |
|
|
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 |
|
|
godxzilla n00b
Joined: 19 Sep 2002 Posts: 70 Location: Columbus, OH
|
Posted: Tue Feb 11, 2003 10:49 pm Post subject: |
|
|
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 |
|
|
swingarm l33t
Joined: 08 Jun 2002 Posts: 627 Location: Northern Colorado
|
Posted: Tue Feb 11, 2003 10:59 pm Post subject: |
|
|
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 |
|
|
godxzilla n00b
Joined: 19 Sep 2002 Posts: 70 Location: Columbus, OH
|
Posted: Tue Feb 11, 2003 11:11 pm Post subject: |
|
|
would it be hd0,0 if its the primary slave? |
|
Back to top |
|
|
herring Apprentice
Joined: 22 Jul 2002 Posts: 187 Location: Norway
|
Posted: Tue Feb 11, 2003 11:16 pm Post subject: |
|
|
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 |
|
|
godxzilla n00b
Joined: 19 Sep 2002 Posts: 70 Location: Columbus, OH
|
Posted: Wed Feb 12, 2003 12:24 am Post subject: |
|
|
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 |
|
|
herring Apprentice
Joined: 22 Jul 2002 Posts: 187 Location: Norway
|
Posted: Wed Feb 12, 2003 12:42 am Post subject: |
|
|
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 |
|
|
Sargonas Apprentice
Joined: 10 Feb 2003 Posts: 213 Location: user@localhost
|
Posted: Wed Feb 12, 2003 1:28 am Post subject: |
|
|
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 |
|
|
godxzilla n00b
Joined: 19 Sep 2002 Posts: 70 Location: Columbus, OH
|
Posted: Thu Feb 13, 2003 2:29 pm Post subject: |
|
|
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 |
|
|
plate Bodhisattva
Joined: 25 Jul 2002 Posts: 1663 Location: Berlin
|
|
Back to top |
|
|
|