#1114960 systemd-boot: please stop adding kernel entries to NVRAM

Package:
systemd-boot
Source:
systemd-boot
Description:
simple UEFI boot manager - tools and services
Submitter:
Martin-Éric Racine
Date:
2026-06-23 05:59:02 UTC
Severity:
normal
Tags:
#1114960#5
Date:
2025-09-12 08:00:45 UTC
From:
To:
Having recently migrated from GRUB-EFI to systemd-boot, one key difference is that while GRUB-EFI is perfectly happy being launched via the generic "UEFI OS" boot menu option in BIOS settings, systemd-boot seemingly insists on changing NVRAM entries every time a new Linux kernel is installed. Is there any way to stop that and just boot via the generic "UEFI OS" option in the firmware?

Thanks!
Martin-Éric

#1114960#10
Date:
2025-09-12 08:41:24 UTC
From:
To:
Control: tags -1 unreproducible moreinfo
difference is that while GRUB-EFI is perfectly happy being launched via
the generic "UEFI OS" boot menu option in BIOS settings, systemd-boot
seemingly insists on changing NVRAM entries every time a new Linux
kernel is installed. Is there any way to stop that and just boot via
the generic "UEFI OS" option in the firmware?

I don't see any nvram entry being added when a kernel is added. Please
provide the output of 'efibootmgr' before and after such instances.

#1114960#17
Date:
2026-06-22 19:27:04 UTC
From:
To:
Hi Luca, you did not CC the submitter, so they did not get your message and so
are unlikely to provide more info.

The BTS forward to the maintainer but not to the submitter.

Cheers,

#1114960#22
Date:
2026-06-23 05:57:26 UTC
From:
To:
Thanks Bill. Someone really ought to get around fixing the BTS to
always CC the submitter on anything sent to their bug report.

ma 22.6.2026 klo 22.27 Bill Allombert (ballombe@debian.org) kirjoitti:
BootCurrent: 0001
Timeout: 0 seconds
BootOrder: 0001,0000,0006,0004,0005
Boot0000* Linux Boot Manager
HD(1,GPT,35eb03db-0ed1-4f05-990d-7ab901f6f682,0x800,0x100000)/File(\EFI\systemd\systemd-bootx64.efi)
Boot0001* Debian
HD(1,GPT,35eb03db-0ed1-4f05-990d-7ab901f6f682,0x800,0x100000)/File(EFI\debian\shimx64.efi)5c004500460049005c00730079007300740065006d0064005c00730079007300740065006d0064002d0062006f006f0074007800360034002e0065006600690020005c003000
Boot0004* CD/DVD Drive
BBS(CDROM,,0x0)414d474f414d4e4fb3000000010000006f00540053005300540063006f007200700020004300440044005600440057002000530048002d005300320032003300460000000501090003000000007fff040002010c00d041030a0000000001010600021f03120a000100ffff00007fff040001043e00ef47642dc93ba041ac194d51d01b4ce62000200020002000200020002000200020002000200020002000200020002000200020002000200000007fff0400414d424f
Boot0005  Hard Drive
BBS(HD,,0x0)414d474f414d4e4fb3000000010000007700540053002d00520044004600380020004300460020005400720061006e007300630065006e00640000000501090002000000007fff040002010c00d041030a0000000001010600001d0305060001000305060006000305060001007fff040001043e00ef47642dc93ba041ac194d51d01b4ce6540053002d00520044004600380020004300460020005400720061006e007300630065006e00640000007fff0400414d424f414d4e4fbb000000010000007f00540053002d00520044004600380020005300440020005400720061006e007300630065006e00640000000501090002000000007fff040002010c00d041030a0000000001010600001d03050600010003050600060003050600010003020800000001007fff040001043e00ef47642dc93ba041ac194d51d01b4ce6540053002d00520044004600380020005300440020005400720061006e007300630065006e00640000007fff0400414d424f414d4e4fbb000000010000007f00540053002d00520044004600380020004d00530020005400720061006e007300630065006e00640000000501090002000000007fff040002010c00d041030a0000000001010600001d03050600010003050600060003050600010003020800000002007fff040001043e00ef47642dc93ba041ac194d51d01b4ce6540053002d00520044004600380020004d00530020005400720061006e007300630065006e00640000007fff0400414d424f414d4e4fad000000010000006f005700440043002000570044003300320030003000410041004b0058002d0032003200310043004100310000000501090002000000007fff040002010c00d041030a0000000001010600021f03120a000200ffff00007fff040001043e00ef47642dc93ba041ac194d51d01b4ce62000200020002000570020002d00440043005700590041004b00550037005000360036003800310000007fff0400414d424f414d4e4fad000000010000006f00570044004300200057004400370035003000300041004100430053002d0030003000440036004200310000000501090002000000007fff040002010c00d041030a0000000001010600021f03120a000300ffff00007fff040001043e00ef47642dc93ba041ac194d51d01b4ce62000200020002000570020002d00440043005700550041003000350037003100320038003700360000007fff0400414d424f
Boot0006* UEFI OS
HD(1,GPT,35eb03db-0ed1-4f05-990d-7ab901f6f682,0x800,0x100000)/File(\EFI\BOOT\BOOTX64.EFI)

Something added entries called Debian and Linux Boot Manager. Before
that with GRUB-EFI the host booted just fine using the firmware's
generic UEFI OS entry.

Martin-Éric