Single emergency mode with systemd

Just to remind myself.. add systemd.unit=emergency.target to the kernel line, or if that fails, try init=/sbin/sh and remove both quiet and rhgb options.

Afterwards, exit or:
exec /sbin/init

Can also enable debug mode to help investigating problems with systemd.log_level=debug

You can get a console early on in the boot process by enabling debug-shell:
systemctl enable debug-shell.service

2 thoughts on “Single emergency mode with systemd

  1. Actually, like on sysvinit just specifying “emergency” on the kernel cmdline is enough.

Leave a Reply

Your email address will not be published. Required fields are marked *