Code: Select all
systemctl set-default basic.target
This happened on my raspberry pi 4.
I removed the sd card and plugged it into another system and was able to get the system working again
I had to delete from /etc/systemd/system/default.target (this was a symbolic link to basic.target unit file)
I am able to get back into my system now. I have a lot of reading to do to learn systemd properly arg
Posting this in case some one else does the same stupid thing.
This is also a reminder to myself to not do it again.