Systemd: how to get into rescue mode

Little Girl littlergirl at gmail.com
Sat Jan 11 04:50:03 UTC 2020


Hey there,

Tom H wrote:
>On Fri, Jan 10, 2020 at 11:21 PM Little Girl wrote:

>> Better yet, you can avoid the translation altogether by using
>> systemctl reboot to reboot the computer or using systemctl poweroff
>> to shut down the computer for a hard reset.  

>As I've just pointed out in my previous email, you can use "telinit
>0" when running systemd because "systemd-sysv" provides symlinks to
>"systemctl".

As I've pointed out in my previous messages, I know you can, but
since runlevels are obsolete, it's probably not a good idea to use
telinit after all and would be better to learn the current Systemd
commands for use in Systemd. The commands I recommended above
don't need to be translated the way the obsolete telinit commands do,
so they're more future-proof.

>For example, "telinit 0" and "shutdown -P now" and "shutdown -hP now"
>and "poweroff" and "halt -p" are all shorthand for "systemctl
>poweroff".

Okay.

-- 
Little Girl

There is no spoon.




More information about the ubuntu-users mailing list