[Eisfair] [E64] lilo -t -> Fatal: do_disk: stat /dev/sda: No such file or directory

Rolf Bensch azubi at bensch-net.de
So Okt 20 12:50:35 CEST 2019


ergänzende Infos

Am 20.10.19 um 12:25 schrieb Rolf Bensch:
> Moin zusammen,
> 
> habe gerade auf einem sehr jungen E64 ein "Automatic system update" 
> ausgeführt. Ich erhalte folgende Meldung:
> ---
> Your lilo configuration is broken!
> This is the output from the test with 'lilo -t':
> 
> Fatal: do_disk: stat /dev/sda: No such file or directory
> 
> Repair your lilo configuration, cancelling installation.
> ---
> 
> Der E64 läuft als VM in einer Qemu-Umgebung und bekommt per VirtIO genau 
> eine Platte virtuelle zugewiesen.
> 
> eis64 # ls -la /dev/?d*
> lrwxrwxrwx 1 root root       3 Oct  8 16:21 /dev/cdrom -> hdc
> lrwxrwxrwx 1 root root      13 Oct  8 16:21 /dev/fd -> /proc/self/fd
> brw-rw---- 1 root cdrom  22, 0 Oct  8 16:21 /dev/hdc
> brw-rw---- 1 root disk  253, 0 Oct  8 16:21 /dev/vda
> brw-rw---- 1 root disk  253, 1 Oct  8 16:21 /dev/vda1
> brw-rw---- 1 root disk  253, 2 Oct  8 16:21 /dev/vda2
> brw-rw---- 1 root disk  253, 3 Oct  8 16:21 /dev/vda3
> 
> sd*-Devices gibt es in diesem System nicht (oder vielleicht auch "nicht 
> mehr").
> 
> eis64 # cat /etc/lilo.conf
> lba32
> disk = /dev/sda
>    bios = 0x80
> #boot = /dev/sda
> boot = /dev/disk/by-id/scsi-0QEMU_QEMU_HARDDISK_drive-scsi0-0-0-0
> read-only
> prompt
> timeout = 50
> vga = normal
> menu-scheme = wr:bw:wr:Yr
> image = /boot/kernel
> #root = /dev/sda3
> root = "UUID=75bb0c32-2eb2-49fd-9831-65123bfe36e9"
> label = eis
> initrd = /boot/initrd.gz
> append = "raid=noautodetect"
> image = /boot/old-kernel
> #root = /dev/sda3
> root = "UUID=75bb0c32-2eb2-49fd-9831-65123bfe36e9"
> label = oldeis
> initrd = /boot/old-initrd.gz
> append = "raid=noautodetect"
> image = /boot/kernel-3.16.63-VIRT
> #root = /dev/sda3
> root = "UUID=75bb0c32-2eb2-49fd-9831-65123bfe36e9"
> label = 3.16.63-VIRT
> initrd = /boot/initrd-3.16.63-VIRT.gz
> append = "raid=noautodetect"
> 
> eis64 # mount
> /dev/vda3 on / type ext4 (rw,relatime,errors=remount-ro,data=ordered)
> tmpfs on /run type tmpfs (rw,relatime)
> proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
> /sys on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
> devtmpfs on /dev type devtmpfs 
> (rw,nosuid,relatime,size=1011752k,nr_inodes=252938,mode=755)
> fusectl on /sys/fs/fuse/connections type fusectl (rw,relatime)
> /dev/vda1 on /boot type ext4 (rw,relatime,errors=remount-ro,data=ordered)
> devpts on /dev/pts type devpts (rw,relatime,gid=5,mode=620)
> tmpfs on /run/shm type tmpfs (rw,nosuid,nodev,relatime)
> root at 192.168.0.202:/home on /home type fuse.sshfs 
> (rw,relatime,user_id=0,group_id=0)
> 

eis64 # lsblk
NAME   MAJ:MIN RM  SIZE RO TYPE MOUNTPOINT
hdc     22:0    1    4G  0 disk
vda    253:0    0   60G  0 disk
├─vda1 253:1    0   48M  0 part /boot
├─vda2 253:2    0  128M  0 part [SWAP]
└─vda3 253:3    0 59.8G  0 part /
eis64 #
eis64 # ls -l /dev/disk/by-uuid
total 0
lrwxrwxrwx 1 root root 10 Oct  8 16:21 
16bfcba7-5479-4a99-89db-8c4782061494 -> ../../vda1
lrwxrwxrwx 1 root root 10 Oct  8 16:21 
75bb0c32-2eb2-49fd-9831-65123bfe36e9 -> ../../vda3
lrwxrwxrwx 1 root root 10 Oct  8 16:21 
76f5b14c-404c-4f09-8207-1221a69ea606 -> ../../vda2

Grüße

Rolf


Mehr Informationen über die Mailingliste Eisfair