Objective
Learning about systemd emergency and rescue targets and how to boot the system into them
Requirements
- No special requirements
Difficulty
EASY
Conventions
- # – requires given linux commands to be executed with root privileges either
directly as a root user or by use ofsudo
command - $ – requires given linux commands to be executed as a regular non-privileged user
Introduction
Systemd has nowadays become the de facto standard init system
for all the major Linux distributions.
Superseding SysV and upstart, it also replaced the classical way of defining system runlevels
, using system targets
, a special type of unit
.
In this tutorial we will see how to boot an Ubuntu 18.04 system into the emergency
and rescue
systemd targets, and what kind of environment they provide to the users.