Use this topic for modern Hyper-V guests, UEFI/Secure Boot issues and generation-specific boot troubleshooting.
Generation 2
Generation 2 removes much legacy emulation and expects a UEFI-compatible boot path. Secure Boot template and guest support can materially affect whether installation media or an existing OS boots.
1. Generation 2: UEFI, Secure Boot, SCSI boot, PXE on synthetic NIC, vTPM.
2. Linux needs the UEFI CA Secure Boot template.
3. Faster boot and larger disks.
4. Default for new VMs.
5. Check boot order after changes.
UEFI → Secure Boot → SCSI boot disk → OS
Continue into guest boot diagnostics after the UEFI/Secure Boot boundary is proven.
Continue only after interpreting the current observation.Context & applicabilityCommon mistakes · platform/version boundaries
It does not show guest/application health from a successful firmware handoff.
Next check: Continue into guest boot diagnostics after the UEFI/Secure Boot boundary is confirmed.
Operational reference
Fast context before you go deeper.
Verification & Troubleshooting
Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
Capture the concrete output, symptom, packet, log or counter before changing anything.
Step 1 Verification path Verify boundary
VM generation → UEFI/Secure Boot policy → virtual boot device → guest bootloader → guest OS → workload
Step 2 Common mistakes Narrow the fault
- Wrong Secure Boot template for Linux guests (use Microsoft UEFI Certificate Authority).
- Old OS versions that do not support UEFI.
Evidence · 1 on this Topic
Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.
- Generation 2 uses UEFI rather than legacy BIOS.
- Secure Boot configuration must match the guest OS.
- UEFI visibility of a disk ≠ valid bootloader on that disk.
- Generation selection is architectural and not a routine power-state setting.
Get-VMFirmware <vm> | fl SecureBoot,SecureBootTemplate,BootOrder— UEFI settingsSet-VMFirmware <vm> -SecureBootTemplate MicrosoftUEFICertificateAuthority— Linux guestsGet-VMSecurity <vm>— vTPM
ReferenceWhy it matters1 section · depth on demand
In depth
Generation 2 VMs use UEFI firmware: Secure Boot, vTPM, boot from SCSI (hot-add of disks), PXE boot via synthetic NIC, GPT disks larger than 2 TB, faster boot. Supported by Windows Server 2012+/Windows 8+ 64-bit and current Linux distributions.
For Linux guests, choose the "Microsoft UEFI Certificate Authority" Secure Boot template; the default "Microsoft Windows" template only trusts Windows boot loaders, so Linux fails to boot with Secure Boot violation.
ReferenceImportant terms & boundaries2 sections · depth on demand
What this shows and what it does not
UEFI/Secure Boot success shows an early boot policy boundary, not that the OS or application will complete startup.
Generation 2 facts
| Item | Gen 2 |
|---|---|
| Firmware | UEFI |
| Boot disk | SCSI |
| Secure Boot / vTPM | Yes |
| PXE | Synthetic adapter |
| Guests | Windows Server 2012+/Windows 8+, modern Linux |
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
Authoritative/upstream documentation reviewed for bounded claims in Hyper-V → Generation 2. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://learn.microsoft.com/en-us/windows-server/virtualization/hyper-v/ · confidence 94%Terms & aliases
Hover a linked term for a quick definition; click it to open its glossary entry. Aliases are other names that find this Topic in search.
Quick lookup tables
Hyper-V → Generation 2 reference map
Fast Hyper-V boundaries for Hyper-V → Generation 2.
| Boundary | Meaning | Evidence limit |
|---|---|---|
| Firmware | UEFI | Different from Gen 1 BIOS |
| Secure Boot | Optional policy for supported guests | Enabled ≠ OS healthy |
| Devices | Primarily synthetic hardware | Attached ≠ driver/OS ready |
| Boot | UEFI boot manager path | Entry exists ≠ successful boot |