Here: how to fix the line from the emergency shell and bring the boot to the normal mode.
The order of the repair (in the Wiki):
findmnt -no OPTIONS /— can the root be written to. On this machine it saysrw: systemd remounted the root before the cache failed. If the options sayro, runmount -o remount,rw /first.- Fix the line in
/etc/fstabaccording to the journal message, in nano or vim. systemctl daemon-reload— systemd rereads fstab and recreates the mount units.mount -a— no errors means the table is in order.systemctl default— continue the boot to the normal target.systemctl rebootchecks the boot from scratch.
The emergency message also offers exit or Control-D, but here they do not leave emergency mode: the shell opens again. systemctl reboot without a fix leads to the same place.
Fix the line from the emergency shell
The machine is in emergency mode because of the /srv/cache line (if not, reboot it with sudo reboot). In the emergency shell fix the line according to the journal message, keeping the cache in memory, check the table by mounting it and continue the boot.
Goals · 0 of 2
- Fix the cache line in fstab not done yet
- Bring the boot to the normal mode not done yet
To look into the failure later, in the normal mode, use the journal of past boots: sudo journalctl --list-boots lists the boots, sudo journalctl -b -1 -p err shows the errors of the previous one.