Win10 2004 WSL2 ERROR: 0x800701bc

94

本来是想在 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

  1. I follow here, installed WSL 2 and ubuntu.
  2. 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...

image.png

  1. 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

image.png

  1. 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'.
  1. 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

  1. uninstall the Linux kernel (or Windows Subsystem for Linux Update) by running this program

  2. installed the msi again from https://aka.ms/wsl2kernel


  1. 使用 此工具 卸载 Linux kernel (或者叫做 Windows Subsystem for Linux Update)
  2. 通过 此链接 下载 Linux 内核更新包,并且安装