移动Ubuntu后WSL无法识别且重装时出现MountVhd错误的解决求助
移动Ubuntu后WSL无法识别且重装时出现MountVhd错误的解决求助
大家好,我遇到了一个WSL相关的棘手问题,想请教一下各位怎么解决:
- 我原本打算把Ubuntu应用从SSD(C:盘)迁移到HDD(D:盘),就通过Windows「设置>应用>已安装应用」找到Ubuntu,使用了里面的移动功能。
- 结果迁移完成后,WSL完全识别不到我已经安装了Ubuntu,哪怕我把它移回C:盘也没有恢复正常。
之后我尝试通过PowerShell或者微软商店卸载并重新安装Ubuntu,但每次操作后都会弹出以下错误信息(重复出现三次):
Failed to attach disk 'C:\Users\sukes\AppData\Local\Packages\CanonicalGroupLimited.Ubuntu_79rhkp1fndgsc\LocalState\ext4.vhdx' to WSL2: The system cannot find the file specified. Error code: Wsl/Service/CreateInstance/MountVhd/ERROR_FILE_NOT_FOUND
最后还会提示 Press any key to continue...
有没有大佬能告诉我该怎么解决这个问题呀?
备注:内容来源于stack exchange,提问作者Shudhesh Velusamy
相关产品推荐
相关产品推荐

