Zend certified PHP/Magento developer

Headless debian based system sometimes gets stuck and needs press Enter to continue

I’m running a bunch of headless systems based on arm cpu board PI Zéro W with Debian 10 Buster fork Raspbian OS.

It globally works pretty well, but from time to time, some of them crashes. Most of the time, they reboot, but some of them gets stucked.

I recently found out that on the firt attempt of restart, and if I plug in screen and keyboard, I get those lines printed on screen :

[ TIME ] Timed out waiting for device /dev/disk/by-partuuid/e8ad2802-01.
[DEPEND] Dependency failed for File System Check on /dev/disk/by-partuuid/e8ad2802-01. [DEPEND] Dependency failed for /boot.
[DEPEND] Dependency failed for Local File Systems.
         Starting Set console font and keymap...
         Starting Preprocess NFS configuration...
[  OK  ] Stopped Forward Password Requests to Wall Directory Watch.
[  OK  ] Reached target Timers.
[  OK  ] Closed Syslog Socket.
[  OK  ] Reached target Login Prompts.
[  OK  ] Reached target Network.
[  OK  ] Reached target Sockets.
[  OK  ] Reached target Paths.
[  OK  ] Started Emergency Shell.
[  OK  ] Reached target Emergency Mode.
Starting Tell Plymouth To Write Out Runtime Data...
[ OK ] Reached target Local Encrypted Volumes.
[ OK ] Started Set console font and keymap.
[ OK ] Started Preprocess NFS configuration.
[ OK ] Started Tell Plymouth To Write Out Runtime Data.
[ OK ] Reached target NFS client services.
[ OK ] Reached target Remote File Systems (Pre).
[ OK ] Reached target Remote File Systems.
You are in emergency mode. After logging in, type “journalctl -xb” to view system logs, “systemctl reboot” to reboot, “systemctl default” or “exit” to boot into default mode.

Cannot open access to console, the root account is locked.
See sulogin(8) man page for more details.

Press Enter to continue.

When I press enter, it continues and finally boots. Apparently in “Emergency mode” (which seems to change nothing to the behavior of my systems).

But, as I said, my systems are headless… Which means that I can’t plug anything to them when they are in use…

I did investigate on e8ad2802-01 And I found out using

sudo cat /etc/fstab
proc                  /proc           proc    defaults          0       0
PARTUUID=e8ad2802-01  /boot           vfat    defaults          0       2
PARTUUID=e8ad2802-02  /               ext4    defaults,noatime  0       1
# a swapfile is not a swap partition, no line here
#   use  dphys-swapfile swap[on|off]  for that

It seems that my system timed out trying to mount my boot partition, is’nt it ?

My questions are :

  • What exactly the meaning of those lines ? Has my system disk (SD card) been damaged during the crash ?
  • Is “Press Enter to continue” the default behavior for every Debian based systems or is it specific to the Raspbian ? Is there a way to change this behavior ?
  • Last but very not least : is there a way to skip the “Press Enter to continue” part so that my systems will remain headless ?