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

WSL Not starting at all. #11123

Closed
1 of 2 tasks
JustGuardian opened this issue Feb 3, 2024 · 4 comments
Closed
1 of 2 tasks

WSL Not starting at all. #11123

JustGuardian opened this issue Feb 3, 2024 · 4 comments
Labels

Comments

@JustGuardian
Copy link

Windows Version

Microsoft Windows [Version 10.0.22631.3085]

WSL Version

2.0.4.0

Are you using WSL 1 or WSL 2?

  • WSL 2
  • WSL 1

Kernel Version

Can't get the kernel version cause wsl can't start

Distro Version

Ubuntu

Other Software

No response

Repro Steps

Just launch wsl from any terminal, even with administrator

Expected Behavior

Normal wsl terminal(?)

Actual Behavior

Processing fstab with mount -a failed.
Failed to mount C:, see dmesg for more details.
Failed to mount D:, see dmesg for more details.

<3>WSL (7) ERROR: CreateProcessEntryCommon:511: execvpe /bin/bash failed 2
<3>WSL (7) ERROR: CreateProcessEntryCommon:514: Create process not expected to return

Diagnostic Logs

WslLogs-2024-02-03_18-37-36.zip

Copy link

github-actions bot commented Feb 3, 2024

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!

Closed similar issues:

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

@shyammohammed
Copy link

shyammohammed commented Feb 6, 2024

I was having the exact same issue for the past week or so and updating WSL seems to have fixed it. Give it a try and see if it works in your case.

❯ wsl --update
Checking for updates.
Updating Windows Subsystem for Linux to version: 2.0.14.

❯ wsl --version
WSL version: 2.0.14.0
Kernel version: 5.15.133.1-1

Cheers

@ghost ghost added the wsl1 label Feb 6, 2024
@OneBlue
Copy link
Collaborator

OneBlue commented Feb 7, 2024

Based on the error you're getting it looks like your distribution doesn't have the required files to start (in this case, a shell).

Does importing a new distribution solve the issue ?

@JustGuardian
Copy link
Author

I unregistered and reinstalled my distro, and now it works.

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

No branches or pull requests

3 participants