MyBlog:https://x.medemede.cn/archives/win102004wsl2error0x800701bc
本来是想在 Github 上给 WSL 提个 issue 的,结果写着写着给整好了。所以暂时没有翻译过来,不过都挺简单的。可以直接看 Solution 部分。
Environment
Windows build number: 10.0.20161.0
Your Distribution version: ubuntu, ubuntu 20.04, ubuntu 18.04
Whether the issue is on WSL 2 and/or WSL 1: WSL2
Problem
- I follow here, installed WSL 2 and ubuntu.
- I run ubuntu from start menu, ERROR: 0x800701bc
Installing, this may take a few minutes...
WslRegisterDistribution failed with error: 0x800701bc
Error: 0x800701bc WSL 2 ?????????????????? https://aka.ms/wsl2kernel
Press any key to continue...
- I try to Updating the WSL 2 Linux kernel, but
A later version of the Windows Subsystem for Linux
Update is already installed. Setup will now exit
- I run
wsl --update --status
in powershell
The Windows subsystem for Linux was last updated on 2020-6-24
WSL automatic update enabled
The WSL2 kernel file cannot be found.
To update or restore the kernel, run 'wsl.exe --update'.
- I run
wsl.exe --update
in powershell
Checking for updates...
Used without update.
The WSL 2 kernel file was not found and may need to be reinstalled or repaired manually.
For more information, please visit https://aka.ms/wsl2kernel.
Solution
-
uninstall the Linux kernel (or
Windows Subsystem for Linux Update
) by running this program -
installed the msi again from https://aka.ms/wsl2kernel