talos icon indicating copy to clipboard operation
talos copied to clipboard

Secure Boot keys are not enrolled automatically

Open uhthomas opened this issue 2 years ago • 7 comments

Bug Report

Description

Following from https://github.com/siderolabs/talos/issues/7828, I managed to figure out how to install Talos successfuly.

I was using Ventoy, but had to use a dedicated USB stick instead. I imagine this is because Talos got confused about thought the keys were already enrolled, when they weren't. I started again, and noticed the option to enroll keys which was set to 'auto'. I continued with the installation, but secure boot was not enabled when Talos rebooted. Instead, I had to start again (again) and enroll the keys manually, which then worked.

https://www.talos.dev/v1.5/talos-guides/install/bare-metal-platforms/secureboot/

Logs

Environment

  • Talos version: v1.6.0-alpha.0-66-g336aee0fd
  • Kubernetes version: N/A
  • Platform:

uhthomas avatar Oct 06 '23 20:10 uhthomas

This will be an issue with your UEFI firmware and systemd-boot. It works fine on UEFI firmwares we tested with. Manual enrollment is always an option though.

smira avatar Oct 09 '23 06:10 smira

I don't know. I am using a Z790-P which is not rare or from a non reputable manufacturer.

uhthomas avatar Oct 09 '23 09:10 uhthomas

@uhthomas I have ASUS Z690, and even after pressing this button I'm still getting SecureBoot: False image

How did you manage to fix it?

maxpain avatar Jan 03 '24 10:01 maxpain

@maxpain secure boot on these motherboards is really painful. They often will not actually do what you tell it to do.

Make sure to go to your BIOS and then Boot > Secure Boot. Select Windows UEFI and do not use the default keys. It should say it's in setup mode eventually. It may take a few restarts for it to actually work.

uhthomas avatar Jan 03 '24 10:01 uhthomas

@uhthomas Hmm, my current mode is "Other OS." I didn't know that I actually needed "Windows UEFI".

maxpain avatar Jan 03 '24 10:01 maxpain

@maxpain Yeah, it's really silly. If you read the documentation then "Other OS" actually means "Disable Secure Boot".

uhthomas avatar Jan 03 '24 10:01 uhthomas

This issue is stale because it has been open 180 days with no activity. Remove stale label or comment or this will be closed in 7 days.

github-actions[bot] avatar Jul 02 '24 01:07 github-actions[bot]

This issue was closed because it has been stalled for 7 days with no activity.

github-actions[bot] avatar Jul 07 '24 01:07 github-actions[bot]