View previous topic :: View next topic |
Author |
Message |
danatomic n00b
Joined: 17 Sep 2003 Posts: 3
|
Posted: Wed Sep 17, 2003 10:57 pm Post subject: Dual Boot Possible? -> linux = hda, Win2K3 = RAID |
|
|
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 |
|
|
cyrillic Watchman
Joined: 19 Feb 2003 Posts: 7313 Location: Groton, Massachusetts USA
|
Posted: Thu Sep 18, 2003 1:42 am Post subject: |
|
|
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 |
|
|
danatomic n00b
Joined: 17 Sep 2003 Posts: 3
|
Posted: Thu Sep 18, 2003 2:06 am Post subject: |
|
|
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 |
|
|
cyrillic Watchman
Joined: 19 Feb 2003 Posts: 7313 Location: Groton, Massachusetts USA
|
Posted: Thu Sep 18, 2003 3:04 am Post subject: |
|
|
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 |
|
|
danatomic n00b
Joined: 17 Sep 2003 Posts: 3
|
Posted: Thu Sep 18, 2003 6:09 am Post subject: |
|
|
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 |
|
|
cyrillic Watchman
Joined: 19 Feb 2003 Posts: 7313 Location: Groton, Massachusetts USA
|
Posted: Fri Sep 19, 2003 12:07 am Post subject: |
|
|
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 |
|
|
|