-
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
WSL2 fails to start #10536
Comments
@Aerocatia - looks like you have systemd enabled and executing /sbin/init is failing with errno 8 (ENOEXEC). I would suggest enabling safe mode and disabling systemd so you can see what's going on in your distro. %userprofile%\.wslconfig
|
After that it I get a different error.
The system distro starts correctly if I run |
Thank you @Aerocatia. Based on the logs it looks like your distribution is either corrupted, or not matching your CPU. Are running on arm ? Does installing a distribution via wsl --install (wsl --install -d debian) work ? |
I am not using arm, it has always been x86_64. I'll close this as the fault was with the installed Linux filesystem, although I'm not sure how that happened. |
same problem |
Windows Version
Microsoft Windows [Version 10.0.22621.2283]
WSL Version
2.0.0.0
Are you using WSL 1 or WSL 2?
Kernel Version
No response
Distro Version
Arch Linux
Other Software
No response
Repro Steps
I'm not sure what happened here. I upgraded to 2.0.0 and it seemed to work fine, however now WSL2 fails to start.
Expected Behavior
WSL Starts
Actual Behavior
Does not start.
Diagnostic Logs
No response
The text was updated successfully, but these errors were encountered: