Forum Discussion
Byron Boudreaux
Nov 24, 2020Copper Contributor
WSL 2 not working after installing 20262
Just getting involved with Insider Preview...upgraded 2019 Datacenter (latest official release) to 20262. After the upgrade, downloaded and ran the Linux Kernel update package. When running WSL commands from the command-line, almost every command I run returns the same output that wsl --help enumerates. If I run wsl --set-default-version 2, it enumerates the help context. Did I miss a step to get this to work or is this a known bug?
- LubomirHBrass Contributor
build 20289 still with the same issue
Why isn't the not working WSL2 as part of the Known Issues?
I am just wondering if it is part of some automatic tests or not.
thanks for any answer
LH
- Byron BoudreauxCopper Contributor
LubomirH I believe this issue persists because the product team does not intend to ship WSL in Windows Server.
- LubomirHBrass Contributor
- tbertenshawCopper Contributor
- LubomirHBrass ContributorYes I did, it's in my first post.
I have tried both freshly installed build 20287 and also inplace upgrade of working WSL2 in 20241 to 20287, but the result is the same e.g. no working WSL2 ๐- tbertenshawCopper Contributor
LubomirH ok thats a shame. It wasn't clear in your post that you had done a fresh install,as well as an upgrade.
- tbertenshawCopper ContributorCould someone please clarify if this will be reinstated? and why it was removed. Its a really excellent development addition and it missing breaks my development experience. ๐
- LubomirHBrass Contributor
I have tried on build 20285 and 20287 and the same experience.
I couldn't find any feedback, so I wrote one https://aka.ms/AAaz6yv
please upvote it
Regards
LH
- LubomirHBrass Contributor
BTW the last build where it works is build 20241.
first go to insider website and sign-in Download Windows Server Insider Preview (microsoft.com)
Then you can generate the link to download the older build here
After successfully installing a distro inside the build 20241 I have tried in-place upgrade to the latest 20287, which finished OK, but it doesn't only brakes the "wsl --set-default-version 2" command, it doesn't want to start the distro anymore, the error is something about mount failed.
- Taylor Brown
Microsoft
Byron Boudreaux WSL 2 will not be included with the next LSTC of Windows Server, it was included in the SAC releases but was not in Windows Server 2019 (the prior LTSC).
- fpaquinCopper Contributor
Taylor Brown So you said WSL2 will not be available in the 20270 build ? or should be but there is a bug ?
- Deletedbruh
- danielgubeCopper Contributor
- OlmergCopper Contributor
I have the same problem, wsl and docker does not start. It is a little random, but if I restart the PC sometimes it start again.