- An fstab line without
nofailthat does not mount stops the boot in emergency mode: the console holds a root shell, andsystemctl is-system-runningprintsmaintenance. journalctl -b -p errandsystemctl --failedshow the cause: the failed mount unit andDependency failed for local-fs.target.- The repair: the root writable, the fstab fix,
daemon-reload,mount -a, andsystemctl defaultorsystemctl reboot. - You choose rescue yourself when the filesystems are fine and you need to stop before the services.
- At the start of the lesson
findmnt --verifydid not notice theszie=typo in the options, the mount failed on it, and local-fs.target took the boot into emergency mode.
Step 7 of 7 · summary · 2 min
Summary
Found an inaccuracy? Report an error in the lesson