Recently I’ve been getting a paused black/bios post screen during shutdown or reboot, about 30 seconds, then an error flashes on the screen and the reboot continues normally.
Was trying to find some logs without luck, but I got a glimpse of the error - something to the effect of:
failed to unmount oldroot_sys
The only thing related to mounting I’ve done is auto mount my ntfs storage directories via fstab
from a guide a moderator posted: (don’t know if it’s related, the auto mount works fine)
It could be a systemd timeout. I use the following code to reduce the timeouts from 90s to 5s. Note this can cause issues if your os in on a spinning disk.
# fix systemd shutdown timeout
sudo sed -i -e "s/#DefaultTimeoutStopSec=90s/DefaultTimeoutStopSec=5s/g" /etc/systemd/system.conf
sudo sed -i -e "s/#DefaultTimeoutStartSec=90s/DefaultTimeoutStartSec=5s/g" /etc/systemd/system.conf
thanks, that decreased the reboot times - I was able to get more of the error message:
watchdog: watchdog0:watchdog did not stop! sd-moun failed to unmount /oldroot: device or resource busy sd-moun failed to unmount /oldroot/sys: device or resource busy shutdown: failed to finalize system, ignoring
that’s the gist of it… now I’m thinking it’s related to watchdog?
I added:
GRUB_CMDLINE_LINUX_DEFAULT=“quiet nowatchdog apparmor=1 security=apparmor udev.log_priority=3”
to /etc/default/grub like the guide describes,
then sudo update-grub and sudo mkinitcpio -P
but I still get the watchdog error shrug