I just did a zypper dup
and noticed this error a lot, and if it’s a problem with boot, then I’m definitely not rebooting yet… Doubly so since one of the last lines after the upgrade said (and you’ll see the repeated bootloader error message in here too):
%transfiletriggerin(sdbootutil-1+git20241008.3df16d2-1.1.x86_64) script output:
Error: Bootloader not detected. /etc/sysconfig/bootloader has LOADER_TYPE="grub2-efi", but only "systemd-boot" or "grub2-bls" are recognized.
warning: %transfiletriggerin(sdbootutil-1+git20241008.3df16d2-1.1.x86_64) scriptlet failed, exit status 1
This is a dual-boot system with Windows on its on separate drive entirely (not sure if relevant here).
I have a Nvidia GPU and install drivers through repo (not sure if relevant here).
The partitioning is from years back with a 500MB /boot partition. I happened to notice in %posttrans(shim-15.8-3.1.x86_64) script output:
something about not enough space on /boot, so I made some space and reinstalled the latest kernel. Then I did shim-install
and grub2-mkconfig -o /boot/grub2/grub.cfg
without errors, and reinstalled the kernel again, but the “Bootloader not detected” error persists.
I was almost tempted to just edit /etc/sysconfig/bootloader
to have “systemd-boot” instead and just try, but boot problems are a pain, so I want to be sure things are working before rebooting.