Linux Labs EspañolES

Hardware and boot Labs

Simulated: recover from emergency mode

Practitioner10 minSimulated terminalRHEL and Debian families

Objective

The host boots to multi-user again: /data is mounted from the new disk and fstab passes verification.

Requirements

  • Runs in the simulated terminal below. No VM needed.

Steps

  1. Find the failed unit and the reason in the journal.
  2. Compare fstab with the filesystems that exist.
  3. Make root writable, correct the UUID with sed -i, reload and mount.
  4. Prove it: findmnt for /data and findmnt --verify.
Simulated terminal
The simulated terminal needs JavaScript.

Not solved yet. Fix the problem, then run the verification commands.

This is a simulation in your browser. It accepts the common forms of each command. The output imitates a real server.

Verification

bash
findmnt /data
findmnt --verify
Show the solution
bash
systemctl --failed
journalctl -xb | grep -i "timed out"
cat /etc/fstab
lsblk -f
mount -o remount,rw /
sed -i 's/<old-uuid>/<new-uuid>/' /etc/fstab
systemctl daemon-reload
mount -a
findmnt /data
findmnt --verify

Take both UUIDs from the outputs: the old one from fstab, the new one from lsblk -f.