Windows 11 wsl2 install on a qemu virtual machine

Published: 08 November 2021
on channel: NapoleonWils0n
2,472
16

How to install wsl2 on Windows 11 running on qemu using virt manager on ubuntu 20.04 and run linux gui apps on Windows

Windows 11 qemu virtual machine with tpm and secure boot video:
   • Windows 11 qemu virtual machine with ...  

Open the settings for your Windows 11 virtual machine in virt manager

1 - under the cpu section
un check: Copy host CPU configuration

2 - in the model drop down menu click inside the text box which will allow you to edit the text

change the text from:
host-model

to:
host-passthrough

and apply the changes

3 - boot into windows 11 and open the powershell as admin and then run the following command to install wsl2 and ubuntu

wsl --install -d Ubuntu

4 - after wsl and ubuntu have installed reboot windows

5 - after you have rebooted into windows a windows terminal should open and prompt you add a user and password to the ubuntu virtual machine

6 - update and upgrade

next you need to update and upgrade

sudo apt update
sudo apt upgrade

windows 11 wsl2 libvirt file
https://github.com/NapoleonWils0n/cer...


Watch video Windows 11 wsl2 install on a qemu virtual machine online without registration, duration hours minute second in high quality. This video was added by user NapoleonWils0n 08 November 2021, don't forget to share it with your friends and acquaintances, it has been viewed on our site 2,472 once and liked it 16 people.