> ubuntu2204.exe install --ui=none
Installing, this may take a few minutes...
WslRegisterDistribution failed with error: 0x800701bc
Error: 0x800701bc WSL 2 requires an update to its kernel component. For
information please visit https://aka.ms/wsl2kernel
PS C:\Users\ser> ubuntu2204.exe install --ui=none
Conversion in progress, this may take a few minutes...
For information on key differences with WSL 2 please visit https://aka.ms/wsl2
The requested operation could not be completed due to a virtual disk system limitation.
Virtual hard disk files must be uncompressed and unencrypted and must not be sparse.
%LOCALAPPDATA%/packages/
,找到包含Ubuntu软件包的文件夹(在我的情况下是CanonicalGroupLimited.Ubuntu22.04LTS_79rhkp1fndgsc
),然后在文件夹属性中取消勾选压缩内容以节省磁盘空间
(右键点击 -> 属性 -> 一般 -> 高级)。
wsl --shutdown
(3)运行wsl --unregister Ubuntu-22.04
。(4)然后运行ubuntu2204.exe install --ui=none
。你可能仍然会收到错误提示,但希望它能提供更多信息。 - NotTheDr01dsubuntu2204.exe install --ui=none
的时候出现错误了吗? - Esther