-
Notifications
You must be signed in to change notification settings - Fork 821
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Problem installing WSL: Error code: Wsl/WSL_E_DEFAULT_DISTRO_NOT_FOUND #9338
Comments
The system did another update based on yesterday's insider release and WSL completed the install on reboot |
how did you solve this problem? |
I just reran
There was a new update and after it had completed the system behaved as expected. I'm not sure what the underlying problem was but with the versions below wsl is working for me PS C:\Users\mlwp> wsl --version
|
|
I'm having the exact same problem as @mwoodpatrick originally reported.
|
I'm with the same problem, but in other moment a mensage say that already ubuntu instaled. Error code: Wsl/Service/CreateInstance/GetDefaultDistro/WSL_E_DEFAULT_DISTRO_NOT_FOUND |
+1
And while typing
UPD: I've also turned on Hyper-V in Windows features, restarted, and it seems to work now |
I have been experiencing this same issue with Windows 10 21H2. |
I had the same issue. Search for "Turn Windows features on or off" in the Windows search bar and ensure that "Windows Subsystem for Linux" and "Virtual Machine Platform" are on, then restart. This solved it for me. |
I needed to go into my Bios and enable CPU Virtualization and after a restart it worked. Steps to fix:
|
How to solve this question? |
First, check the list of distributions by entering command in PowerShell: Otherwise, If there is no distributions follow these steps:
100% Fixed! |
thanks |
thank you @TahirIqbalGit it was very helpful |
I switched to version 1, installed Ubuntu, then switched to Version 2 and it works now! 1- 2- 3- |
A solution that worked for me! Windows > Start > Turn Windows features on or off Enable: Reboot > command prompt > wsl --install -d |
--install ubuntu command solved my problem |
Thanks, i have solved the problem |
I needed to go into my Bios and enable CPU Virtualization and after a restart it worked. Steps to fix: Enable CPU Virtualization in the BIOS (restart machine) 1- wsl --set-default-version 1 2- wsl.exe --install Ubuntu 3- wsl --set-default-version 2 --install ubuntu command solved my problem |
I solve this problme by reboot Ubuntu is already installed. |
Two things basically needed here: Activate in Windows features : Hyper V and Windows subsystem for linux |
Win+R > optionalfeatures: active Hyper V and Windows subsystem for linux as mentioned by friend mguzelel |
Thank you it worked for me :) |
Why is this Github issue closed? It's driving me insane. Everything online and from MSFT says Hyper-V is not required. However, it will not work on my system without Hyper-V. The instructions should at least say that the Hyper-V feature may need to be enabled until this is fixed. |
Disabled hyper v - containers - hypervisors, kept virtual machine on and restarted now everything works. |
这个对我有用, 我遇到的问题是,无法安装ubuntu, 错误( 不存在具有所提供名称的分发。 Error code: Wsl/Service/WSL_E_DISTRO_NOT_FOUND) 还有无法安装的问题, 都解决了 |
I had the same issue, here are a few steps followed to fix it:
Note: You need a valid activated windows to use some features. I hope this helps! |
If you are sure of Hyper-v, Virtual Machine Platform and Windows Subsystem for Linux in Windows features is on,
|
Thank you, its work for me, but I skip second step and success @imtahiriqbal |
Version
Microsoft Windows [Version 10.0.22621.1028]
WSL Version
Kernel Version
5.15.79.1
Distro Version
Ubuntu (allegedly)
Other Software
No response
Repro Steps
On new system I ran
wsl --install
It installed wsl and says it installed Ubuntu however running
wsl -l
I get
wsl -l
Windows Subsystem for Linux has no installed distributions.
Use 'wsl.exe --list --online' to list available distributions
and 'wsl.exe --install ' to install.
Distributions can also be installed by visiting the Microsoft Store:
https://aka.ms/wslstore
Error code: Wsl/WSL_E_DEFAULT_DISTRO_NOT_FOUND
Running
wsl --install Ubuntu
I get
Ubuntu is already installed.
Launching Ubuntu...
and then in a new window I get
Installing, this may take a few minutes...
WslRegisterDistribution failed with error: 0x80370114
Error: 0x80370114 The operation could not be started because a required feature is not installed.
Press any key to continue...
Expected Behavior
WSL and Ubuntu would be installed
Actual Behavior
WSL is installed but Ubuntu is not
Diagnostic Logs
No response
The text was updated successfully, but these errors were encountered: