Step 6 of 7 · lab · 20 min
The machine after a reboot
The power went off at night, and the reports machine did not come back into service — the console shows emergency mode. Find what stopped the boot, fix it and make the machine boot by itself with the reports in place.
Situation
The power in the server room went off at night. After it came back, the shop's reports machine did not return to
service: its console shows emergency mode. The reports live on a separate disk that is mounted at /srv/reports.
The terminal is now this machine's console. If you see no prompt, press Enter.
Task
Bring the machine back into service so that it boots by itself:
- After a reboot the machine boots into the normal mode, without emergency mode:
systemctl is-system-runninggivesrunning. - The reports disk is sound, and the check at boot passes. Do not create the disk anew and do not change the
/srv/reportsline in/etc/fstab: the check at boot and the required mounting of the disk stay. /srv/reportsis mounted from the reports disk, the 2026 reports in/srv/reports/2026are intact.
In emergency mode you are root, sudo is not needed. "Check" answers in emergency mode too, but it counts a boot that
went without it: after the fix, reboot the machine — systemctl reboot.
There is no internet on the machine.
Lab · on your own
No commands are given in this lab: type them in the terminal yourself. Goals are checked on the machine after every command.
Goals
0 of 3-
After a reboot the machine boots into the normal mode, without emergency mode (systemctl is-system-running — running) — not done yet
-
The reports disk is sound and the same one (not created anew), the check at boot passes — not done yet
-
/srv/reports is mounted from the reports disk, the 2026 reports are intact — not done yet
The machine is starting
Hints
0 of 3Lab goals
0 of 3-
After a reboot the machine boots into the normal mode, without emergency mode (systemctl is-system-running — running) — not done yet
-
The reports disk is sound and the same one (not created anew), the check at boot passes — not done yet
-
/srv/reports is mounted from the reports disk, the 2026 reports are intact — not done yet
Goals are checked on the machine after every command.