View previous topic :: View next topic |
Author |
Message |
freshy98 Apprentice
Joined: 11 Jul 2002 Posts: 274 Location: The Netherlands
|
Posted: Fri Jun 11, 2004 5:06 am Post subject: Windows XP on SiI3112 RAID-0, Gentoo on IDE drive. |
|
|
Here is the deal:
Atm I start Windows XP Pro from my RAID-0 configuration which is on the SiI3112 SATA controller. BIOS starts from SATA first (after floppy) and a IDE drive is hooked up on the Primary IDE controller as Master.
I want to install Gentoo on that IDE drive but I am a bit conserned about the dual boot part since there is still no good RAID support in the 2.6.x kernels, and I don't really like running 2.4.x kernels again.
From what I've read, Grub is a no go (which is a shame) so I have to use LILO. I could start from the IDE drive with LILO and start Windows XP, but there would still be the RAID problem I think.
Or, can I use boot.ini from Windows XP to start Gentoo from it's boot menu?
Any recommendations would be highly appreciated! _________________ Mac Pro single quad 2.8GHz, 6GB RAM, 8800GT. MacBook. Plus way too many SUN/Cobatl/SGI and a lonely Alpha. |
|
Back to top |
|
|
the_sphynx Apprentice
Joined: 19 May 2004 Posts: 156 Location: Thornton, CO
|
Posted: Fri Jun 11, 2004 6:43 am Post subject: |
|
|
I actually just setup a new Dell OptiPlex GX270 with an SATA drive and one IDE drive. I have the Gentoo install on the IDE drive and XP Pro on the SATA drive with no problems. You will have to use LILO as GRUB craps out on boot when referencing the SATA drive. As far as the RAID goes the 2.6 kernel should only see the SATA drives and probably not the controller, but just compile the RAID support into the kernel and see what you get...
I will post my LILO config tomorow when I get into the office and on that box.
The config is pretty tricky to get the XP to boot because in my config (if I remember right) I had to setup=/dev/sda1 to place lilo on the sata mbr and then point the windows image to /dev/sda or something like that...like I said it was tricky but it all works fine now. Words of encouragement are that I have it working and it works very well. I am using the 2.6.7-mm-r2 kernel to boot, but I have booted and run the 2.6.5 kernel on it as well. _________________ Folding@Home User 285941 |
|
Back to top |
|
|
freshy98 Apprentice
Joined: 11 Jul 2002 Posts: 274 Location: The Netherlands
|
Posted: Fri Jun 11, 2004 7:02 am Post subject: |
|
|
I know that single SATA drives work, I ran that way before, but RAID is another story.
But I would like to see your lilo config though. Maybe it can give me idea's. _________________ Mac Pro single quad 2.8GHz, 6GB RAM, 8800GT. MacBook. Plus way too many SUN/Cobatl/SGI and a lonely Alpha. |
|
Back to top |
|
|
the_sphynx Apprentice
Joined: 19 May 2004 Posts: 156 Location: Thornton, CO
|
Posted: Fri Jun 11, 2004 4:26 pm Post subject: |
|
|
Here is the lilo.conf I said that I would post. I hope that this helps you.
Quote: |
boot=/dev/sda
prompt
timeout=50
default=Gentoo-2.6.7-mm
image=/boot/kernel-2.6.6
label=Gentoo_Linux
read-only
root=/dev/hda3
image=/boot/kernel-2.6.7-mm
label=Gentoo-2.6.7-mm
read-only
root=/dev/hda3
other=/dev/sda1
label="Windows_XP_Pro"
|
_________________ Folding@Home User 285941 |
|
Back to top |
|
|
freshy98 Apprentice
Joined: 11 Jul 2002 Posts: 274 Location: The Netherlands
|
Posted: Sat Jun 12, 2004 10:57 pm Post subject: |
|
|
ok, but still.. you have 1 SATA drive and 1 IDE drive, right?
I have 2 SATA drives in RAID 0 and 1 IDE drive.
in linux the drives are shown as /dev/hda for the IDE drive and /dev/hde and /dev/hdg for the SATA drives. 2.6.x does not work well with SATA RAID 0 on a SiI3112 chip.
atm I am trying bootpart and I have extracted the bootsector from the IDE drive and placed that on my C: drive (the RAID 0 config) and edited my boot.ini to load that bootsector. however, when I select to use it in the NT bootloader menu I get thrown back to the menu every time. it does not load Grub. (I decided to use grub here since lilo odid not work too) _________________ Mac Pro single quad 2.8GHz, 6GB RAM, 8800GT. MacBook. Plus way too many SUN/Cobatl/SGI and a lonely Alpha. |
|
Back to top |
|
|
cyrillic Watchman
Joined: 19 Feb 2003 Posts: 7313 Location: Groton, Massachusetts USA
|
Posted: Sun Jun 13, 2004 12:28 am Post subject: |
|
|
As far as the BIOS is concerned, the RAID0 array acts like a single drive. When you have the BIOS configured to boot from the single IDE drive, GRUB will see the drives like this :
(hd0) single IDE drive - Gentoo
(hd1) SATA RAID0 array - Windows
You can easily dual-boot by configuring grub.conf like this.
Code: | default 0
timeout 15
root (hd0,0)
splashimage /boot/grub/splash.xpm.gz
title Gentoo
kernel /boot/vmlinuz
title Windows
map (hd0) (hd1)
map (hd1) (hd0)
chainloader (hd1,0)+1 |
|
|
Back to top |
|
|
freshy98 Apprentice
Joined: 11 Jul 2002 Posts: 274 Location: The Netherlands
|
Posted: Tue Jun 15, 2004 11:27 am Post subject: |
|
|
Do'h! Why didn't I think of this...
GRUB has nothing to do with linux because linux is booted after GRUB is loaded. In a rough way.
I will try it out once I get home again.
Thnx for the thought!
cyrillic wrote: | As far as the BIOS is concerned, the RAID0 array acts like a single drive. When you have the BIOS configured to boot from the single IDE drive, GRUB will see the drives like this :
(hd0) single IDE drive - Gentoo
(hd1) SATA RAID0 array - Windows
You can easily dual-boot by configuring grub.conf like this.
Code: | default 0
timeout 15
root (hd0,0)
splashimage /boot/grub/splash.xpm.gz
title Gentoo
kernel /boot/vmlinuz
title Windows
map (hd0) (hd1)
map (hd1) (hd0)
chainloader (hd1,0)+1 |
|
_________________ Mac Pro single quad 2.8GHz, 6GB RAM, 8800GT. MacBook. Plus way too many SUN/Cobatl/SGI and a lonely Alpha. |
|
Back to top |
|
|
cyrillic Watchman
Joined: 19 Feb 2003 Posts: 7313 Location: Groton, Massachusetts USA
|
Posted: Tue Jun 15, 2004 1:46 pm Post subject: |
|
|
freshy98 wrote: | GRUB has nothing to do with linux because linux is booted after GRUB is loaded. In a rough way. |
Exactly.
Many people miss this point. |
|
Back to top |
|
|
freshy98 Apprentice
Joined: 11 Jul 2002 Posts: 274 Location: The Netherlands
|
Posted: Tue Jun 15, 2004 1:56 pm Post subject: |
|
|
cyrillic wrote: | freshy98 wrote: | GRUB has nothing to do with linux because linux is booted after GRUB is loaded. In a rough way. |
Exactly.
Many people miss this point. |
Well, know you know why I didn't pass the Vulcan acceptation exam. I lacked on logical thinking _________________ Mac Pro single quad 2.8GHz, 6GB RAM, 8800GT. MacBook. Plus way too many SUN/Cobatl/SGI and a lonely Alpha. |
|
Back to top |
|
|
freshy98 Apprentice
Joined: 11 Jul 2002 Posts: 274 Location: The Netherlands
|
Posted: Sun Jun 27, 2004 10:17 pm Post subject: |
|
|
Finally found the time to try it out, and it works perfectly! _________________ Mac Pro single quad 2.8GHz, 6GB RAM, 8800GT. MacBook. Plus way too many SUN/Cobatl/SGI and a lonely Alpha. |
|
Back to top |
|
|
tacker Tux's lil' helper
Joined: 22 Jul 2004 Posts: 85 Location: Offenbach, Germany
|
Posted: Tue Oct 05, 2004 9:01 pm Post subject: |
|
|
Fucking great. This helped me a lot, too. |
|
Back to top |
|
|
|