Your Windows fails to boot after installing WSL, before it did anything with Ubuntu. It is really something you would need to ask on the Windows forums or WSL Github project.
I’m using WSL on Windows 10, I have not encountered this particular problem.
Every month, I test my disaster recovery procedure — should my phone be stolen, my house destroyed in a fire, and the only way back to my data is to access my online backup through a friend’s Windows computer, can I do it?
I’ve just reread this. Isn’t WSL the bit in step Two, where I enable Windows Subsystem for Linux? Because that was fine; I restarted after doing that without problem.
It was only after installing Ubuntu from the Microsoft Store when the problem started.
You might be talking about the VirtualBox setting “Nested VT-x/AMD-V”, which needs to be turned on in order to run a VM within a VM. This is indeed turned on.
I use Ubuntu on Windows via WSL. I do not remember now if I downloaded it (originally) from MS store. I have removed and reinstalled several times since. Now I only do,
wsl --install
for default (Ubuntu latest LTS) and if a different release/distro is needed then (as an example),
Hmm. I don’t know if Windows version/updates can be an issue. I’m on Version 25H2, OS Build 26200.9457. There is an update offered 26H2 but I haven’t installed it (all I see is AI-that, AI-this…).
Also, it seems wsl --install now automatically takes care of configuring Windows (virtualization etc.). So, if you still have issue, undo everything and just use that command from a PowerShell may be?!
Also, on my machine, I don’t have ‘Windows Subsystem for Linux’ enabled. Instead I have ‘Virtual Machine Platform’ and ‘Windows Hypervisor Platform’ enabled.
I would guess that it is a Virtualbox configuration somewhere?
I use qemu/kvm to run VMs and I’ve just installed wsl via powershell
It took me longer to find the instructions to download and launch Ubuntu 26.04 than to install wsl itself within Windows 11 VM
wsl --install
wsl --install -d ubuntu-26.04
wsl --install only enabled one Windows Feature i.e. Virtual Machine Platform
The install guide in the Ubuntu on WSL docs indicates that virtualization and virtual machine platform need to be enabled before you can install Ubuntu on WSL. Running wsl --install for the first time should enable virtual machine platform but a reboot is normally required.
As others have noted, if you are doing nested virtualization, additional steps may be required in your VM software/hypervisor to enable that.
There is also this note in the docs:
The effect of wsl --install may vary depending on your system. After installation, a reboot is usually required before WSL distros can be installed. If those WSL components are already enabled, a reboot may not be required and an installation of the default Ubuntu distribution will be attempted.
For example, if VMP is not enabled, wsl --install will enable it but a reboot may be required for it to work. If you then reboot and run wsl --install again (yes, the same command), the default distro (currently Ubuntu 26.04) will install. If you try to do something like wsl --install (to enable the necessary virtualization components) and then immediately wsl --install Ubuntu-26.04 (without a reboot) there can be errors.
I’m cc’ing @cnihelton from the Ubuntu on WSL team who I know does a lot of WSL work with nested virtualization.