在windows应用商店安装ubuntu子系统错误

具体详情参考:超详细攻略


(一)报错 :WslRegisterDistribution failed with error: 0x8007019e==

1.报错详情:

Installing, this may take a few minutes…
Installation Failed!
Error: 0x8007019e
Press any key to continue…

2.原因:

未安装Windows子系统支持。

3.解决办法:
1).win+x,选择Windows PowerShell(管理员)
2).输入:

Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux

4.回车,输入Y,重启!


(二)拒绝用户访问

1.报错详情:

拒绝访问
Press any key to continue…

2.原因:
未知,仍待探索

3.解决办法:
以管理员的方式打开,root模式

注意:从root转到磁盘

cd /mnt

整个的安装过程还蛮简单的,用了linux感觉有点用不惯windows了,各种命令速度超快,比如rm,mv,cp,又很简单,推荐使用,不过C盘需要多留一点空间

Logo

为开发者提供学习成长、分享交流、生态实践、资源工具等服务,帮助开发者快速成长。

更多推荐