WSL kernel version too low
时间: 2023-10-13 12:02:51 浏览: 133
WSL 2 需要更新其内核组件
Hello, it seems like you're facing an issue with the WSL (Windows Subsystem for Linux) kernel version being too low. To resolve this issue, you can follow these steps:
1. Update Windows 10: Ensure that you have the latest version of Windows 10 installed on your system. You can check for updates by going to Settings > Update & Security > Windows Update.
2. Enable WSL feature: Open PowerShell as an administrator and run the following command:
```
dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart
```
3. Update the WSL kernel: Microsoft provides a separate update package for the WSL kernel. You can download and install the latest version from the following link:
https://aka.ms/wsl2kernel
4. Set WSL 2 as default: Open PowerShell as an administrator and run the following command:
```
wsl --set-default-version 2
```
5. Install a Linux distribution: Open the Microsoft Store and search for your preferred Linux distribution (e.g., Ubuntu, Debian, etc.). Install the distribution of your choice.
6. Set up the Linux distribution: Launch the installed Linux distribution from the Start menu and complete the initial setup process.
After following these steps, your WSL should be updated to the latest kernel version, and you should no longer encounter the "WSL kernel version too low" error.
阅读全文