Win10 upgrade wsl to wsl2, and upgrade ubuntu to wsl2

Open "Virtual Machine Platform"

After enabling "Windows Subsystem for Linux", restart the computer and install wsl. The default version is 1.
If you need to upgrade to 2, you need to enable "Virtual Machine Platform".
insert image description here

Install the upgrade package

Download link: https://pan.baidu.com/s/1Tn48AmjHwHwG2ki5fniQxw?pwd=qai0
Extraction code: qai0
insert image description here

Restart the computer

Execute the wsl command

insert image description here
update successed:
insert image description here

Guess you like

Origin blog.csdn.net/a772304419/article/details/131885618