Forgot my laptop on sleep so it drained the battery and was not powered for more than 24 hours, after restoring the UEFI/BIOS settings it now boots to a grub terminal, giving the “exit” command switches to systemd-boot and I can then boot into Tumbleweed.
How do I avoid having to exit from the grub terminal every time I boot into my laptop?
Many thanks.
Yes, it drained and lost the UEFI/BIOS settings, but I have already restored them and successfully booted into Tumbleweed after exiting the simplified grub terminal, the issue is that even after doing that it still gets to a grub terminal when I reboot the laptop instead of booting to the systemd-boot selection screen
You mean the BIOS battery? No, I don’t even know if it has one honestly. The laptop battery is fine it simply got drained and I’m now charging it back up, the laptop is hooked to the charger right now and it still does that, the UEFI/BIOS settings are being loaded fine as far as I am aware.
As superuser issue efibootmgr, you should see what is the current boot.
Then reboot, enter the BIOS and ensure that same boot option is the first one in the UEFI boot order (the exact way to do that depends on your FW/BIOS).
So, I used to have Debian 13 on this laptop but I did a clean install of Tumbleweed so I thought that the Debian files in the boot partition were no longer there.
IIRC the boot option selected in the BIOS should be the same as Boot0001 but I’ll check now and let you know.
Should I delete the Debian boot? How do I do that?
So, yeah, the UEFI somehow recovered the Debian boot option even if it wasn’t there at first and since Debian13 is no longer installed it booted me into an empty Grub Shell.
I have now told the UEFI to ignore the Debian Boot and it boots right into the systemd-boot selection for Tumbleweed.
I will now delete any trace left of Debian from the boot partition so that an issue like that doesn’t present itself in the future.
(It also put SecureBoot into audit mode even if I didn’t tell it to do so, which is interesting)
sudo efibootmgr --bootorder 0002,0001,0003,0004,0000
and if you wish: sudo efibootmgr --bootnum 0000 --delete-bootnum
also if you wish, after you rebooted into normal openSUSE sudo rm -rvf /boot/efi/EFI/debian/