Secure Boot
Cheat sheet · https://pcornel.dk/topic.php?topic=3652
Answer
Secure Boot for VMs uses UEFI firmware to verify that the bootloader and kernel are signed by trusted keys, blocking boot-level malware. It requires UEFI VMs and signed drivers, and also protects hypervisor hosts that support it.
Remember
- Secure Boot requires UEFI firmware.
- Linux guests need a signed shim bootloader.
First checks
mokutil --sb-state— guest Secure Boot state (Linux)Get-VMFirmware <vm> | fl SecureBoot,SecureBootTemplate— Hyper-Vqm config <vmid> | grep efidisk— Proxmox OVMF with pre-enrolled keys
Verify in this order
UEFI keys → signed boot loader → signed kernel
Where it usually breaks
First mismatch in management intent → host/cluster capability → hypervisor runtime/task → virtual resource/device → guest state → workload-visible read-back; preserve identity/native error/pre-state before mutation.
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=3652