I had an electrician doing some works recently and the power was cycle'd on/off a few times. It seems that HAOS (running x86/64 directly on a Beelink mini PC) had gotten itself stuck at the boot loader with the following message:
Welcome to emergency mode! After logging in, type "journalctl -xb" to view
system logs, "systemctl reboot" to reboot, "systemctl default" or ^D to
try again to boot into default mode.
(or press Control-D to continue):
I just stuck a monitor/KB on it and did control-D, completed a proper shutdown the CLI and rebooted it and it booted fine again. This is obviously a bit of a pain in the ass. Is there any way to default skip past this since the box is headless and if I'm not at home following a powercut, it leaves my other half slightly fubar...