Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Dual Boot Possible? -> linux = hda, Win2K3 = RAID
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
danatomic
n00b
n00b


Joined: 17 Sep 2003
Posts: 3

PostPosted: Wed Sep 17, 2003 10:57 pm    Post subject: Dual Boot Possible? -> linux = hda, Win2K3 = RAID Reply with quote

I run Windows Server 2003 on my Promise FastTrakTX 2000. I dont have any harddrives plugged into my IDE sockets on my motherboard, but I have an extra drive that I want to hook up & run Gentoo on.

My question is this: How can I configure GRUB to let me boot to my RAID device when I want to run windows? I dont care about actually reading data from the array from linux, I just want to be able to boot to it.

Any assistance would be great. Thanks
Dan
Back to top
View user's profile Send private message
cyrillic
Watchman
Watchman


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

PostPosted: Thu Sep 18, 2003 1:42 am    Post subject: Reply with quote

GRUB does not need any special configuration to boot from your array. If you have the BIOS set to boot from the array, GRUB will see it as (hd0). You can test this using a GRUB floppy.
Code:
grub> chainloader (hd0,0)+1
grub> boot

This should boot your Windows installation (assuming it is on the first partition of the array).
Back to top
View user's profile Send private message
danatomic
n00b
n00b


Joined: 17 Sep 2003
Posts: 3

PostPosted: Thu Sep 18, 2003 2:06 am    Post subject: Reply with quote

Nice, but what happens if I install a HD on my IDE controller? Would it not then become hd0?

I was hoping to do this so I wouldnt have to make any alterations to my raid volums at all, including installing grub there.

Thanks
Back to top
View user's profile Send private message
cyrillic
Watchman
Watchman


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

PostPosted: Thu Sep 18, 2003 3:04 am    Post subject: Reply with quote

danatomic wrote:
Nice, but what happens if I install a HD on my IDE controller? Would it not then become hd0?

Normally yes, but if your BIOS allows you to boot from the array ahead of the regular IDE drive, then the array would still be (hd0). With GRUB, the drive numbers directly follow the BIOS's boot order, so the drive you are booting from is always (hd0).
Back to top
View user's profile Send private message
danatomic
n00b
n00b


Joined: 17 Sep 2003
Posts: 3

PostPosted: Thu Sep 18, 2003 6:09 am    Post subject: Reply with quote

Ok, I see. So then if I move my array to boot after my IDE drives then it would become hd1?

Considering that I will be installing a regular IDE drive to install linux on, I just have to configure GRUB to boot to hd1 for windows?
Back to top
View user's profile Send private message
cyrillic
Watchman
Watchman


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

PostPosted: Fri Sep 19, 2003 12:07 am    Post subject: Reply with quote

Windows only wants to boot from the first harddrive, but GRUB's map command can be used to trick the Windows bootloader into thinking it is on the first drive like this.
Code:
title Windows
map (hd0) (hd1)
map (hd1) (hd0)
chainloader (hd1,0)+1
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