ubuntu-18.04windows-subsystem-for-linux

WSL issue: "Windows Subystem for Linux has no installed distributions"


I'm trying to get WSL 2 working on my Windows 10 machine. I have followed the "Manual" directions in this page:

https://learn.microsoft.com/en-us/windows/wsl/install-win10#set-your-distribution-version-to-wsl-1-or-wsl-2

And then downloaded 2 different Ubuntu distros linked in this page:

https://learn.microsoft.com/en-us/windows/wsl/install-manual

I set the default version to WSL 2.

After invoking "Add-AppxPackage" (with no errors) and restarting, the WSL still reports that I have no installed distributions.

See:

WSL No Installed Disributions

I have confirmed that all Hyper-V options have been enabled in Windows Features, along with Virtual Machine Platform, and Windows Subsystem for Linux.

I have tried "wsl /install" but it simply reports the same "Windows Subsystem for Linux has no installed distributions."

I have tried Add-AppxPackage with both administrator rights and non adminstrator rights with no difference.

How can I get WSL to allow me to install a distro?


Solution

  • After performing all of the steps above, I noticed that "Ubuntu 18.04 LTS" was in my "Recently Added" programs list in the start menu. Double clicking on it finished the installation.