I didn't get that quite right.
I think I haven't created the initial ramdisk properly, somehow.
Now when I try to boot I get this:
Mounting root filestystem
mount: error 19 mounting ext3
pivot_root: pivot_root(/sysroot,/sysroot/initrd) failed: 2
Freeing unused kernel memory: 248k freed
Kernel panic: no init found. Try passing init= option to kernel
My lilo.conf file has this:
image=/boot/vmlinuz-2.4.17-cdrw
label=linux_cdrw
initrd=/boot/initrd-2.4.17-cdrw
read-only
root=/dev/md0
append="hdc=ide-scsi"
A kernel that works has this:
image=/boot/vmlinuz-2.4.7-10
label=linux
initrd=/boot/initrd-2.4.7-10.img
read-only
root=/dev/md0
append="hdc=ide-scsi"
I built the /boot/initrd-2.4.17-cdrw from my 2.4.17 source like this:
mkinitrd /boot/initrd-2.4.17-cdrw 2.4.17-cdrw
given that I have a /lib/modules/2.4.17-cdrw
# ls -l /boot/initrd-2.4.7-10.img
-rw-r--r-- 1 root root 337714 Feb 12 11:49 /boot/initrd-2.4.7-10.img
# ls -l /boot/initrd-2.4.17-cdrw
-rw-r--r-- 1 root root 275981 Mar 16 10:27 /boot/initrd-2.4.17-cdrw
# file /boot/initrd-2.4.7-10.img
/boot/initrd-2.4.7-10.img: gzip compressed data, deflated, last modified: Tue Feb 12
11:49:01 2002, max compression, os: Unix
# file /boot/initrd-2.4.17-cdrw
/boot/initrd-2.4.17-cdrw: gzip compressed data, deflated, last modified: Sat Mar 16
10:27:57 2002, max compression, os: Unix
Also, I can't find anything in lilo.conf about an init= option.
luke
--
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug