我在 Windows 和 Linux 上都是菜鸟,所以请耐心等待。
在使用了一些命令之后,rm -rf bin我的 WSL2 发行版退出了,现在当我尝试通过 Windows 终端启动它时,我得到以下信息:
Processing fstab with mount -a failed.
<3>WSL (10) ERROR: CreateProcessEntryCommon:570: execvpe /bin/bash failed 2
<3>WSL (10) ERROR: CreateProcessEntryCommon:579: Create process not expected to return
[process exited with code 1 (0x00000001)]
Run Code Online (Sandbox Code Playgroud)
我只安装了一个发行版。
Ubuntu 20.04
Windows 11 Version 10.0.22000 Build 22000
Run Code Online (Sandbox Code Playgroud)
WSL 版本:
PS C:\Users\Andreas> wsl -v
WSL version: 1.0.3.0
Kernel version: 5.15.79.1
WSLg version: 1.0.47
MSRDC version: 1.2.3575
Direct3D version: 1.606.4
DXCore version: 10.0.25131.1002-220531-1700.rs-onecore-base2-hyp
Windows version: 10.0.22000.1335 …Run Code Online (Sandbox Code Playgroud)