Boot entry not showing up. #475

Open
opened 2025-08-10 01:24:10 +00:00 by Joker9944 · 3 comments
Joker9944 commented 2025-08-10 01:24:10 +00:00 (Migrated from github.com)

Hello there!

I followed the quick start guide, the required EFI files are generated in the boot partition and show up as singed with sudo sbctl verify. But on reboot no boot entries for NixOS show up in the UEFI boot menu, requiring installing a different bootloader from a recovery image to get the system to boot again.

What can I provide to help find the root cause of this issue?

Hello there! I followed the quick start guide, the required EFI files are generated in the boot partition and show up as singed with `sudo sbctl verify`. But on reboot no boot entries for NixOS show up in the UEFI boot menu, requiring installing a different bootloader from a recovery image to get the system to boot again. What can I provide to help find the root cause of this issue?
ElvishJerricco commented 2025-08-10 02:14:56 +00:00 (Migrated from github.com)

I believe lanzaboote doesn't currently do a bootctl install or anything like that and assumes you're upgrading from an existing nixos / systemd-boot config that already set the UEFI entry. You should be able to bootctl install to get the UEFI entry and rebuild to have lanzaboote replace it with a signed version.

I believe lanzaboote doesn't currently do a `bootctl install` or anything like that and assumes you're upgrading from an existing nixos / systemd-boot config that already set the UEFI entry. You should be able to `bootctl install` to get the UEFI entry and rebuild to have lanzaboote replace it with a signed version.
Joker9944 commented 2025-08-10 10:20:29 +00:00 (Migrated from github.com)

@ElvishJerricco Thanks for the quick answer. As far as I know lanzaboote utilities bootspec which should take care of UEFI entry generation, which I can see in the boot partition.

Anyways tried to first setup systemd-boot and upgrade to lanzaboote from there with the same result sadly.

@ElvishJerricco Thanks for the quick answer. As far as I know lanzaboote utilities [bootspec](https://github.com/NixOS/rfcs/blob/c655bdaab40f7a467f75dbb5af4325d991874e44/rfcs/0125-bootspec.md) which should take care of UEFI entry generation, which I can see in the boot partition. Anyways tried to first setup systemd-boot and upgrade to lanzaboote from there with the same result sadly.
HPPinata commented 2025-08-17 18:22:16 +00:00 (Migrated from github.com)

Did you run a full nixos-rebuild switch --install-bootloader after including lanzaboote in your configuration.nix?

Did you run a full `nixos-rebuild switch --install-bootloader` after including lanzaboote in your configuration.nix?
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
lanzaboote/lanzaboote#475
No description provided.