[Eisfair] Kernel Update fehler

Martin Faderbauer office at bbit.at
Di Mai 4 17:16:58 CEST 2021


Am 04.05.2021 um 16:30 schrieb Martin Faderbauer:
> Am 04.05.2021 um 16:20 schrieb Martin Faderbauer:
>> Am 04.05.2021 um 15:56 schrieb Marcus Röckrath:
>>> Hallo Martin,
>>>
>>> Martin Faderbauer wrote:
>>>
>>>>> Installation of: linux-kernel-4.9.261-virt (3.0.6) ...
>>>>> Verifying existing bootloader configuration ...
>>>>>
>>>>> Your lilo configuration is broken!
>>>>> This is the output from the test with 'lilo -t':
>>>>> Added eis  +  *
>>>>> Fatal: open /boot/old-kernel: No such file or directory
>>>>>
>>>>> Please repair your lilo configuration!
>>>>
>>>> ich habe schon versucht  "/var/lib/eisman/info" alle Eiskernel-xxxx
>>>> Dateien zu löschen und dann mit "eisman update" neu zu erstellen was
>>>> aber nichts gebracht hat.
>>>
>>> Dein Problem hat damit auch nichts zu tun!
>>>
>>>> auch Lilo habe neu installiert "eisman install lilo"
>>>
>>> Du hast an der Konfiguration selbst "rumgeschraubt".
>>>
>>> In /etc/lilo.conf existiert eine Sektion für old-kernel, aber in 
>>> /boot gibt
>>> es keinen old-kernel.
>>>
>>>> leider bleibt das update immer an der gleichen Stelle hängen.
>>>
>>> Weil eine solche Unstimmigkeit vor einem Update korrigiert werden muss.
>>>
>>> ls -l /boot
>>>
>>> cat /etc/lilo.conf
>>>
>>
>> Hallo Marcus
>>
>>> bbitsrv04 # ls -l /boot
>>> total 23556
>>> -rw-r--r-- 1 root root      512 May 26  2004 boot.0300
>>> -rw-r--r-- 1 root root      512 Feb  1  2013 boot.0800
>>> -rw-r--r-- 1 root root      512 Sep 25  2017 boot.0850
>>> -rw-r--r-- 1 root root     4368 May 26  2004 boot.b
>>> -rw-r--r-- 1 root root  1166731 Jul 10  2014 
>>> initrd-2.6.32-eisfair-1-PAE.gz
>>> -rw-r--r-- 1 root root  1902055 Sep 25  2017 
>>> initrd-3.16.47-eisfair-1-VIRT.gz
>>> -rw------- 1 root root 10687547 May  4 13:59 
>>> initrd-4.9.261-eisfair-1-VIRT.gz
>>> lrwxrwxrwx 1 root root       32 May  4 13:59 initrd.gz -> 
>>> initrd-4.9.261-eisfair-1                             -VIRT.gz
>>> lrwxrwxrwx 1 root root       29 May  4 13:59 kernel -> 
>>> kernel-4.9.261-eisfair-1-VI                             RT
>>> -rw-r--r-- 1 root root  2095808 Jul 10  2014 kernel-2.6.32-eisfair-1-PAE
>>> -rw-r--r-- 1 root root  3495200 Sep 25  2017 
>>> kernel-3.16.47-eisfair-1-VIRT
>>> -rw-r--r-- 1 root root  4646928 Mar 22 20:34 
>>> kernel-4.9.261-eisfair-1-VIRT
>>> drwx------ 2 root root    12288 Feb  1  2013 lost+found
>>> -rw------- 1 root root   101376 Sep 25  2017 map
>>> bbitsrv04 #
>>
>>> bbitsrv04 # cat /etc/lilo.conf
>>> lba32
>>> disk = /dev/sda
>>>   bios = 0x80
>>> boot = /dev/sda
>>> read-only
>>> prompt
>>> timeout = 50
>>> vga = normal
>>> menu-scheme = wr:bw:wr:Yr
>>> image = /boot/kernel
>>> root = /dev/sda2
>>> label = eis
>>> initrd = /boot/initrd.gz
>>> append = "raid=noautodetect net.ifnames=0"
>>> image = /boot/old-kernel
>>> root = /dev/sda2
>>> label = oldeis
>>> initrd = /boot/old-initrd.gz
>>> append = "raid=noautodetect net.ifnames=0"
>>> bbitsrv04 #
>>
>> Danke für deine Hilfe
>> Ich habe derzeit nicht rebootet weil ich vermute das der Rechner 
>> danach nicht mehr bootet
>>
> 
> Hallo Macus
> 
> kann es sein dass die umstellung auf UUID nicht in die lilo.conf 
> übernommen wurde?
> 
>> bbitsrv04 # cat /etc/fstab
>> UUID=0cef2517-723a-4e50-bfc5-8016eb731afe / ext4 
>> defaults,errors=remount-ro 0 1
>> UUID=4bc671f4-0264-466a-90f6-627d9388b8b5 /boot ext4 
>> defaults,errors=remount-ro 0 1
>> proc        /proc          proc      defaults                 0 0
>> /dev/fd0    /media/floppy         auto      defaults,user,noauto     0 0
>> /dev/cdrom  /media/cdrom          iso9660   defaults,ro,user,noauto  0 0
>> devpts      /dev/pts       devpts    defaults,gid=5,mode=620  0 0
>> sysfs       /sys           sysfs     defaults                 0 0
>> UUID=69ce6105-8ccb-46f0-8655-dae3c3ff5efb   /data/sicherungen/sdc1 
>> ext4      defaults         0 0
>> UUID=611542cf-69f2-4432-b2e3-2c51c65f2b1f   /data/sicherungen/sdb1 
>> ext4      defaults         0 0
>> UUID=082a47a0-e2b5-40f6-b392-a2478c3baf40   /data/sicherungen/sdd1 
>> ext4      defaults         0 0
>> UUID=f2054555-f8dc-4235-b638-910d9ac5321f   /data/sicherungen/sde1 
>> ext4      defaults         0 0
>> UUID=4527324e-a6f1-442f-a8af-b0970c1d8983   
>> /data/sicherungen/sdd1-rdx  ext4  defaults         0 0
>> #/dev/sde1   /data/sicherungen/sdd1-rdx ext4  defaults         0 0
>>
>> tmpfs       /dev/shm       tmpfs     rw,nosuid,nodev          0 0
>> tmpfs       /run           tmpfs     defaults                 0 0
>> devtmpfs    /dev           devtmpfs  mode=0755,nosuid         0 0
>> bbitsrv04 #
> 
> 
Hallo
es ist wirklich nicht automatisch komplett UUID umgestellt worden.
es fehlt noch:
"mkliloconf --generate-new"
danach geht das Update durch.




-- 
Diese E-Mail wurde von AVG auf Viren geprüft.
http://www.avg.com



Mehr Informationen über die Mailingliste Eisfair