Interview Prep/Linux/Boot, time, cron and kernel

`journalctl -b -1` says `Specifying boot ID or boot offset has no effect, no persistent journal was found`.

BeginnerTroubleshootingBoot, time, cron and kernel
Answer

Likely causes → journald is in volatile mode (no /var/log/journal), so previous boots weren't saved.

Diagnose →

ls -ld /var/log/journal
grep -i '^Storage' /etc/systemd/journald.conf

Fix → For this incident, check /var/log/messages or syslog if rsyslog runs, or central logs. Then enable persistence: mkdir -p /var/log/journal && systemctl restart systemd-journald.

Prevent → Persistent journal in the base image.

All Linux questions Roadmap: Linux

More on Boot, time, cron and kernel