-
Notifications
You must be signed in to change notification settings - Fork 822
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
Updating WSL broke the installation #11013
Comments
Hi I'm an AI powered bot that finds similar issues based off the issue title. Please 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. Thank you! Open similar issues:
Closed similar issues:
|
It seems like this issue is similar to mine but I have provided more information than the other, I feel like the other could be closed. All the rest are not the same
|
|
Closing since the issue is resolved. |
@OneBlue I don't think reinstalling the kernel from scratch without understanding why it happens can be considered a solution to close the issue |
@OneBlue same issue here after updating to 2.0.14 please reopen this is not solved, that is a hacky workaround |
Windows Version
Microsoft Windows [Version 10.0.22631.3007]
WSL Version
2.0.14.0
Are you using WSL 1 or WSL 2?
Kernel Version
5.15.133.1-1
Distro Version
Ubuntu 22.04
Other Software
No response
Repro Steps
I am not sure that these steps will reproduce the error as I can't test it anymore
wsl.exe --update
from PowerShell. I had temporary admin rights when I ran this commandExpected Behavior
WSL starts correctly after update
Actual Behavior
Failed to attach disk 'C:\Program Files\WSL\system.vhd' to WSL2: The system cannot find the file specified. Error code: Wsl/Service/CreateInstance/CreateVm/MountVhd/HCS/ERROR_FILE_NOT_FOUND [process exited with code 4294967295 (0xffffffff)] You can now close this terminal with Ctrl+D, or press Enter to restart.
Diagnostic Logs
I checked the registry for this key:
Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Lxss
and the versions there are older than the ones I get in the terminal usingwsl.exe --version
.Registry vs Terminal Versions:
Copying the file system.vhd from
C:\ProgramData\Microsoft\WSL\system.vhd
toC:\Program Files\WSL\system.vhd
allows WSL to start again normally but I feel like this is a really dirty solution and I don't know what will happen when I update again.The text was updated successfully, but these errors were encountered: