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
- Find the failed unit and the reason in the journal.
- Compare fstab with the filesystems that exist.
- Make root writable, correct the UUID with sed -i, reload and mount.
- Prove it: findmnt for /data and findmnt --verify.
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
findmnt /data
findmnt --verifyShow the solution
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 --verifyTake both UUIDs from the outputs: the old one from fstab, the new one from lsblk -f.