Systemd: how to get into rescue mode
Little Girl
littlergirl at gmail.com
Sat Jan 11 04:44:05 UTC 2020
Hey there,
Tom H wrote:
>On Fri, Jan 10, 2020 at 11:13 PM Little Girl wrote:
>> The telinit man page shows that "telinit may be used to change the
>> SysV system runlevel. Since the concept of SysV runlevels is
>> obsolete the runlevel requests will be transparently translated
>> into systemd unit activation requests."
>>
>> As a result, once you're in a Systemd target, you should be able to
>> type telinit 0 (that's telinit followed by a zero) to shut down the
>> computer for a hard reset or telinit 6 to reboot the computer.
>
>"telinit" is a sysvinit command but the "systemd-sysv" package
>provides it as a symlink to systemctl just like other executables
>that are provided/needed by sysvinit (except for "init" which is
>symlinked to systemd of course!)
Yep. I left my quotes in from the message you replied to.
Note that runlevels are now obsolete, so telinit commands are
being translated into systemd (as shown above) and will probably only
be available temporarily during whatever segment of time the devs
decide is a good transition period, which was why I amended my
suggestion with the current (rather than the obsolete ones above)
commands in the message I sent right after that one.
--
Little Girl
There is no spoon.
More information about the ubuntu-users
mailing list