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

Unable to launch wsl2 #11474

Closed
1 of 2 tasks
ReinForce-II opened this issue Apr 16, 2024 · 6 comments
Closed
1 of 2 tasks

Unable to launch wsl2 #11474

ReinForce-II opened this issue Apr 16, 2024 · 6 comments

Comments

@ReinForce-II
Copy link

ReinForce-II commented Apr 16, 2024

Windows Version

10.0.22631.3007

WSL Version

2.1.5.0

Are you using WSL 1 or WSL 2?

  • WSL 2
  • WSL 1

Kernel Version

5.15.146.1-2

Distro Version

Ubuntu 20.04

Other Software

No response

Repro Steps

type wsl in powershell

Expected Behavior

wsl2 launched with no errors

Actual Behavior

The distribution failed to start. Error code: 5, failure step: 2
Error code: Wsl/Service/CreateInstance/E_FAIL

Diagnostic Logs

Copy link

View similar issues

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!

Open similar issues:

Closed similar issues:

Note: You can give me feedback by thumbs upping or thumbs downing this comment.

Diagnostic information
Detected appx version: 2.1.5.0
Detected user visible error: Wsl/Service/CreateInstance/E_FAIL

@FreedSoul
Copy link

@ReinForce-II i have the same issue, how did you resolve it?

@ReinForce-II
Copy link
Author

@ReinForce-II i have the same issue, how did you resolve it?

In my case, the rootfs is corrupted, run e2fsck on it solved the problem.

@FreedSoul
Copy link

i cant even start wsl, can you give some insights or links, how to run e2fsck?

@ReinForce-II
Copy link
Author

i cant even start wsl, can you give some insights or links, how to run e2fsck?

attach the vhdx containing rootfs of wsl2 to another linux system

@FreedSoul
Copy link

whoever that get this error message, the problem is that, you have your ext filesystem corrupted, because a dirty shutdown (in my case close vscode then quickly shutdown the pc) or power outage, you can repair the issue here or follow this other thread

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

No branches or pull requests

2 participants