WSL icon indicating copy to clipboard operation
WSL copied to clipboard

WSL2 terminal won't start

Open luisliborio opened this issue 6 years ago • 81 comments

After updating to build 20211, I worked for some minutes in Ubuntu 18.04 with WSL2. just installed some pip packages and restart the PC.

Now the terminal doesn't load. It keep blinking the cursor indefinitely.

luisliborio avatar Sep 13 '20 01:09 luisliborio

I have the same problem; after upgrading to 20211.1000 Wsl2 it stopped working properly; I tried a few steps to correct the problem. 1 - uninstalled windows subsystem for linux, restarted the pc and reinstalled again; 2 - the first time it worked perfectly, but after turning off the pc, the same problem returned.

vcatafesta avatar Sep 14 '20 02:09 vcatafesta

I have the same problem after upgrading to 20211.1000 Wsl2,but reinstall wsl not work for me

woodygithub avatar Sep 16 '20 03:09 woodygithub

https://github.com/microsoft/WSL/issues/5902#issuecomment-691170782

kanghoon-won avatar Sep 16 '20 04:09 kanghoon-won

After countless unsuccessful attempts to fix WSL2 under v20211.1000, there was no other way but to reinstall W10 from scratch.

  1. Installed version 19041.058 from scratch
  2. Apparently KB4571756 is NOT the cause of the bug;
  3. Update the WSL kernel https://wslstorestorage.blob.core.windows.net/wslblob/wsl_update_x64.msi
  4. Now working fine!

vcatafesta avatar Sep 17 '20 00:09 vcatafesta

Seems still not fix in 20215.1000

zyazhb avatar Sep 17 '20 06:09 zyazhb

still not fix in 20215.1000

Inphyy avatar Sep 17 '20 07:09 Inphyy

#5902 (comment) How do we exactly revert the build? Tried the recovery option but didn't help.

bycloudai avatar Sep 18 '20 10:09 bycloudai

guys, I managed to fix it just by uninstalling WSL2 and installing again. Just follow common Microsoft guide:

Run in PowerShell as admin:

DISM /online /disable-feature /featurename:VirtualMachinePlatform /norestart DISM /online /disable-feature /featurename:Microsoft-Windows-Subsystem-Linux /norestart

Reboot, and again:

dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart

Reboot, and again:

wsl --set-default-version 2

Note: you won't lose your Linux subsystem settings or files.

This happened two times with me, both solved the same way, now it's apparently stable. And now I've just updated to build 20215, let's see how it goes...

luisliborio avatar Sep 18 '20 15:09 luisliborio

This happened two times with me, both solved the same way, now it's apparently stable. And now I've just updated to build 20215, let's see how it goes...

No, it's not give any result

rozetkinrobot avatar Sep 18 '20 15:09 rozetkinrobot

guys, I managed to fix it just by uninstalling WSL2 and installing again. Just follow common Microsoft guide:

Run in PowerShell as admin:

DISM /online /disable-feature /featurename:VirtualMachinePlatform /norestart DISM /online /disable-feature /featurename:Microsoft-Windows-Subsystem-Linux /norestart

Reboot, and again:

dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart

Reboot, and again:

wsl --set-default-version 2

Note: you won't lose your Linux subsystem settings or files.

This happened two times with me, both solved the same way, now it's apparently stable. And now I've just updated to build 20215, let's see how it goes...

This did not work.

EtienneT avatar Sep 18 '20 19:09 EtienneT

This is a critical issue and affects my work from day to day. WSL is simply useless. Two critical things that should be addressed are followng:

(1) WSL is not working, fix it. (2) Everytime I connect o VPN, the network within WSL is not working anymore.

Until those issues are seriously fixed, I am running Linux natively for now.

xexpanderx avatar Sep 21 '20 15:09 xexpanderx

maybe I should use Ubuntu natively

woodygithub avatar Sep 22 '20 05:09 woodygithub

Please update the system: https://blogs.windows.com/windows-insider/2020/09/22/announcing-windows-10-insider-preview-build-19042-541-20h2/

frankdavidcorona avatar Sep 23 '20 09:09 frankdavidcorona

@xexpanderx @woodygithub can someone confirm that this update fixes the problem ? thx!

wadjeroudi avatar Sep 23 '20 19:09 wadjeroudi

insider 20221.1000 dont work

diannaojiang avatar Sep 24 '20 05:09 diannaojiang

Can confirm with 20221.1000, it is still not working. Same symptoms as before.

xexpanderx avatar Sep 26 '20 09:09 xexpanderx

20221.1000 is not working. Even wsl typed into a admin powershell just hangs.

Shahaed avatar Sep 29 '20 23:09 Shahaed

@wadjeroudi what update

woodygithub avatar Sep 30 '20 02:09 woodygithub

Is fix for me in 20226

JeromeFarin avatar Oct 01 '20 06:10 JeromeFarin

Yes, me to in 20226. Now, just the network issue, and WSL can finally be used.

xexpanderx avatar Oct 01 '20 09:10 xexpanderx