Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
installing windows on a second hard drive.
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
ckwall
Apprentice
Apprentice


Joined: 31 May 2002
Posts: 163

PostPosted: Wed Jul 03, 2002 4:42 am    Post subject: installing windows on a second hard drive. Reply with quote

Ihave Gentoo on my 40 gig HD. I have added a 4 gig HD to meet my needs for one program that Ineed for work. How do Iset Grub up to boot also to windows?

Here is my current menu.lst including what I have added for Win. Please advise.

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

title=Gentoo Linux
root (hd0,0)
kernel /boot/bzImage root=/dev/hda3
hdd=scsi

title=Windows
root (hd1,0)
chainloader +1
Back to top
View user's profile Send private message
fghellar
Bodhisattva
Bodhisattva


Joined: 10 Apr 2002
Posts: 856
Location: Porto Alegre, BR

PostPosted: Wed Jul 03, 2002 5:10 am    Post subject: Re: installing windows on a second hard drive. Reply with quote

First, I'd seriously recommend that you swap those disks, leaving windows as hd0.

Then, put this in your menu.lst:

Code:
default 0
timeout 5
splashimage=(hd1,0)/boot/grub/splash.xpm.gz

title=Gentoo Linux
root (hd1,0)
kernel /boot/bzImage root=/dev/hd(b,c)3 hdd=scsi             <-- pick up the right one here!

title=Windows
root (hd0,0)                                                 <-- use rootnoverify (hd0,0) if it's ntfs
chainloader +1

_________________
| www.gentoo.org | www.tldp.org | www.google.com |
Back to top
View user's profile Send private message
delta407
Bodhisattva
Bodhisattva


Joined: 23 Apr 2002
Posts: 2876
Location: Chicago, IL

PostPosted: Wed Jul 03, 2002 5:18 am    Post subject: Re: installing windows on a second hard drive. Reply with quote

fghellar wrote:
First, I'd seriously recommend that you swap those disks, leaving windows as hd0.


I second that motion. Windows doesn't like to (and often refuses to) boot off of non-first disks, so it's not only strongly recommended it may even be required.

Beyond that, well, you should be all set.
_________________
I don't believe in witty sigs.
Back to top
View user's profile Send private message
ckwall
Apprentice
Apprentice


Joined: 31 May 2002
Posts: 163

PostPosted: Wed Jul 03, 2002 5:22 am    Post subject: Reply with quote

How would I go about changing the drives arround. Are you talking about making the windows drive master, and linux slave? I am a newbie, so talk to me like i'm three.
Back to top
View user's profile Send private message
delta407
Bodhisattva
Bodhisattva


Joined: 23 Apr 2002
Posts: 2876
Location: Chicago, IL

PostPosted: Wed Jul 03, 2002 5:25 am    Post subject: Reply with quote

Yes, switching jumpers ought to work for you, though the Windows install will wipe out Grub. You also have the option of using the map keyword, where you could leave the disks as-is and let Grub swap them in software; all told, Windows can't tell the difference.

So, you could either switch the drives around or add the following to the Windows block:
Code:
map (hd0) (hd1)
map (hd1) (hd0)

_________________
I don't believe in witty sigs.
Back to top
View user's profile Send private message
ckwall
Apprentice
Apprentice


Joined: 31 May 2002
Posts: 163

PostPosted: Wed Jul 03, 2002 5:28 am    Post subject: Reply with quote

So if i go the rout of mapping the drives, rather than swapping jumpers, will that leave grub alone?

Where do i put the mapping?
Back to top
View user's profile Send private message
delta407
Bodhisattva
Bodhisattva


Joined: 23 Apr 2002
Posts: 2876
Location: Chicago, IL

PostPosted: Wed Jul 03, 2002 5:34 am    Post subject: Reply with quote

Adding those two lines under the "chainloader" command ought to do the trick, no jumper or cable swapping.
_________________
I don't believe in witty sigs.
Back to top
View user's profile Send private message
ckwall
Apprentice
Apprentice


Joined: 31 May 2002
Posts: 163

PostPosted: Wed Jul 03, 2002 5:46 am    Post subject: Reply with quote

Thank you. That worked out very nicely. I appreciate your help and timely replies.
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