View previous topic :: View next topic |
Author |
Message |
Goat Tux's lil' helper
Joined: 28 May 2004 Posts: 76
|
Posted: Sat Jun 12, 2004 8:55 am Post subject: adding second hard drive after grub config and full install |
|
|
im trying to add my windows drive into the grub configuration but it wont show up
i added the three lines that it says to put in if you have another os |
|
Back to top |
|
|
Kirigoe Tux's lil' helper
Joined: 10 Jan 2003 Posts: 147 Location: concrete hut, sweden
|
Posted: Sat Jun 12, 2004 9:09 am Post subject: |
|
|
these are the lines in my grub.conf that makes it possible to boot Windows 2000:
Quote: | title=Win2k Professional
root (hd0,0)
chainloader +1
|
you might need to change the "root (hd0,0)" line to point to where your windows boot partition is.
if this doesn't work for you, can you post your grub.conf? _________________ + adopt an unanswered post today!
+ kimono network monitor
+ downshift.org |
|
Back to top |
|
|
Goat Tux's lil' helper
Joined: 28 May 2004 Posts: 76
|
Posted: Sat Jun 12, 2004 9:21 am Post subject: |
|
|
i should have made this more clear, im doing this after i have done a full gentoo install so that i dont have to open my case and switch ide and power cables all the time
its a second hard drive that shows up as hdb when linux is booting
Code: | default 0
timeout 30
splashimage=(hd0,0)/grub/splash.xpm.gz
title=Gentoo Linux 2.4.24
root (hd0,0)
kernel /kernel-2.4.24 root=/dev/hda3
title=Windows XP
rootnoverify (hd1)
chainloader +1 |
|
|
Back to top |
|
|
Serum n00b
Joined: 03 Feb 2003 Posts: 69
|
Posted: Sat Jun 12, 2004 9:38 am Post subject: |
|
|
Try:
rootnoverify (hd1,0) |
|
Back to top |
|
|
Goat Tux's lil' helper
Joined: 28 May 2004 Posts: 76
|
Posted: Sat Jun 12, 2004 9:47 am Post subject: |
|
|
oops im half asleep and forgot to mention i already tryed that
would (hd1,1) do it? or ntfs drives probably dont work like that |
|
Back to top |
|
|
Serum n00b
Joined: 03 Feb 2003 Posts: 69
|
Posted: Sat Jun 12, 2004 9:58 am Post subject: |
|
|
It depends what you did to the drive windows is on.
If you didn't partition it, and formatted it as 1 drive then no hd(1,1) probably won't work.
I've got a question.. did you first install windows and then gentoo?
Or did you put a previous windows disk into the box... what did you actually do? |
|
Back to top |
|
|
Goat Tux's lil' helper
Joined: 28 May 2004 Posts: 76
|
Posted: Sat Jun 12, 2004 10:18 am Post subject: |
|
|
the drive is my original hdd i put another one in my comp and installed gentoo on it with my windows drive disconnected |
|
Back to top |
|
|
Serum n00b
Joined: 03 Feb 2003 Posts: 69
|
Posted: Sat Jun 12, 2004 10:47 am Post subject: |
|
|
So you mounted /boot then you edited /boot/grub/grub.conf saved and unmounted and then rebooted?
If you did it's rather strange that there isn't a line for you winxp boot option. |
|
Back to top |
|
|
Goat Tux's lil' helper
Joined: 28 May 2004 Posts: 76
|
Posted: Sat Jun 12, 2004 10:50 am Post subject: |
|
|
wow im feeling dumb right now i just realised im editing a grub.conf that i accidentally put in just boot not in grub
meh ill deal with it later |
|
Back to top |
|
|
Goat Tux's lil' helper
Joined: 28 May 2004 Posts: 76
|
Posted: Sat Jun 12, 2004 7:38 pm Post subject: |
|
|
okay i edited the right grub.conf and now windoze shows up but it wont boot it hangs with the three lines that i had to add on the screen |
|
Back to top |
|
|
cyrillic Watchman
Joined: 19 Feb 2003 Posts: 7313 Location: Groton, Massachusetts USA
|
Posted: Sat Jun 12, 2004 9:29 pm Post subject: |
|
|
Try this instead.
Code: | title Windows XP
map (hd0) (hd1)
map (hd1) (hd0)
chainloader (hd1,0)+1 |
|
|
Back to top |
|
|
Goat Tux's lil' helper
Joined: 28 May 2004 Posts: 76
|
Posted: Sun Jun 13, 2004 9:28 am Post subject: |
|
|
that did it thanks |
|
Back to top |
|
|
|