Reputation: 1669
I issued the wrong systemctl.unit directive and now I cannot get to a shell.
I am on fedora 23, I changed runlevel by issuing
systemctl set-default rescue.target
Now the rescue mode gets stuck and never brings up the shell.
I have tried adding to the kernel
systemd.unit=graphical.target
But I keep getting kicked to rescue mode
Upvotes: 0
Views: 1179
Reputation: 1093
Try pass the following line to kernel param:
systemd.unit=multi-user.target
With rescue.target
the bash
should normally already be brought up.
Maybe there is something not working even before rescue.target
and prevent systemd
reaches bash
.
Try:
systemd.unit=emergency.target
or even pass:
init=/bin/sh
Upvotes: 2