If you are using a Linux environment but want to run a Windows 11 virtual machine, you can easily do so using LXD. Windows 11 is somewhat strict in its requirements (needs UEFI SecureBoot, having a TPM, and having a modern CPU), but LXD supports that out of the box, and there’s no need for any complex configuration in order to enable a Windows VM. In this tutorial, we will walk through the process of installing Windows in an LXD virtual machine. We will be installing Windows 11, but the same procedure also applies to Windows server machines.
- How to repackage an iso image with distrobuilder
- How to install a Windows VM
- Ubuntu Desktop 16.04 or above
- LXD snap (version 4.2 or above) installed and running
- Some basic command-line knowledge