Closed LBates2000 closed 4 years ago
Mounting the vhdx in an Ubuntu VM and commenting out the line source /usr/sbin/start-systemd-namespace in /etc/bash.bashrc restored my WSL 2 terminal. I suspect the issue was that daemonize failed to install because of an existing issue with my package management system.
After running the script in my WSL 2 Pengwin distro, I can no longer open a terminal. The terminal window flashes a brief message "Cannot execute daemonize to start systemd" and immediately closes.
I can mount and navigate the vhdx, but am not clear exactly what to modify to revert the changes made by the script.
I'm assuming reverting the changes to /etc/bash.bashrc and removing usr/sbin/start-systemd-namespace and /usr/sbin/enter-systemd-namespace would be the place to start.
Thanks.