Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Doesn't boot NixOS bootloader with Secure Boot #262

Open
manmathew opened this issue Nov 21, 2023 · 2 comments
Open

Doesn't boot NixOS bootloader with Secure Boot #262

manmathew opened this issue Nov 21, 2023 · 2 comments

Comments

@manmathew
Copy link

Hardware: Surface Pro 8
Software: Windows 11 & NixOS 23.05 (GNOME) Dual Boot

All the checks work fine with bootctl and sbctl (only exception is non-nixos files don't pass but the microsoft and unused ubuntu files don't raise any red flags).

The issue is that after I enable secure boot for Microsoft and 3rd Parties, it boots into windows and cannot boot the NixOS bootloader even when it's the only option available.

I've tried enrolling the keys and setting an admin password for UEFI doesn't change the end result.

Please let me know what the troubleshooting steps are to hopefully make this work. I want to encrypt both nixos and windows.

@blitz
Copy link
Member

blitz commented Dec 16, 2023

Mmh. That sounds weird. Can you share your NixOS config and relevant sbctl and bootctl output? sbctl list-files would be interesting.

@RaitoBezarius
Copy link
Member

We would need a dump of:

cat /sys/firmware/efi/efivars/db-d719b2cb-3d3a-4596-a3bc-dad00e67656f > /tmp/db # upload this in a binary paste or something
cat /sys/firmware/efi/efivars/PK-8be4df61-93ca-11d2-aa0d-00e098032b8c > /tmp/PK # same
cat /sys/firmware/efi/efivars/KEK-8be4df61-93ca-11d2-aa0d-00e098032b8c > /tmp/KEK # same

too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants