Systemd: how to get into rescue mode

Volker Wysk post at volker-wysk.de
Sat Jan 11 05:36:33 UTC 2020


Am Freitag, den 10.01.2020, 17:11 -0500 schrieb Little Girl:
> Hey there,
> 
> Volker Wysk wrote:
> 
> > This works! I've tried it with "systemctl isolate multi-
> > user.target",
> > and then "systemctl isolate rescue.target". But, when you
> > afterwards
> > type ctrl-D or "exit", it stands still with the ubuntu symbol, with
> > the dots under the "ubuntu" lettering. It's the same with typing
> > "systemctl isolate default.target" instead. So you have to do a
> > reboot.
> 
> This page gives a quick overview of (now obsolete) runlevels and
> suggests that the telinit command used to be used to change runlevels
> in a running system:
> 
> https://www.tldp.org/LDP/sag/html/run-levels-intro.html

That page isn't found.


> 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.

I'd rather use "reboot" (or "poweroff"). With "hard reset" I meant the
reset button at the case of the computer.

Cheers
Volker





More information about the ubuntu-users mailing list