Conversation
macOS 27 lets the host manage Secure Boot state in the EFI variable store. Add a persisted flag and a toggle in the Boot settings so generic UEFI guests on the Apple backend can opt in. The state is reconciled when the configuration is saved, using the default platform key and the default Microsoft signatures so that mainstream Linux distributions boot unmodified. The store is only written when its state differs from the configuration, and a virtual machine with the option off never fails to save because of it. The option defaults to off because guests without a Microsoft-signed bootloader would otherwise stop booting. Assisted-by: Claude:claude-fable-5-1
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
macOS 27 lets the host manage Secure Boot state in a
VZEFIVariableStore. This adds a "Secure Boot" option for generic UEFI guests on the Apple Virtualization backend.SecureBootkey in the Apple boot configuration (defaults to off; older configurations load unchanged).The option defaults to off because guests without a Microsoft-signed bootloader would otherwise stop booting. There are no wizard or scripting changes.
Resolves #7874
Testing: Tested by a human on macOS 27.0 (26A428), MacBook Air (Apple M3). The author acknowledges that this change has been tested and/or reviewed by a human in accordance with UTM's AI contribution guidelines.
Checked with the Debian 13 arm64 installer: with the option on the guest boots through shim and GRUB reports
prohibited by secure boot policyforinsmod; a disk whose only loader is not Microsoft-signed is refused by the firmware; with the option off both boot normally; re-enabling after disabling works.