My Manjaro installation often fails to boot. I’d say about 50% of the time. I looked and compared the output of
journalctl -d (the latest successful boot) vs
journalctl -d -1 (the unsuccessful boot before it) and what I see is that the unsuccessful boot’s log doesn’t show any errors explicitly and terminates at the following output:
systemd-journald: Time spent on flushing to var/log/journal/5fc951759f6d4b6a8ccd4f1fb4460120 is 22.272ms for 800 entries.
The successful boot goes on like this
systemd-journald: Time spent on flushing to /var/log/journal/5fc951759f6d4b6a8ccd4f1fb4460120 is 7.713ms for 802 entries.
systemd-journald: System Journal (/var/log/journal/5fc951759f6d4b6a8ccd4f1fb4460120) is 4.0G, max 4.0G, 0B free.
Does this mean the failure happens in systemd-journald? Or is it just that the log wasn’t properly flushed during the unsuccessful boot?
If the log is cut off short, then what can I do to investigate the boot failure?