Cannot Update from WSL 1 to WSL 2 #5922
Replies: 4 comments 7 replies
-
Did you enable this Windows update option? I believe you need it enabled. Edit:
|
Beta Was this translation helpful? Give feedback.
-
I have that Windows option Enabled
|
Beta Was this translation helpful? Give feedback.
-
I have the same problem.the same win version(Version 10.0.19041.508).i can't upgrade to wsl2 always |
Beta Was this translation helpful? Give feedback.
-
You want As an aside, "Legacy" is not all that common to have around anymore. The |
Beta Was this translation helpful? Give feedback.
-
Environment
Steps to reproduce
I need to update from WSL 1 to WSL 2.
I have read and followed these instructions : Windows Subsystem for Linux Installation Guide for Windows 10
These commands were run in Powershell(administrator) :
wsl -l -v
dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart
System Restart...
dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart
Virtualization Enabled as seen in Task-Manager:
System Restart...
wsl --set-default-version 2
I guess this is not the Expected output, because here it says the output should be :
WSL 2 requires an update to its kernel component. For information please visit https://aka.ms/wsl2kernel
wsl -l -v
WSL logs: https://aka.ms/AA9olbc
Expected behavior
The WSL should update from version 1 to version 2. That is after running command
wsl -l -v
in Powershell(administrator), it should say2
underVERSION
Actual behavior
Even after following the instructions to update WSL, it's version still remains
1
Beta Was this translation helpful? Give feedback.
All reactions