Skip to content

Instantly share code, notes, and snippets.

@djibe
Created June 1, 2023 08:35
Show Gist options
  • Save djibe/7d5fd8705b8d943e8e8066f0760cbb0a to your computer and use it in GitHub Desktop.
Save djibe/7d5fd8705b8d943e8e8066f0760cbb0a to your computer and use it in GitHub Desktop.
Ubuntu for Windows 11 with Hyper-V

Ubuntu for Windows 11 with Hyper-V

Tutorial to setup Windows 11 and use Ubuntu in a virtual machine (VM).

Requirements

  • Windows 11 Pro
  • Virtualization enabled
    • Go to Task Manager > Performance > CPU. Make sure Virtualization is Enabled.
    • If not, you must enable Virtualization in your UEFI
  • Open Powershell command or Windows Terminal and enter command: Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V-All
  • Now launch Hyper-V Quick Create and chose Ubuntu 22.04 LTS and confirm with "Create Virtual Machine"

To setup a network card for Hyper-V, see: https://learn.microsoft.com/en-us/answers/questions/133130/hypver-v-how-to-enable-access-internet-access-on-t

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment