Systemd: how to get into rescue mode

Tom H tomh0665 at gmail.com
Sat Jan 11 03:04:42 UTC 2020


On Sat, Jan 11, 2020 at 1:52 AM Little Girl <littlergirl at gmail.com> wrote:
> Ralf Mardorf via ubuntu-users wrote:
>> On Fri, 10 Jan 2020 17:19:26 -0500, Little Girl wrote:


>>> Better yet, you can avoid the translation altogether by using
>>> systemctl reboot to reboot the computer
>>
>> OTOH we could and IMO should use
>>
>> https://packages.ubuntu.com/bionic/amd64/systemd-sysv/filelist
>>
>> shutdown -r now
>>
>> to reboot right "now" or at a specified time on probably all Linux
>> and BSD.
>>
>> AFAIK "shutdown" doesn't belong to the Portable Operating System
>> Interface standard, but it's anyway a portable command.
>>
>> IMO we shouldn't lose too much portability.
>
> That command will work from an ordinary terminal (although I prefer
> the Alt + Shift + SysRq REISUO method so that everything is nice and
> neat and there are no loose ends).

In a default install, REISUB and REISUO will fail because, for
example, E and I aren't allowed.

"systemctl poweroff" and all of its systemd-sysv equivalents are just
as "nice and neat" and have "no loose ends."


> The ones above, however, are for use from within a Systemd target.

All of these commands are for use within any runlevel / systemd target.




More information about the ubuntu-users mailing list