How to Install Ubuntu in Hyper-V
Install Ubuntu in Hyper-V the right way: build a Generation 2 VM, handle Secure Boot with the right template, enable Enhanced Session, and fix the resolution.
Sysadmin Desk Oct 18, 2026 7 min read
2 guides
Install Ubuntu in Hyper-V the right way: build a Generation 2 VM, handle Secure Boot with the right template, enable Enhanced Session, and fix the resolution.
Hyper-V asks you to pick Generation 1 or Generation 2 when you create a VM, and you can't change it later. Here's how the two differ and which to choose.