LinuxCommandLibrary

systemctl-emergency

Enter minimal emergency recovery mode

TLDR

Enter emergency mode

$ systemctl emergency
copy
Enter emergency mode asynchronously
$ systemctl emergency --no-block
copy

SYNOPSIS

systemctl emergency [OPTIONS]

DESCRIPTION

systemctl emergency transitions the system to emergency mode (`emergency.target`). Emergency mode mounts the root filesystem read-only and starts only essential services needed for system recovery. It provides a minimal environment for repairing a broken system.
Emergency mode is more minimal than rescue mode and is typically used when rescue mode cannot start properly.

PARAMETERS

--no-block

Return immediately without waiting for the operation to complete

CAVEATS

Requires root privileges. Most services will be stopped. Network will be unavailable. The root filesystem is mounted read-only by default; remount with `mount -o remount,rw /` if needed for repairs.

HISTORY

The emergency subcommand provides a standardized way to enter the most minimal recovery mode, replacing the traditional init=/bin/sh boot parameter.

SEE ALSO

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community