Systemd 默认目标问题
Systemd default target issue
我发出了错误的 systemctl.unit 指令,现在我无法到达 shell。
我在 fedora 23 上,我通过发出
更改了运行级别
systemctl set-default rescue.target
现在救援模式卡住了,再也不会出现 shell。
我试过加入内核
systemd.unit=graphical.target
但我总是被踢到救援模式
尝试将以下行传递给内核参数:
systemd.unit=multi-user.target
对于 rescue.target
,bash
通常应该已经启动。
也许在 rescue.target
之前有些东西不起作用并阻止 systemd
达到 bash
。
尝试:
systemd.unit=emergency.target
甚至通过:
init=/bin/sh
我发出了错误的 systemctl.unit 指令,现在我无法到达 shell。
我在 fedora 23 上,我通过发出
更改了运行级别systemctl set-default rescue.target
现在救援模式卡住了,再也不会出现 shell。
我试过加入内核
systemd.unit=graphical.target
但我总是被踢到救援模式
尝试将以下行传递给内核参数:
systemd.unit=multi-user.target
对于 rescue.target
,bash
通常应该已经启动。
也许在 rescue.target
之前有些东西不起作用并阻止 systemd
达到 bash
。
尝试:
systemd.unit=emergency.target
甚至通过:
init=/bin/sh