Skip to content
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

Closed
1 of 2 tasks
ShafiqAiman94 opened this issue May 26, 2023 · 4 comments
Closed
1 of 2 tasks

Comments

@ShafiqAiman94
Copy link

ShafiqAiman94 commented May 26, 2023

Windows Version

Microsoft Windows [Version 10.0.22621.1702]

WSL Version

1.2.5.0

Are you using WSL 1 or WSL 2?

  • WSL 2
  • WSL 1

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

No tasks being tracked yet.
@OneBlue
Copy link
Collaborator

OneBlue commented Jun 6, 2023

Thank you for reporting this @ShafiqAiman94. Looking at the logs, I see:

EXT4-fs (sdc): Remounting filesystem read-only, which is probably the root cause of the issue you're seeing.

Can you follow these instructions to repair your filesystem ? This should resolve the issue.

@microsoft-github-policy-service
Copy link
Contributor

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
@microsoft-github-policy-service
Copy link
Contributor

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!

@brookst
Copy link

brookst commented Nov 8, 2023

Thanks @OneBlue, that worked for me. I couldn't see the logs but searching this error code led me here.
I used a second distribution (Ubuntu) to recover like so:

PS> wsl -d Ubuntu --mount C:\Users\User\AppData\Local\Jammy\ext4.vhdx --vhd --bare
The operation completed successfully.
PS> wsl -d Ubuntu lsblk
NAME MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT
sda    8:0    0 363.3M  1 disk
sdb    8:16   0     2G  0 disk [SWAP]
sdc    8:32   0   256G  0 disk
sdd    8:48   0   256G  0 disk /mnt/wslg/distro
PS> wsl -d Ubuntu sudo e2fsck -f /dev/sdc
[sudo] password for user:
e2fsck 1.46.3 (27-Jul-2021)
...
PS> wsl --unmount

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants