zypper dup kills efi boot

The system has two efi boots:

hofkirchen:~ # efibootmgr 
BootCurrent: 0000
Timeout: 1 seconds
BootOrder: 0000,0001
Boot0000* opensuse
Boot0001* opensuse.rescue
hofkirchen:~ # 

Whenever zypper dup updates the kernel all entries get removed but Boot0000* opensuse. Any idea how to preserve existing boots?

I suppose you can report that as a bug.

I think when grub2-efi is reinstalled, the script that is used removes any boot entries with “opensuse”, and that’s what’s causing the problem. Whether it should do that – probably not.

I am using “opensuse” and “betasuse” for my two entries. And “betasuse” is not being removed, so that works for me as a backup boot entry. I have not needed to use that backup for a long time. Hmm, maybe I should test it more often than I do.

Who is to blame? pbl?

I am using “opensuse” and “betasuse” for my two entries. And “betasuse” is not being removed, so that works for me as a backup boot entry. I have not needed to use that backup for a long time. Hmm, maybe I should test it more often than I do.
Now I use:


hofkirchen:~ # efibootmgr
BootCurrent: 0000
Timeout: 1 seconds
BootOrder: 0002,0001,0000
Boot0000* default
Boot0001* backup
Boot0002* opensuse
hofkirchen:~ # 

Yast > Boot loader now refreshes opensuse, but keeps off from default and backup. Resetting boot order is less error prone than creating the boots again.

Yes, using “backup” as your alternative name will avoid the issue.