You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

移动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

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.04.21 13:08:14