This guide will help you install systemd to run as normal under WSL2 Debian. This will allow services like microk8s, docker, cockpit and many more to just work during a WSL session. Note: this was tested on Windows 10 Build 21H2, running Debian 11 in WSL2. To enable systemd under WSL we require a tool called systemd-genie Download install-sg.sh to a temporary location /tmp: Make it executable: Run the…
Month: March 2022
Upgrading WSL2 Debian 10 to 11
This a relatively easy upgrade, so it’s worth doing in situ if you’ve customized your distro. If you haven’t done anything you’d like to keep from your current installation, you can always download a fresh copy from the Microsoft Store. First order of business is to open PowerShell and backup your current installation. Switch to…