How to Boot Oracle Linux 7 into Rescue and Emergency Modes via systemd
(Doc ID 2153996.1)
Last updated on JUNE 23, 2021
Applies to:Oracle Cloud Infrastructure - Version N/A and later
Linux OS - Version Oracle Linux 7.0 and later
This article describes how to configure Oracle Linux 7 (OL7) to boot into rescue and emergency modes.
In OL7, both rescue mode and emergency mode are systemd targets (that replace runlevels of previous OL versions).
Rescue mode is equivalent to single user mode and requires the root password.
Rescue mode allows the system to be repaired in situations when it is unable to complete it's regular boot process. Rescue mode attempts to mount all local filesystems and start important system services, however does not activate network interfaces, nor allow multiple users to be logged in.
Emergency mode provides a minimal environment allowing the system to be repaired even in situations when the system is unable to enter rescue mode. In emergency mode, the system mounts the root file system as read-only, does not attempt to mount other local fileystems and does not activate network interfaces.
In the event that Oracle Linux is unable to completely boot at all, refer to How to Bootup Oracle Linux 7.x into Rescue Mode From ISO Image.
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!
In this Document
|Booting into Emergency mode (target)|
|Booting into Rescue mode (target)|
|Booting to systemd Debug Shell|
|Switching to Emergency mode (target)|
|Switching to Rescue mode (target)|