Sometimes PC stops at boot

Sometimes when i start my pc, Manjaro stops during boot and only resumes when i press enter. This is especially a problem if it happens when i’m starting the pc remotely with wake-on-lan, which makes it unusable until i’m at home to to fix it. I’ve checked the kernel log and i believe there is some fsck error that could be causing this. Is there some way to make it not wait for user input ?

A part of the kernel log is below. Around 16:15 is when it started booting and 17:14 is when i came home to press the key to resume booting.

Oct 12 16:15:43 mp-um350 systemd[1]: First Boot Complete skipped, unmet condition check ConditionFirstBoot=yes
Oct 12 16:15:43 mp-um350 systemd[1]: Rebuild Journal Catalog skipped, unmet condition check ConditionNeedsUpdate=/var
Oct 12 16:15:43 mp-um350 systemd[1]: Save Transient machine-id to Disk skipped, unmet condition check ConditionPathIsMountPoint=/etc/machine-id
Oct 12 16:15:43 mp-um350 systemd[1]: Update is Completed skipped, no trigger condition checks were met.
Oct 12 16:15:43 mp-um350 systemd[1]: Starting Record System Boot/Shutdown in UTMP...
Oct 12 16:15:43 mp-um350 systemd[1]: Finished Record System Boot/Shutdown in UTMP.
Oct 12 16:15:43 mp-um350 kernel: Bluetooth: hci0: Intel BT fw patch 0x43 completed & activated
Oct 12 16:15:48 mp-um350 systemd[1]: systemd-rfkill.service: Deactivated successfully.
Oct 12 16:21:05 mp-um350 kernel: EXT4-fs (sda3): error count since last fsck: 9
Oct 12 16:21:05 mp-um350 kernel: EXT4-fs (sda3): initial error at time 1777319432: __ext4_get_inode_loc_noinmem:4954: inode 26900763: block 107481009
Oct 12 16:21:05 mp-um350 kernel: EXT4-fs (sda3): last error at time 1777319433: ext4_journal_check_start:87
Oct 12 17:14:10 mp-um350 systemd[1]: plymouth-start.service: start-post operation timed out. Terminating.
Oct 12 17:14:10 mp-um350 systemd[1]: plymouth-start.service: Failed with result 'timeout'.
Oct 12 17:14:10 mp-um350 systemd[1]: Failed to start Show Plymouth Boot Screen.
Oct 12 17:14:10 mp-um350 systemd[1]: Dispatch Password Requests to Console Directory Watch skipped, unmet condition check ConditionPathExists=!/run/plymouth/pid
Oct 12 17:14:10 mp-um350 systemd[1]: Started Forward Password Requests to Plymouth Directory Watch.

This is the greater issue. The keypress to continue will not occur if there are no file system errors.

Basically Arch and Manjaro are setup by default to check file systems on boot using the fsck hook in mkinitcpio. This is generally a good thing as a system continuing to run with file system errors may also be loosing or corrupting data.

If you are getting repeated fsck errors after repairing the damage, you should do an extensive hardware test on that device and/or consider replacing it.

More info on fsck and how Arch/Manjaro run it at boot-time here:

You might consider actually running fsck or its equivalent btrfs-check if using a btrfs filesystem. If damages is indicated, that may fix it.

As you are using an ext4 filesystem, the following note in the same ArchWiki article answers that question.

Keep in mind that there can still be cases where fsck must be run manually. A better resolve might be to form a regular habit of checking the consistency of your disks.

primary disk with root and home is btrfs, mounted second disk is ext4

Alright, i did fsck -a /dev/sda3 on the ext4 disk and there were some errors. When running it second time it said clean so i think it could be fixed. Maybe it will be ok from now, will see. Thanks.


Moderator edit: Merged consecutive replies

I trust you unmounted the disk first.

Fortunately it gave me a warning so i did :slight_smile:

Never had any issue with ext4, even in the event of a hard turn off. The OP might also check the disk’s health.