-
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
Catastrophic failure : Error code: Wsl/Service/CreateInstance/E_UNEXPECTED #10140
Comments
Thank you for reporting this @ShafiqAiman94. Looking at the logs, I see:
Can you follow these instructions to repair your filesystem ? This should resolve the issue. |
This issue has been automatically closed since it has not had any author activity for the past 7 days. If you're still experiencing this issue please re-open it. Thank you! |
1 similar comment
This issue has been automatically closed since it has not had any author activity for the past 7 days. If you're still experiencing this issue please re-open it. Thank you! |
Thanks @OneBlue, that worked for me. I couldn't see the logs but searching this error code led me here.
|
安装过程中显示:C:\Windows\system32>wsl --install -d Ubuntu C:\Windows\system32> |
I had trouble trying to repair this using Ubuntu or another WSL installation. These were my complete steps, that worked. wsl --list --all --verbose # List all WSL Installations
wsl -d docker-desktop --mount "C:\Users\user\AppData\Local\Docker\wsl\disk\docker_data.vhdx" --vhd --bare # Specifically chose docker-desktop and mounted my docker-data.vmdx with --vhd and --bare
wsl -d docker-desktop # Connect to WSL
#> lsblk # List all partitions
#> fsck /dev/sda
#> fsck /dev/sdb
#> fsck /dev/sdc
#> fsck /dev/sdd
#> fsck /dev/sde
#> fsck /dev/.... # Scorched Earthed this... just ran on every partition
#> exit # Leave
wsl -d docker-desktop --unmount "C:\Users\userAppData\Local\Docker\wsl\disk\docker_data.vhdx" Restarted Docker Desktop and all was goooood 😎 |
@JustSuperHuman Thank you very much, connecting to Docker was a great idea 👍All fixed now. |
Windows Version
Microsoft Windows [Version 10.0.22621.1702]
WSL Version
1.2.5.0
Are you using WSL 1 or WSL 2?
Kernel Version
5.15.90.1
Distro Version
Ubuntu-20.04
Other Software
No response
Repro Steps
Start Ubuntu 20.04 from Windows terminal.
Expected Behavior
Ubuntu 20.04 should start normally.
Actual Behavior
Unable to open up my Ubuntu 20.04.6
Catastrophic failure
Error code: Wsl/Service/CreateInstance/E_UNEXPECTED
Catastrophic failure
Error code: Wsl/Service/CreateInstance/E_UNEXPECTED
[process exited with code 3221225786 (0xc000013a)]
Attached is the log during the issue was happening.
Diagnostic Logs
WslLogs-2023-05-26_15-20-30.zip
Tasks
The text was updated successfully, but these errors were encountered: