MicrosoftDocs / WSL

Source code behind the Windows Subsystem for Linux documentation.
https://docs.microsoft.com/windows/wsl
Other
1.87k stars 554 forks source link

Wsl/InstallDistro/E_UNEXPECTED #1960

Open vinezhang opened 1 month ago

vinezhang commented 1 month ago

Type of issue

Typo

Feedback

${user}/AppData\Local\Packages was remove by manual.when i run wsl ,it printed out below message: AppData\Local\Packages\CanonicalGroupLimited.Ubuntu22.04LTS_79rhkp1fndgsc\LocalState\ext4.vhdx”附加到 WSL2: 系统找不到指定的路径。 Error code: Wsl/Service/CreateInstance/MountVhd/HCS/ERROR_PATH_NOT_FOUND

then , i unregister it by wslconfig ,and executed "wsl --unmount" command. but when i run "wsl --install Ubuntu-22.04" it still printed out an another Error:Error code: Wsl/InstallDistro/E_UNEXPECTED How to fix it?

Page URL

https://learn.microsoft.com/zh-cn/windows/wsl/disk-space

Content source URL

https://github.com/MicrosoftDocs/wsl/blob/main/WSL/disk-space.md

Author

@craigloewen-msft

Document Id

73eaaa84-4649-3c39-6116-1c62b713a4c3