-
-
Notifications
You must be signed in to change notification settings - Fork 44
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
NixOs works but Windows boots to Bitlocker recovery #271
Comments
I assume that you lose your default Windows bootable or something, can you be more explicit about how Windows doesn't boot anymore? What do you observe? |
When i had secure boot on:
When i had secure boot off:
After lanzaboote with secure boot on:
|
Yes, that's expected, enrolling new keys will change the Secure Boot database and change the measurements for the boot. |
This is unrelated to Secure Boot though. |
I'm not sure what measurements Windows uses to seal the disk encryption key but what you describe in "After lanzaboote with secure boot on" sounds like what I would expect: You can boot Windows but Bitlocker is not happy because the PCRs have changed. @RaitoBezarius Do you know off the top of your hat whether the above is expected behavior? If so we should add a warning around having your Bitlocker recovery key handy to the docs. |
Ok that worked, i didnt know microsoft stores the Bitlocker recovery keys online, i thought for sure i just bricked my windows laptop. Sorry for the panic everyone and thanks for the help. |
@RaitoBezarius Can we leave this open so we don't forget to add some warning to the documentation? |
Yes of course! |
For info, at least on the only system I have currently set up (Framework 16), I have not needed to remove the immutable attribute on the EFI variables at |
On a Lenovo Thinkpad P14s i installed Nixos on a separate external drive, next to existing default Windows on the internal drive. I went through the quickstart guide and everything went smoothly, the only thing not described in the guide was that i needed to
sudo chattr -i /sys/firmware/efi/efivars/*
before i couldsudo sbctl enroll-keys --microsoft
. Well Nixos works with secure boot now, but Windows doesnt boot anymore. Is it possible to fix this or did i just lose data? Thanks for help.The text was updated successfully, but these errors were encountered: