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.
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/. As for the reasons - it may be old EFI boot entry that points to file no more updated or similar.
Also, the entry in EFI menu for the other Leap in this machine is lost.
Telcontar:~ # efibootmgr -v BootCurrent: 0000 Timeout: 1 seconds BootOrder: 0004,0000 Boot0000* main_opensuse-secureboot HD(1,GPT,800b649f-a2e3-4dad-b2bf-b7ecc5ef11d8,0x800,0xfa000)/File(\EFI\MAIN_OPENSUSE\SHIM.EFI)
Boot0004* opensuse HD(1,GPT,800b649f-a2e3-4dad-b2bf-b7ecc5ef11d8,0x800,0xfa000)/File(\EFI\OPENSUSE\GRUBX64.EFI)..BO
Telcontar:~ #
Notice the different paths. One of them booted, I forget which.
This one is recent:
Telcontar:~ # l /boot/efi/EFI/main_opensuse/ total 3528 drwxr-xr-x 2 root root 8192 Apr 1 23:15 ./ drwxr-xr-x 6 root root 8192 Mar 22 00:46 ../ -rwxr-xr-x 1 root root 1158688 Aug 9 21:51 MokManager.efi* -rwxr-xr-x 1 root root 68 Aug 9 21:51 boot.csv* -rwxr-xr-x 1 root root 150 Aug 9 21:51 grub.cfg* -rwxr-xr-x 1 root root 1066864 Aug 9 21:51 grub.efi* -rwxr-xr-x 1 root root 124416 Aug 9 21:51 grubx64.efi* -rwxr-xr-x 1 root root 1208968 Aug 9 21:51 shim.efi* Telcontar:~ #
This is older:
Telcontar:~ # l /boot/efi/EFI/opensuse/ total 3520 drwxr-xr-x 2 root root 8192 Mar 17 04:18 ./ drwxr-xr-x 6 root root 8192 Mar 22 00:46 ../ -rwxr-xr-x 1 root root 1158688 Mar 17 04:18 MokManager.efi* -rwxr-xr-x 1 root root 58 Mar 17 04:18 boot.csv* -rwxr-xr-x 1 root root 155 Mar 17 04:18 grub.cfg* -rwxr-xr-x 1 root root 1062752 Mar 17 04:18 grub.efi* -rwxr-xr-x 1 root root 124416 Mar 20 23:57 grubx64.efi* -rwxr-xr-x 1 root root 1208968 Mar 17 04:18 shim.efi* Telcontar:~ #
Telcontar:~ # grep GRUB_DISTRIBUTOR /etc/default/grub GRUB_DISTRIBUTOR="Main_openSUSE" Telcontar:~ #
What can I do? revert to an older grub, perhaps?
-- Cheers
Carlos E. R. (from 15.1 x86_64 at Telcontar)
-- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org