Author Topic: Linux boot from a PCI IDE card?  (Read 1300 times)

lardman

  • Hero Member
  • *****
  • Posts: 4512
    • View Profile
    • http://people.bath.ac.uk/enpsgp/Zaurus/
Linux boot from a PCI IDE card?
« on: September 29, 2004, 10:29:16 am »
Can Linux be made to boot from what I think is called a PCI RAID card (though it just acts as an extra 4 IDE slots)?

I've seen that there's a HowTo (for example here: http://www.tldp.org/HOWTO/Boot+Root+Raid+LILO-4.html)

Does anyone have any experience of this?

Cheers,


Si
C750 OZ3.5.4 (GPE, 2.6.x kernel)
SL5500 OZ3.5.4 (Opie)
Nokia 770
Serial GPS, WCF-12, Socket Ethernet & BT, Ratoc USB
WinXP, Mandriva

stupkid

  • Hero Member
  • *****
  • Posts: 578
    • View Profile
    • http://
Linux boot from a PCI IDE card?
« Reply #1 on: September 29, 2004, 12:22:58 pm »
Whether or not you can boot from a particular device is up to the BIOS on your particular system.  If the BIOS supports booting from the device then it is just a matter of configuring your kernel and initrd image to have the proper hardware support.  At a minimum you could have an IDE device that the /boot file system is on to boot and then your rootfs could be on the RAID array.

Hope this helps,

-Bryan

Zaurus SL-C3200 pdaXii13v2 5.5 / Ambicom WC1100C-CF / Socket Bluetooth Rev G


OpenMoko FreeRunner - Running Tweaked OM2008.x Image

Bundabrg

  • Full Member
  • ***
  • Posts: 183
    • View Profile
Linux boot from a PCI IDE card?
« Reply #2 on: September 30, 2004, 08:35:25 am »
The short answer: Yes you can. I've done it plenty of times.

Longer:  You would almost certainly need an initrd, and it would need to support it. Get the modules and add to the initrd, and bobs your uncle.

Brendan
[img]http://www.worldguard.com.au/brendan-ambi.png\" border=\"0\" class=\"linked-sig-image\" /]

lardman

  • Hero Member
  • *****
  • Posts: 4512
    • View Profile
    • http://people.bath.ac.uk/enpsgp/Zaurus/
Linux boot from a PCI IDE card?
« Reply #3 on: September 30, 2004, 09:12:15 am »
Hmm, I was hoping I could have WinXP on my main HDD (SATA), and then use this RAID card to plug in a standard (read cheap and I already have one) IDE HDD with Linux on it.

I'll have to wait for my PC to turn up and see what I can do with it.

Cheers for the suggestions,


Si
C750 OZ3.5.4 (GPE, 2.6.x kernel)
SL5500 OZ3.5.4 (Opie)
Nokia 770
Serial GPS, WCF-12, Socket Ethernet & BT, Ratoc USB
WinXP, Mandriva

Stubear

  • Hero Member
  • *****
  • Posts: 1164
    • View Profile
    • http://
Linux boot from a PCI IDE card?
« Reply #4 on: September 30, 2004, 11:45:33 am »
If you're not going to run raid for the linux then it's relativly simple.

If you are using grub to boot both XP and linux then just install grub on the SATA (you could make a small 10mb partition for grub and the kernels).

If you want to run raid on the PCI ide then you most probably need initrd unless you are running hardware RAID - probably not as they are expensive.

If you only want to boot from the PCI ide card then you will probably have to change the boot order in your bios - for some reason my PCI ide card comes under SCSI on the boot order in my old phoenix bios.

Stu

P.S. I highly recommend you use grub over lilo - it's prettier and much easier to setup - with the added bonus that you can edit the boot menu during bootup - great if you make a mess up your config file and only find out when you can't boot anymore.
SL-C1000, Hand converted to English with Japanese Input
Running X apps via X/Qt
iRiver USB host cable; Diatec P-Cord usb power cable (extendable); Acro's Reel Cable USB (A to A, B, Mini-B,  & Mini-B 8pin); GreenHouse 1Gb PicoDrive+; 2x256Mb Hagiwara SD cards; 128Mb Transcend CF card; 512Mb PQI CF card; AmbiCom WL1100C-CF 11B WLAN card