If you hit a boot error where there is a start job that cannot be terminated, you can enter the systemd debug shell.
To do this, at the systemd-boot menu, hit the e
key and specify: systemd.debug-shell=1
.
In the future you can do this in configuration.nix
:
systemd.additionalUpstreamSystemUnits = [ "debug-shell.service" ];
Then you can enter the shell on TTY9 and debug the problem.
From: https://unix.stackexchange.com/questions/544000/systemd-how-to-stop-a-start-job-without-limit
Like this problem: