-
Notifications
You must be signed in to change notification settings - Fork 839
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 on Win10 will not start after recent windows update #7922
Comments
Update to indicate that both uninstalling and reinstalling the WSL update and uninstalling and reinstalling the entire WSL feature did not resolve the issue. WSL still refuses to start and instead simply displays the unhelpful error message noted above. |
/logs |
Hello! Could you please provide more logs to help us better diagnose your issue? You can find instructions on how to attach logs here, please make sure to post the link to the Feedback Hub item in this chat so we can see it. 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! |
I encountered the same problem after the recent Windows Update where the following updates were installed: KB5008876 and KB5009543. The following message is shown after running
Please find the collected log attached: Moreover, docker for window also stopped working at the same time, and Hyper-V Manager shows an empty list of Virtual Machines, though I'm not sure if this is related since I haven't run docker for windows or inspected the Hyper-V manager for a while. |
I "fixed" the problem on my end before the useless replies 2 days later by deleting and reinstalling the Ubuntu distribution. Thankfully I do actually make nightly backups of my workstation so, after the reinstall, restored the old vmfs file from backup, shrunk it down (it's supposed to be a sparse file), and found Ubuntu unable to start once again. Finally I reinstalled Ubuntu again to make sure it was working, then manually created a new VM to use as an Ubuntu live-CD system, to which I attached the old VMFS file. Inside the VM I was able to mount the attached disk and copy the data I needed to off of it and into the new one over ssh. Was a hassle, but it got me back up and running. I have absolutely no idea what the update did the the filesystem to break it, and almost certainly never will, but maybe it'll help you out @yuanchen-zhu . |
@alandsidel Thanks for the note. Yeah I also et the sense from other posts that reinstalling windows while preserving data might also fix it, but that's not a satisfactory solution. |
Reinstalling windows would be extreme overkill, all you should need to do is reinstall the Ubuntu distribution for WSL, if your problem is the same as mine was. Data inside the WSL system will be lost if you do this, so you should copy the vmfs file somewhere else first if there is data inside you need to recover. Good luck. |
Same problem here. After updating to Windows 10 KB4023057, Windows Subsytem for Linux (WSL) won't start in Version 2. PS C:\Users\xxxxxx> wsl -l -v
WSL2 cannot be launched, updated or set as version. Nothing works. As a consequence Docker also won't run. |
I am having the same/similar problems. Only using WSL to run Rancher Desktop, and it suddenly stopped working after Windows shoved updates down my throat (no questions asked; I found my PC shut down though I had left it running, and upon booting I was met with the dreaded "Hi, we have some updates for you, this will only take a minute" thing that so often forebodes trouble. Rancher Desktop now reports I've attempted removing the WSL feature and adding it back in again, but everything behaves exactly the same afterwards. FWIW, WSL "kernel version 1" (AFAIU a Wine-like translation layer, whereas version 2 is a full-blown virtual machine) seems to be working as it should. I can run My winver = 10 Pro, 21H2 build 19044.1682 |
@alandsidel Are you able to reopen the issue? IDK how this works but can't find a way to reopen the issue. Am hopeful you as the OP will get a button or something. Their annoying bot just closed the issue, because Microsoft doesn't consider it worthwhile to have a human actually take a look if there's not a lot of people generating activity on an issue... that is literally their explicitly stated policy, with no regard to the severity for those affected. I lose time every day because I have to work around not having WSL2 (Rancher) up and running. |
Try to download the latest Linux kernel for WSL2 from here https://www.catalog.update.microsoft.com/Search.aspx?q=wsl. It'll download a CAB file which contains the MSI file. Make sure to correct CPU architecture (x86_64 or aarch64). |
If you have an issue, you should open a new one yourself and just mention/reference this one. I "resolved" my issue as I mentioned in my post on the 24th, by just deleting and reinstalling Ubuntu. This caused me to lose everything inside the WSL filesystem (mainly files/projects in my home directory) but I run a nightly backup so I was able to restore the WSL virtual filesystem image from backup, mount it as an external filesystem, and recover the files I needed from the home directory. It's worth to note that first I tried to just put the old filesystem image back in place, and that caused the error to reappear. The image file was not corrupt, as I was able to just mount it manually to |
@Biswa96 Thank you! I downloaded the newest one for x64 architecture, ran the MSI, and didn't even need to reboot. |
Version
Microsoft Windows [Version 10.0.19043.1466]
WSL Version
Kernel Version
5.10.60.1
Distro Version
No response
Other Software
No response
Repro Steps
WSL2 has been working as expected for quite a while now. Today I applied the following Windows 10 updates, and since then, WSL has not been able to start.
Presumably it is that WSL update that caused the problem.
Expected Behavior
WSL should start.
Actual Behavior
WSL does not start and the error given is :
A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.
Diagnostic Logs
No response
The text was updated successfully, but these errors were encountered: