文章目录
- 1. WslRegisterDistribution failed with error: 0x8007019e
- 2. WslRegisterDistribution failed with error: 0x80370102
- 3.WslRegisterDistribution failed with error: 0x800701bc
从Microsoft Store选择Ubuntu20.04下载安装完毕后,双击Ubuntu 20.04 LTS后报错:
1. WslRegisterDistribution failed with error: 0x8007019e
解决方法:
-
检查是否开启VT虚拟化
打开 任务管理器 -> 性能
如果没有启用需要更改BIOS设置,具体设置方法参考这篇文章
https://www.yuchen.xyz/2021/09/17/Note on Ubuntu/ -
检查相关Windows功能是否开启
win+Q键搜索->启用或关闭windows功能
检查是用与Linux的Windows子系统选项是否开启
-
打开Windows PowerShell(管理员),输入:
Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux
2. WslRegisterDistribution failed with error: 0x80370102
解决方法:
打开Windows PowerShell(管理员),输入:
wsl --set-default-version 1
3.WslRegisterDistribution failed with error: 0x800701bc
解决方法:
参考:https://www.yht7/news/30824
打开Windows PowerShell(管理员),输入:
dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart
dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart
这两个安装完成直接 重启 !!!
然后继续在Windows PowerShell(管理员)输入:
wsl --set-version Ubuntu-20.04 2
wsl -l -v
此时,点击Ubuntu 20.04 LTS,成功启动,OK!
更多推荐
Win11下Microsoft Store安装Ubuntu20.04踩坑解决指南
发布评论