Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
adding second hard drive after grub config and full install
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
Goat
Tux's lil' helper
Tux's lil' helper


Joined: 28 May 2004
Posts: 76

PostPosted: Sat Jun 12, 2004 8:55 am    Post subject: adding second hard drive after grub config and full install Reply with quote

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
View user's profile Send private message
Kirigoe
Tux's lil' helper
Tux's lil' helper


Joined: 10 Jan 2003
Posts: 147
Location: concrete hut, sweden

PostPosted: Sat Jun 12, 2004 9:09 am    Post subject: Reply with quote

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
View user's profile Send private message
Goat
Tux's lil' helper
Tux's lil' helper


Joined: 28 May 2004
Posts: 76

PostPosted: Sat Jun 12, 2004 9:21 am    Post subject: Reply with quote

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


Joined: 03 Feb 2003
Posts: 69

PostPosted: Sat Jun 12, 2004 9:38 am    Post subject: Reply with quote

Try:
rootnoverify (hd1,0)
Back to top
View user's profile Send private message
Goat
Tux's lil' helper
Tux's lil' helper


Joined: 28 May 2004
Posts: 76

PostPosted: Sat Jun 12, 2004 9:47 am    Post subject: Reply with quote

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


Joined: 03 Feb 2003
Posts: 69

PostPosted: Sat Jun 12, 2004 9:58 am    Post subject: Reply with quote

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
View user's profile Send private message
Goat
Tux's lil' helper
Tux's lil' helper


Joined: 28 May 2004
Posts: 76

PostPosted: Sat Jun 12, 2004 10:18 am    Post subject: Reply with quote

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


Joined: 03 Feb 2003
Posts: 69

PostPosted: Sat Jun 12, 2004 10:47 am    Post subject: Reply with quote

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
View user's profile Send private message
Goat
Tux's lil' helper
Tux's lil' helper


Joined: 28 May 2004
Posts: 76

PostPosted: Sat Jun 12, 2004 10:50 am    Post subject: Reply with quote

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
View user's profile Send private message
Goat
Tux's lil' helper
Tux's lil' helper


Joined: 28 May 2004
Posts: 76

PostPosted: Sat Jun 12, 2004 7:38 pm    Post subject: Reply with quote

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


Joined: 19 Feb 2003
Posts: 7313
Location: Groton, Massachusetts USA

PostPosted: Sat Jun 12, 2004 9:29 pm    Post subject: Reply with quote

Try this instead.
Code:
title Windows XP
map (hd0) (hd1)
map (hd1) (hd0)
chainloader (hd1,0)+1
Back to top
View user's profile Send private message
Goat
Tux's lil' helper
Tux's lil' helper


Joined: 28 May 2004
Posts: 76

PostPosted: Sun Jun 13, 2004 9:28 am    Post subject: Reply with quote

that did it thanks :D
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing 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