Greets, gentoo-users. I have a lilo-related problem and can't find a solution on the net, so I ask you for ideas.
This box should boot from SW-RAID-1, and it has also already done that. After editing a label inside lilo.conf I issued "lilo" and got this: # lilo -v5 LILO version 22.7.3, Copyright (C) 1992-1998 Werner Almesberger Development beyond version 21 Copyright (C) 1999-2006 John Coffman Released 11-Aug-2006 and compiled at 10:53:57 on Mar 1 2007 raid_setup: dev=000C rdev=0901 pf_hard_disk_scan: (3,0) /dev/hda pf_hard_disk_scan: (3,1) /dev/hda1 lookup_dev: number=0300 lookup_dev: number=0300 pf: dev=0300 id=12D0E48D name=/dev/hda geo_query_dev: device=0300 lookup_dev: number=0300 exit geo_query_dev bios_dev: device 0300 lookup_dev: number=0300 bios_dev: masked device 0300, which is /dev/hda bios_dev: geometry check found 0 matches bios_dev: (0x85) vol-ID=00000000 *PT=0807055E bios_dev: (0x84) vol-ID=00000000 *PT=08070516 bios_dev: (0x83) vol-ID=00000000 *PT=080704CE bios_dev: (0x82) vol-ID=00000000 *PT=08070486 bios_dev: (0x81) vol-ID=288B2D7D *PT=0807043E bios_dev: (0x80) vol-ID=12D0E48D *PT=080703F6 bios_dev: PT match found 2 matches (0x80) bios_dev: S/N match found 1 match (0x80) pf_hard_disk_scan: (3,2) /dev/hda2 pf_hard_disk_scan: (3,3) /dev/hda3 pf_hard_disk_scan: (3,4) /dev/hda4 part_nowrite: read:: No such file or directory -- The configs: # /etc/lilo.conf menu-scheme=Wb:kw:Wb:Wb lba32 boot=/dev/md1 raid-extra-boot="/dev/hda,/dev/hdc" change-rules reset read-only default=Gentoo timeout=5 #image=/boot/kernel-genkernel-x86-2.6.18-gentoo-r6 #label=2.6.18-r6 #vga=0x314 #initrd=/boot/initramfs-genkernel-x86-2.6.18-gentoo-r6 image=/boot/kernel-genkernel-x86-2.6.19-gentoo-r5 label=Gentoo vga=0x314 initrd=/boot/initramfs-genkernel-x86-2.6.19-gentoo-r5 # ls -l /boot total 9.1M drwxr-xr-x 3 root root 1.0K Mar 1 10:54 . drwxr-xr-x 19 root root 4.0K Feb 26 12:05 .. -rw-r--r-- 1 root root 0 Aug 3 2006 .keep -rw-r--r-- 1 root root 0 Mar 1 10:54 .keep_sys-boot_lilo-0 -rw-r--r-- 1 root root 764K Feb 26 12:43 System.map-genkernel-x86-2.6.18-gentoo-r6 -rw-r--r-- 1 root root 786K Feb 26 14:12 System.map-genkernel-x86-2.6.19-gentoo-r5 lrwxrwxrwx 1 root root 1 Feb 26 11:48 boot -> . -rw-r--r-- 1 root root 512 Feb 26 12:54 boot.0300 -rw-r--r-- 1 root root 512 Feb 26 12:54 boot.0901 -rw-r--r-- 1 root root 512 Feb 26 12:54 boot.1600 -rw-r--r-- 1 root root 1.6M Feb 26 12:44 initramfs-genkernel-x86-2.6.18-gentoo-r6 -rw-r--r-- 1 root root 1.6M Feb 26 14:13 initramfs-genkernel-x86-2.6.19-gentoo-r5 -rw-r--r-- 1 root root 2.3M Feb 26 12:43 kernel-genkernel-x86-2.6.18-gentoo-r6 -rw-r--r-- 1 root root 2.1M Feb 26 14:12 kernel-genkernel-x86-2.6.19-gentoo-r5 drwx------ 2 root root 12K Jun 26 2006 lost+found -rw------- 1 root root 90K Feb 26 19:08 map # mount /dev/md/3 on / type ext3 (rw,noatime) proc on /proc type proc (rw) sysfs on /sys type sysfs (rw,nosuid,nodev,noexec) udev on /dev type tmpfs (rw,nosuid) devpts on /dev/pts type devpts (rw,nosuid,noexec) shm on /dev/shm type tmpfs (rw,noexec,nosuid,nodev) binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,noexec,nosuid,nodev) /dev/md/4 on /mnt/data type ext3 (rw,noatime) /dev/md/1 on /boot type ext2 (rw,noatime) # cat /proc/partitions major minor #blocks name 3 0 78184008 hda 3 1 96358 hda1 3 2 996030 hda2 3 3 9767520 hda3 3 4 67320382 hda4 22 0 78184008 hdc 22 1 96358 hdc1 22 2 996030 hdc2 22 3 9767520 hdc3 22 4 67320382 hdc4 8 0 390711384 sda 8 1 390708801 sda1 8 16 390711384 sdb 8 17 390708801 sdb1 8 32 390711384 sdc 8 33 390708801 sdc1 8 48 390711384 sdd 8 49 390708801 sdd1 9 4 781417472 md4 9 3 9767424 md3 9 2 995904 md2 9 1 96256 md1 # cat /proc/version Linux version 2.6.19-gentoo-r5 ([EMAIL PROTECTED]) (gcc version 4.1.1 (Gentoo 4.1.1-r1)) #3 Mon Feb 26 14:12:20 CET 2007 # cat /etc/fstab /dev/md1 /boot ext2 noauto,noatime 1 2 /dev/md3 / ext3 noatime 0 1 /dev/md2 none swap sw 0 0 /dev/md4 /mnt/data ext3 noatime 0 1 /dev/cdroms/cdrom0 /mnt/cdrom iso9660 noauto,ro 0 0 proc /proc proc defaults 0 0 shm /dev/shm tmpfs nodev,nosuid,noexec 0 0 --- Did I forget something? Ah, yes, lilo-22.7.3-r1 used and already re-emerged. I even tried to install LILO to /dev/hda only, without the raid-extra-boot parameter, same messages. Originally LILO was installed inside the chroot, maybe I did something wrong there (although it installed clean and also booted fine). I used LILO because I wasn't able to install GRUB with the SW-RAID-stuff. Maybe this doesn't properly work with the now running kernel? Any ideas how to solve that? This box has to be rebooted early next week due to a change of location ;) Thanks, greets, Stefan. -- gentoo-user@gentoo.org mailing list