-
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
Lots of issues I guess, just can't get wsl working #9501
Comments
@Shikamaru5: Can you describe the exact command you're running and the output / errors you're getting so we can help diagnose the issue ? |
@Shikamaru5: Did you install the kernel component as the error message suggested ? You can find instructions on how do that here: https://learn.microsoft.com/en-us/windows/wsl/install-manual#step-4---download-the-linux-kernel-update-package |
Ya I did, I have x64 so I just downloaded the link WSL2 Linux kernel update package for x64 machines |
Did you install it ? |
Does wsl work after installing the kernel ? If not, can you please capture /logs ? |
Hello! Could you please provide more logs to help us better diagnose your issue? To collect WSL logs, download and execute collect-wsl-logs.ps1 in an administrative powershell prompt:
The scipt will output the path of the log file once done. Once completed please upload the output files to this Github issue. Click here for more info on logging Thank you! |
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! |
So I've done the steps set by many, many different articles and videos, I've even had someone who used to be on the development team for wsl ubuntu try helping me on Twitter, but I've yet to get it working. There's been a few times where I've gotten wsl downloaded enabled wsl2 the update and kernel are good, and ubuntu downloaded with username and password set up, to have it that when I type in wsl, nothing happens. Currently though the issue it shows is:
The Windows Subsystem for Linux optional component is not enabled. Please enable it and try again.
It's enabled, the virtualization is enabled too. I had it working but the python was too old, I accidentally broke that so I decided to uninstall and reinstall wsl and ubuntu, but now it just won't ever work. Idk what to do... the things I've tried:
wsl --install or wsl --update or download wsl from microsoft store
enable online features, enable windows subsystem for linux
wsl --set-version 2
wsl --install -d ubuntu
install ubuntu on microsoft store, all three versions have been tried.
making sure I restart after every step, although my computer really hates that.
setting up username and password on ubuntu
type in wsl and nothing works.
Going to the recommended sites when something stalls me.
I don't have any third party security software running, just on local, I'm on windows 10 version 22H2 (OS build 19045.2545)
I've tried dism.exe/online/enable-feature/featurename:Microsoft-windows-subsystem-Linux/all/norestart and the same for vm
Not sure what else to try but I need to solve it now because it's even corrupted my command line in sublime text just trying to run regular programs in windows
The text was updated successfully, but these errors were encountered: