On 09/08/2020 23.32, Andrei Borzenkov wrote:
09.08.2020 23:31, Carlos E. R. пишет:
Grub crashes just after update (Leap 15.1), that included grub and kernel:
It is not crash.
Whatever :-)
Telcontar:~ # rpm -qa --last
grub2-x86_64-efi-2.02-lp151.21.21.4.noarch Sun Aug 9 21:48:42 2020 grub2-systemd-sleep-plugin-2.02-lp151.21.21.4.noarch Sun Aug 9 21:48:42 2020 grub2-snapper-plugin-2.02-lp151.21.21.4.noarch Sun Aug 9 21:48:42 2020
grub2-i386-pc-2.02-lp151.21.21.4.noarch Sun Aug 9 21:48:41 2020
kernel-default-4.12.14-lp151.28.59.1.x86_64 Sun Aug 9 21:50:24 2020
I get this message on boot (hand copied):
Welcome to GRUB! error: symbol `grub_calloc` not found Entering rescue mode grub rescue> _
This is usual mismatch between stage1.5 (core.img/grub.efi) and external grub2 modules in /boot/grub2. If you use EFI, it can only happen when you do not use shim (shim loads signed grub image which disables module loading completely). Compare modification dates of grubx64.efi and files inside /boot/grub/x86_64-efi/.
Telcontar:~ # l /boot/efi/EFI/main_opensuse/*efi -rwxr-xr-x 1 root root 1158688 Aug 9 21:51 /boot/efi/EFI/main_opensuse/MokManager.efi* -rwxr-xr-x 1 root root 1066864 Aug 9 21:51 /boot/efi/EFI/main_opensuse/grub.efi* -rwxr-xr-x 1 root root 124416 Aug 9 21:51 /boot/efi/EFI/main_opensuse/grubx64.efi* -rwxr-xr-x 1 root root 1208968 Aug 9 21:51 /boot/efi/EFI/main_opensuse/shim.efi* Telcontar:~ # Telcontar:~ # l /boot/grub/x86_64-efi/ ls: cannot access '/boot/grub/x86_64-efi/': No such file or directory Telcontar:~ # Telcontar:~ # l /boot/grub2/x86_64-efi/ total 3308 drwxr-xr-x 2 root root 12288 Aug 9 21:51 ./ drwxr-xr-x 7 root root 4096 Aug 9 22:14 ../ -rw-r--r-- 1 root root 15240 Aug 9 21:51 acpi.mod -rw-r--r-- 1 root root 1896 Aug 9 21:51 adler32.mod -rw-r--r-- 1 root root 8000 Aug 9 21:51 affs.mod ... -rw-r--r-- 1 root root 19944 Aug 9 21:51 xzio.mod -rw-r--r-- 1 root root 57056 Aug 9 21:51 zfs.mod -rw-r--r-- 1 root root 8424 Aug 9 21:51 zfscrypt.mod -rw-r--r-- 1 root root 10648 Aug 9 21:51 zfsinfo.mod Telcontar:~ # Everything has the same timestamp. I have to reboot and find out something. Which EFI entry actually booted. -- Cheers / Saludos, Carlos E. R. (from 15.1 x86_64 at Telcontar)