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

Cannot launch WSL #9886

Closed
1 of 2 tasks
IvoVieira opened this issue Apr 2, 2023 · 3 comments
Closed
1 of 2 tasks

Cannot launch WSL #9886

IvoVieira opened this issue Apr 2, 2023 · 3 comments

Comments

@IvoVieira
Copy link

Windows Version

Microsoft Windows [Version 10.0.19044.2728]

WSL Version

WSL version: 1.1.6.0

Are you using WSL 1 or WSL 2?

  • WSL 2
  • WSL 1

Kernel Version

No response

Distro Version

No response

Other Software

No response

Repro Steps

I type wsl on PowerShell

Expected Behavior

To launch WSL / Ubuntu

Actual Behavior

Ubuntu doesn't launch and I get the output:

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:368: getpwuid(1000) failed 2
<3>WSL (7) ERROR: CreateProcessEntryCommon:372: getpwuid(0) failed 2
<3>WSL (7) ERROR: CreateProcessEntryCommon:574: execvpe /bin/sh failed 2
<3>WSL (7) ERROR: CreateProcessEntryCommon:583: Create process not expected to return

Diagnostic Logs

No response

@Franky1
Copy link

Franky1 commented Apr 9, 2023

I had the same issue since a week and also Docker Desktop stopped working.

What do you get with wsl --list command?
I found out that i got this:

docker-desktop-data (Standard)
docker-desktop

I set the default distro with

wsl --setdefault docker-desktop

After this at least wsl worked again.
However Docker Desktop still did not start.
I uninstalled it and installed the latest version of Docker Desktop, than it worked again.

@IvoVieira
Copy link
Author

IvoVieira commented Apr 10, 2023

Thank you for trying to help.

With the wsl --list I got:

Windows Subsystem for Linux Distributions: Ubuntu (Default)

Ubuntu is the distro I'd like to use, so I think it's everything OK there.
I've also uninstalled and re-installed the Ubuntu app from MS Store without any difference in the outcome. I also re-installed WSL too.

But again, whenever I run wsl I always get the errors:

`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:368: getpwuid(1000) failed 2
<3>WSL (7) ERROR: CreateProcessEntryCommon:372: getpwuid(0) failed 2
<3>WSL (7) ERROR: CreateProcessEntryCommon:574: execvpe /bin/sh failed 2
<3>WSL (7) ERROR: CreateProcessEntryCommon:583: Create process not expected to return`

@IvoVieira IvoVieira closed this as not planned Won't fix, can't repro, duplicate, stale Apr 13, 2023
@harder-er
Copy link

I also have this problem,do you solve it,bro

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

3 participants