-   Slackware (
-   -   Me, my RAID and booting it (

TL_CLD 09-11-2006 01:45 AM

Me, my RAID and booting it
I've managed to install Slackware 10.2 on two harddrives using software RAID 1. It wasn't as hard I could have feared, but there are though a lingering issue: Booting the thing.

What I do is start a regular Slackware install from CD. When I've reached the partition phase I setup my two disks using fdisk, and after having done that I setup the RAID. A quick reboot later and the Slackware installer is able to spot my brand new RAID and everything seems fine.

But when it's time to install LILO, something apparently goes awry: I tell it what to do, but it wont boot later on. It just hangs after BIOS post.

I then boot it from the CD (bare.i root=/dev/md0 noinitrd ro), and setup LILO again. This time I opt for an MBR install (instead of superblock), choose HDA as the place to go and /dev/md0 as my root partition. Things now work, but only as long as there's a disk present on the IDE0 interface. I go through the motions once again, but this time with HDC, and now I can boot from both IDE interfaces.

So basically my setup works. There's just something about it I don't like. Is this really the "right" way to setup a RAID1 system if I want to be able to boot from both IDE interfaces, in case one of the disks die on me?


ps. I feel I should say that I've learned more about Linux software RAID and LILO working 2 days with Slackware, compared to the several years I've been mucking about with Trustix. Awesome! :)

lurko 09-11-2006 07:50 AM

just a couple links my googling came up with:

Booting RAID 1 with standard LILO, and the Software RAID HOWTO, which has details on booting a RAID in the tweaking, tuning and troubleshooting section.

TL_CLD 09-12-2006 09:20 AM

I placed this nifty little thing in lilo.conf:


Let $lilo do it's thing, and voila all is well.

This is good stuff.. :)

All times are GMT -5. The time now is 07:26 AM.