Windows 11 qemu virtual machine with TPM and Secure boot on Ubuntu 20.04
NapoleonWils0n
Windows 11 qemu/kvm virtual machine with TPM 2.0 and Secure boot enabled using Virt Manager on Ubuntu 20.04
In this video i show you how to install WIndows 11 with TPM 2.0, Secure boot with a bridged ethernet network using Virt Manager on Ubuntu, and how to create a libvirt storage pool in your home directory
I demo Windows 11 playing a youtube video at 1080 and 60 fps with audio in the virtual machine with no lag and how to install yt-dlp and Firefox with choclately
Note half way through the video i get the boot order wrong for the virtual machine and spend several minutes trying to figure out what i did wrong, but i get there in the end
You may get a systemctl error for trouser which is used by the swtpm tools but it doesnt stop WIndows 11 install in the virtual machine, if anyone knows how to fix the trouser error please leave a comment
Also installing wsl 2 on the Windows 11 virtual machine will crash it and it wont be able to reboot
if you want to try and install wsl and see if you can get it working make a clone of your windows virtual machine and then try and install wsl on the cloned windows vm, that way if it breaks you still have still have another windows vm
To install wsl 2 on windows 11 open the the powershell as administrator and then run
wsl --install
Note i tried wsl installing twice and the first time it got stuck downloading ubuntu and the second time when i rebooted windows said there was a problem and offered to fix it but it didnt work, so i had to delete the vm
So if you decide to try and install wsl 2 Windows 11 make sure to clone the Windows vm and use a the cloned version, the first time i got windows 11 working i tried to install wsl 2 and then the vm wouldnt boot so i had to create the vm from scratch, so dont make the same mistake i did
If anyone manages to get wsl working please leave a comment
Windows 11 Virtual machine guide https://github.com/NapoleonWils0n/cerberus/blob/master/libvirt/libvirt-ubuntu-setup/libvirt-ubuntu-setup.org
Windows 11 https://www.microsoft.com/en-us/software-download/windows11
swtpm https://github.com/stefanberger/swtpm
swtpm wiki https://github.com/stefanberger/swtpm/wiki
virtio-win iso https://fedorapeople.org/groups/virt/virtio-win/direct-downloads/archive-virtio/virtio-win-0.1.208-1/virtio-win-0.1.208.iso
spice download https://www.spice-space.org/download.html
useful articles https://getlabsdone.com/how-to-install-windows-11-on-kvm/ https://getlabsdone.com/how-to-enable-tpm-and-secure-boot-on-kvm/
useful video https://www.youtube.com/watch?v=q76BqwHb7JQ ... https://www.youtube.com/watch?v=2r_hr7t25aQ
256860096 Bytes