Cannot anymore make OpenSuse Leap 15.3 the default on a dual boot system

On my desktop PC I upgraded the BIOS of Mobo Z370-A PRO.
It is a dual boot system with OpenSuse Leap 15.3 on /dev/sda1 and Kubuntu 20.04 LTS on /dev/sda3.
Before the BIOS upgrade, the system would boot into the (OpenSuse spawned) Grub menu with OpenSuSE Leap 15.3 as the default.
It now boots into the Ubuntu spawned Grub menu with Kubuntu 20.04 LTS as the default.
In this menu I can choose OpenSuse Leap 15.3, but find no way to make it the default in Yast with de Boot Loader.
It looks as if OpenSUSE cannot change anything in the system when it comes to booting.

The Boot Loader is ‘Grub2 for EFI’, ‘Secure Boot Support’ is enabled and ‘Update NVRAM’ is disabled.
The Default Boot Section is OpenSUSE Leap 15.3.
The Partitioner shows /boot/efi present and mounted as the EFI System Partition Partition.

What am I doing wrong?

That’s about how I have it setup. Because “‘Update NVRAM’ is disabled” an update won’t change the boot order. But you should still be able to change in manually:


# efibootmgr
BootCurrent: 0000
Timeout: 1 seconds
BootOrder: 0001,0000
Boot0000* opensuse-secureboot
Boot0001* Windows Boot Manager

That’s from my system. It show that Windows is the default for booting. I can change that with:

efibootmgr -o 0000,0001

Something similar should be possible on your system.

Indeed I can use these commands and it looks as if the order is changed.

/home/vaessen $ sudo efibootmgr 
[sudo] password for root: 
BootCurrent: 0004
Timeout: 1 seconds
BootOrder: 0004,0005,0000,0001,0002
Boot0000* opensuse-secureboot
Boot0001* Hard Drive
Boot0002* CD/DVD Drive
Boot0004* ubuntu
Boot0005* opensuse

/home/vaessen $ sudo efibootmgr -o 0005,0004,0000,0001,0002
BootCurrent: 0004
Timeout: 1 seconds
BootOrder: 0005,0004,0000,0001,0002
Boot0000* opensuse-secureboot
Boot0001* Hard Drive
Boot0002* CD/DVD Drive/home/vaessen $ sudo efibootmgr 
Boot0004* ubuntu
Boot0005* opensuse

But after a reboot I still get Ubuntu as the default:

/home/vaessen $ sudo efibootmgr 
[sudo] password for root: 
BootCurrent: 0004
Timeout: 1 seconds
BootOrder: 0004,0005,0000,0001,0002
Boot0000* opensuse-secureboot
Boot0001* Hard Drive
Boot0002* CD/DVD Drive
Boot0004* ubuntu
Boot0005* opensuse

Then go into BIOS settings. There should be a way to set the boot order there.

My Lenovo box does something like that. It ignores the boot order that I set with “efibootmgr”. But I can set the order I want in BIOS settings.

You are right. It is in the BIOS. It seems to know about entries for:

  • opensuse-secureboot
  • opensuse
  • ubuntu

Ubuntu had highest priority.
I changed that to opensuse-secure and now things are as they were before the BIOS upgrade.

Thank you very much.