Updating the WSL 2 Linux kernel

Tried to set to Windows 10 WSL to WSL 2 using this command "wsl.exe --set-default-version 2"

However, got this error "WSL 2 requires an update to its kernel component. For information please visit https://aka.ms/wsl2kernel"

To Upgrade the kernal, go to here "https://docs.microsoft.com/en-us/windows/wsl/wsl2-kernel" and install the update.

A very good guide from Ubuntu blog
https://ubuntu.com/blog/ubuntu-on-wsl-2-is-generally-available

 

No comments: