Hi,
I've been trying to get Lilo to work with Linux software RAID-1. I'm
using the patches from Richard Bollinger's post from 5/4/2000, and
things almost work. I can use lilo to update the boot sector and
maps, but lilo will not boot unless I enter a valid kernel label at
the boot time lilo prompt.
When I run lilo it appears to update the boot sector and maps;
however, after rebooting the lilo prompt appears, followed after the
timeout period by the message "Error 0x80". The lilo prompt then
reappears, and the pattern repeats. At any point while the lilo
prompt is being displayed I can enter a valid lilo label and the
corresponding kernel will boot. Pressing <TAB> at the lilo prompt
does not list the configured labels. Running 'lilo -R labelname'
before rebooting doesn't help.
While I'm aware that the 0x80 error is supposed to refer to "Disk
timeout", I'm confident both disks in my array are up and running.
My lilo.conf:
boot=/dev/md0
root=/dev/md0
install=/boot/boot.b
prompt
timeout=50
image=/boot/vmlinuz-2.2.14smp
label=2.2.14
read-only
I'm using the raid-2.2.14-B1 patches to a clean 2.2.14 source tree,
and lilo version 21 with patches from:
http://www.elliott-turbo.com/lilo/lilo.raid1
http://www.elliott-turbo.com/lilo/lilo.raid1.also
Running 'lilo -v -v' I get:
LILO version 21, Copyright 1992-1998 Werner Almesberger
boot = /dev/sdb, map = /boot/map.0811
Reading boot sector from /dev/sdb
Merging with /boot/boot.b
Secondary loader: 8 sectors.
Boot image: /boot/vmlinuz-2.2.14smp
Setup length is 4 sectors.
Mapped 1298 sectors.
Added 2.2.14 *
/boot/boot.0810 exists - no backup copy made.
Map file size: 10240 bytes.
Writing boot sector.
boot = /dev/sda, map = /boot/map.0801
Reading boot sector from /dev/sda
Merging with /boot/boot.b
Secondary loader: 8 sectors.
Boot image: /boot/vmlinuz-2.2.14smp
Setup length is 4 sectors.
Mapped 1298 sectors.
Added 2.2.14
/boot/boot.0800 exists - no backup copy made.
Map file size: 10240 bytes.
Writing boot sector.
Any help fixing this would be great.
Thanks,
Chance
--
Chance Reschke
UW Astronomy