Fix journalctl -b -1 "No journal boot entry found"
When journalctl -b -1 finds nothing after a reboot, check whether the journal is persistent or volatile, then switch it to persistent storage with a drop-in.
You rebooted, ran journalctl -b -1 to read the previous boot, and got one line back instead of logs.
No journal boot entry found from the specified boot offset (-1).The journal has no boot with the number you asked for. Work through the steps below. The output comes from a directory (journal-copy) holding a single file copied from /var/log/journal, read with -D. That matches a server with persistent storage off, where the journal holds only the current boot.
[1] List the boots the journal knows about. The number you pass to -b is the IDX column.
# journalctl -D journal-copy --list-bootsIDX BOOT ID FIRST ENTRY LAST ENTRY 0 BOOTID Mon 2026-10-19 06:57:43 KST Mon 2026-10-19 14:37:03 KSTWith a single row, 0, there is no -1. Per the docs, -0 is the last boot and -1 the boot before it.
# journalctl -D journal-copy -b -1 -n 1 --no-pagerNo journal boot entry found from the specified boot offset (-1).# echo $?1[2] Check whether journal files exist on disk. Persistent storage lives in /var/log/journal, in-memory storage in /run/log/journal.
# ls -d /var/log/journal /run/log/journalIf /var/log/journal is missing, ls prints cannot access '/var/log/journal': No such file or directory. Everything is then under /run, in memory only.
[3] Read the effective configuration. Only read it; do not edit yet. cat-config merges the main files and drop-ins.
# systemd-analyze cat-config systemd/journald.conf | grep -E '^#?Storage='#Storage=autoThe docs define Storage= like this:
| Value | Behavior |
|---|---|
volatile | Memory only (/run/log/journal). |
persistent | Disk (/var/log/journal), created if needed, with a fallback to /run/log/journal during early boot or when the disk is not writable. |
auto | Acts like persistent if /var/log/journal exists, like volatile otherwise. |
none | Stores nothing; incoming data is dropped. |
A commented #Storage=auto means the option is unset, so the value is auto: the directory's existence decides the mode. If the value is auto and /var/log/journal was missing in step 2, that is the cause. An explicit volatile gives the same result. With none, nothing reaches the journal at all.
[4] Switch to persistent storage with a drop-in file.
[Journal]Storage=persistentPer the docs, persistent creates /var/log/journal if needed. Restart journald so it reads the change.
# mkdir -p /etc/systemd/journald.conf.d# systemctl restart systemd-journald# journalctl --flush--flush asks the daemon to move data from /run/log/journal to /var/log/journal when persistent storage is enabled. At boot, systemd-journal-flush.service does this.
[5] After the next reboot, confirm journalctl --list-boots shows more than one row. If storage was volatile until now, logs from before the reboot cannot be recovered: that setting keeps them in memory only.
Analyze your syslog · journal log in the browser ↗ — nothing is uploaded.