I'm using Windows 11 on VirtualBox 6.1.30, inside Windows 11 on a Core m3-6Y30 CPU @ 0.90GHz.
I downloaded Ubuntu 20.04 from the Microsoft Store. When I started it, a message appeared that the option called Windows Subsystem for Linux should be enabled in the Control Panel in Windows Features.
I turned on that feature, restarted the computer, and attempted to start WSL Ubuntu again. This time there was a message to update to WSL2.
So in PowerShell with admin privileges I entered the command:
dism.exe / online / enable-feature / featurename command: VirtualMachinePlatform / all / norestart
... then restarted the computer and downloaded the kernel update package mentioned here.
Finally, in PowerShell with admin rights I ran the recommended command:
wsl --set-default-version 2
After that, I restarted my computer and started Ubuntu on WSL and got the "Error 0x80370102" mentioned in this question.
It only worked after I ran wsl --set-default-version 1
.
What can it be? Something wrong with hardware virtualization?
Everything else works on VirtualBox.
I started with the command wsl --set-default-version 1
, then I checked the bcdedit / set hypervisorlaunchtype auto
, but it didn't work.
Only after that did wsl --set-default-version 1
work.