相关疑难解决方法(0)

系统尚未使用 systemd 作为 init 系统 (PID 1) 进行引导。无法操作

我在 Windows 11 上使用 WSL2。我想systemctl在 Ubuntu 20.04 中运行该命令,但它给了我以下错误:

System has not been booted with systemd as init system (PID 1). 
Can't operate. Failed to connect to bus: Host is down
Run Code Online (Sandbox Code Playgroud)

我该如何修复它?

boot windows-10 windows-subsystem-for-linux

200
推荐指数
2
解决办法
84万
查看次数