Hi.
I guess this keeps on coming up, but I'll ask anyhow.

I want to boot on a RAID 1 array. I have 3 disks (sda, sdb, sdc), all of which 
work fine. They are all partitioned identically: sd?1 = 8GB, sd?2=128MB 
swap.
I build the system on sda1. All the swap files are used fine.
I build a RAID from sdb1 and sdc1, and also compiled the kernel (2.2.12) 
with all the best versions of stuff, so that it recognises RAID 1 during boot. 
All this worked fine. I copied the entire /  to /dev/md0, and edited 
/etc/lilo.conf so that it loads the new kernel and mounts /dev/md0 as /, and 
also edited /etc/fstab (and the copy on MD0 as well) to mount /dev/md0 as /

Still all fine. I can boot as often as I like, and the system boots using 
/dev/sda, recognises /dev/md0 and then comes up fine, using /dev/md0 as /
So here's the problem: I don't want it to use sda other than the MBR. I tried 
changing /etc/lilo/conf so that it has boot=/dev/md0, and the machine then 
boots up and ignores md0 entirely, not even mounting it as / after the boot.

I heard that lilo now supports RAID devices (lilo v 0.21-10). So can anyone 
tell me how to make it **boot** off the raid device? the Software-RAID 
HOWTO is not very clear (at least, not to me) on this.
Thanks.

P.


Paul
Unix techy

Reply via email to