if this wsl-distribution don't support systemed?
TOLIE-OFFICIAL opened this issue · 5 comments
i run
sudo systemctl
and i got this error
System has not been booted with systemd as init system (PID 1). Can't operate. Failed to connect to bus: Host is down
if this wsl-distribution don't support systemed?
WSL distros do not support systemd by default you have to enable it your self, refer this - https://learn.microsoft.com/en-us/windows/wsl/wsl-config#systemd-support
solved! thx
@TOLIE-OFFICIAL Hey, how did you solve this problem? I can't seem to get it to work either.
Edit: I solved it. I had installed WSL the manual way as I didn't want to pre-install another distro. However this seems to give you an older version. So I disabled that WSL again via "Turn Windows features on and off" and then installed WSL again from the MS Store: https://aka.ms/wslstorepage. Now it works