I installed WSL 2 with Ubuntu 22.04.
When I try to check the WSL kernel in PowerShell, I am getting this result:
PS C:\Users\user> wsl --status
Default Distribution: Ubuntu-22.04
Default Version: 2
Windows Subsystem for Linux was last updated on 6/7/2022
WSL automatic updates are on.
Kernel version: 5.10.102.1
From the above message, I am assuming that I am using Linux kernel 5.10.102.1.
But when I run Ubuntu and use uname -a, I am getting a different Linux kernel:
user@DESKTOP-:/mnt/c/Users/user$ uname -a
Linux DESKTOP-VMP6T3Q 4.4.0-19041-Microsoft #1237-Microsoft Sat Sep 11 14:32:00 PST 2021 x86_64 x86_64 x86_64 GNU/Linux
Which says that the Linux kernel is 4.4.0.
My questions:
- Which version of Linux kernel am I using?
- If it is 4.4.0, How can I upgrade it to 5.x?
- If it is 5.10, how can I check to make sure that it is that version?