Pcornel
Browse topics
Options
Recent
Favorites
Virtualization · Technical reference

Generation 2

Direct answer

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.

When to use this

Use this topic for modern Hyper-V guests, UEFI/Secure Boot issues and generation-specific boot troubleshooting.

First 30 seconds

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.

Operational verification

UEFI → Secure Boot → SCSI boot disk → OS

Evidence · next step

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
Common mistakes
Common traps

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.

Platform / version applicability
hyper-v
applies
Structured applicability is explicit Topic metadata; it does not infer compatibility beyond the stored rows.
At a glance

Operational reference

Fast context before you go deeper.

Platformhyper-v
Scope / prerequisiteUse this topic for modern Hyper-V guests, UEFI/Secure Boot issues and generation-specific boot troubleshooting.
What next?3 suggested next steps
Evidence1
On this pageJump to a specific section
Operational workflow

Verification & Troubleshooting

Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.

2 steps Observe → verify → isolate → change minimally → repeat the original test.
ObservedRecord what the original test actually shows

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 references

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.

observation · 1
Key points
  • 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.
Key checks
  • Get-VMFirmware <vm> | fl SecureBoot,SecureBootTemplate,BootOrder — UEFI settings
  • Set-VMFirmware <vm> -SecureBootTemplate MicrosoftUEFICertificateAuthority — Linux guests
  • Get-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.

Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Technical verification history

Verification history & basis

When and against what this Topic was checked. Later text edits do not count as a new check.

2026-09-14 · vendor dochyper-v current

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%
Terminology layer

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.

Aliases that resolve here
generation 2hyper-v gen 2uefi hyper-v vm
Embedded reference data

Quick lookup tables

Hyper-V → Generation 2 reference map

Fast Hyper-V boundaries for Hyper-V → Generation 2.

BoundaryMeaningEvidence limit
FirmwareUEFIDifferent from Gen 1 BIOS
Secure BootOptional policy for supported guestsEnabled ≠ OS healthy
DevicesPrimarily synthetic hardwareAttached ≠ driver/OS ready
BootUEFI boot manager pathEntry exists ≠ successful boot
Confirmation

Confirm action

Continue?