[Eisfair] [E64] Lilo: Fatal: raid_setup: stat.... bei Kernel-Update

Rolf Bensch azubi at bensch-net.de
So Apr 12 16:15:47 CEST 2020


Hallo zusammen,

beim Versuch einen neuen Kernel zu installieren erhalte ich folgende 
Fehlermeldung:

   Installation of: eiskernel-virt (4.10.0) ...

   Your lilo configuration is broken!
   This is the output from the test with 'lilo -t':

   Fatal: raid_setup: stat("/dev/disk/by-id/ata-QEMU_HARDDISK_QM00005")

Jetzt ist mir etwas mulmig im Bauch das frisch installierte (und gut 
laufende) System zu zerschießen. Der virtualisierte E64 bootet normal. 
Gemäß /var/log/messages wird folgendes gestartet:

   Command line: auto BOOT_IMAGE=eis ro 
root=UUID=f56aa824-ea3f-4c53-a52d-dfab977218e0 raid=noautodetect

Meine Diagnosen:

eis64-2 # lilo -t -v3
   LILO version 24.2.2 (test mode)
    (released 29-July-2019)
     * Copyright (C) 1992-1998 Werner Almesberger  (until v20)
     * Copyright (C) 1999-2007 John Coffman  (until v22)
     * Copyright (C) 2009-2015 Joachim Wiedorn  (since v23)
   This program comes with ABSOLUTELY NO WARRANTY. This is free software
   distributed under the BSD License (3-clause). Details can be found in
   the file COPYING, which is distributed with this software.
   Running Linux kernel 4.9.215-eisfair-64-VIRT on x86_64

   device-mapper major = 252
   Fatal: raid_setup: stat("/dev/disk/by-id/ata-QEMU_HARDDISK_QM00005")

eis64-2 # df -h /boot
   Filesystem      Size  Used Avail Use% Mounted on
   /dev/sda1        89M   40M   43M  49% /boot

/etc/lilo.conf:
   lba32
   #boot = /dev/sda
   boot = /dev/disk/by-id/ata-QEMU_HARDDISK_QM00005
   read-only
   prompt
   timeout = 50
   vga = normal
   menu-scheme = wr:bw:wr:Yr
   image = /boot/kernel
   #root = /dev/sda3
   root = "UUID=f56aa824-ea3f-4c53-a52d-dfab977218e0"
   label = eis
   initrd = /boot/initrd.gz
   append = "raid=noautodetect"
   image = /boot/old-kernel
   #root = /dev/sda3
   root = "UUID=f56aa824-ea3f-4c53-a52d-dfab977218e0"
   label = oldeis
   initrd = /boot/old-initrd.gz
   append = "raid=noautodetect"
   image = /boot/kernel-4.9.210-VIRT
   #root = /dev/sda3
   root = "UUID=f56aa824-ea3f-4c53-a52d-dfab977218e0"
   label = 4.9.210-VIRT
   initrd = /boot/initrd-4.9.210-VIRT.gz
   append = "raid=noautodetect"

eis64-2 # fdisk -l
   ...

   Disk /dev/sda: 60 GiB, 64424509440 bytes, 125829120 sectors
   Disk model: QEMU HARDDISK
   Units: sectors of 1 * 512 = 512 bytes
   Sector size (logical/physical): 512 bytes / 512 bytes
   I/O size (minimum/optimal): 512 bytes / 512 bytes
   Disklabel type: gpt
   Disk identifier: 66AB51DF-9D46-4D65-A379-6D8079F5B443

   Device      Start       End   Sectors  Size Type
   /dev/sda1    2048    198655    196608   96M Linux filesystem
   /dev/sda2  198656    460799    262144  128M Linux swap
   /dev/sda3  460800 125827071 125366272 59.8G Linux filesystem

eis64-2 # mount | grep boot
   /dev/sda1 on /boot type ext4 (rw,relatime,errors=remount-ro,data=ordered)

Was stimmt hier nicht und wie bekomme ich das hingebogen?

Grüße Rolf


Mehr Informationen über die Mailingliste Eisfair