Re: Woody root on RAID and 2.4.17
>Has anyone successfully built a woody system with root fs on software
>RAID and kernel 2.4 ?
As a matter of fact I just spent last weekend doing this
very same thing. The HOWTOS that are floating around
out there are some what stale. To find out the
real story I had to load the lilo-22.1 source code
and read the README.raid1 that comes with the source.
I am using ATA drives, but I have attached my (trimed)
lilo.conf file. The key is the 'raid-extra-boot'
line.
Good Luck,
--John
hoyt@zoiedog.com
/dev/md0 - /boot
/dev/md1 - swap
/dev/md2 - root
---------------------- >8 ------------------------------- 8< ------------------
># Support LBA for large hard disks.
>#
>lba32
>
># Specifies the boot device. This is where Lilo installs its boot
># block. It can be either a partition, or the raw device, in which
># case it installs in the MBR, and will overwrite the current MBR.
>#
>boot=/dev/md0
>raid-extra-boot = "/dev/hdi,/dev/hde"
>
># Specifies the device that should be mounted as root. (`/')
>#
>root=/dev/md2
>
># Installs the specified file as the new boot sector
>#
>install=/boot/boot.b
>
># Specifies the location of the map file
>#
>map=/boot/map
>
># Specifies the number of deciseconds (0.1 seconds) LILO should
># wait before booting the first image.
>#
>delay=20
>
>prompt
>timeout=100
>
># Specifies the VGA text mode at boot time. (normal, extended, ask, <mode>)
>#
># vga=ask
># vga=9
>#
>vga=normal
>
># Kernel command line options that apply to all installed images go
># here. See: The `boot-prompt-HOWO' and `kernel-parameters.txt' in
># the Linux kernel `Documentation' directory.
>#
># append=""
>
># Boot up Linux by default.
>#
>default=Linux2417
>
>image=/boot/vmlinuz-2.4.17
> label=Linux2417
> read-only
Reply to: