-
Notifications
You must be signed in to change notification settings - Fork 859
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
WSL installation failure #11660
Comments
View similar issuesPlease view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one and thumbs upping the other issue to help us prioritize it! Open similar issues:
Closed similar issues:
Diagnostic information
|
Got lucky solving the issue. |
PS C:\Users\PAUL MAJID> wsl --install -d Ubuntu Press any key to continue... |
Windows Version
windows 11 Home
WSL Version
2.1.5.0
Are you using WSL 1 or WSL 2?
Kernel Version
No response
Distro Version
No response
Other Software
No response
Repro Steps
Launched the windows powershell (x86) as administrator.
Ran the code wsl --install as guided in the microsoft official website.
The code ran and installed the ubuntu, but while launching the ubuntu it failed to attach to the disk 'C:\Users\shiva\AppData\Local\Packages\CanonicalGroupLimited.Ubuntu_79rhkp1fndgsc\LocalState\ext4.vhdx' to wsl2 : the system cannot find the file specified.
Error code: Wsl/Service/CreateInstance/MountVhd/HCS/ERROR_FILE_NOT_FOUND
Expected Behavior
wsl installed successfully.
Actual Behavior
Failed to attach to disk 'C:\Users\shiva\AppData\Local\Packages\CanonicalGroupLimited.Ubuntu_79rhkp1fndgsc\LocalState\ext4.vhdx' to wsl2 : the system cannot find the file specified.
Error code: Wsl/Service/CreateInstance/MountVhd/HCS/ERROR_FILE_NOT_FOUND
Diagnostic Logs
WslLogs-2024-06-05_23-21-20.zip
The text was updated successfully, but these errors were encountered: