Pcornel
Linux · Linux Troubleshooting

Boot Failure

Cheat sheet · https://pcornel.dk/topic.php?topic=2911

Back to the Topic

Answer

A boot failure means the system does not reach its normal target: it stops in firmware, GRUB, the kernel, the initramfs or emergency mode.

Remember

Identify the last stage on the console. Boot the previous kernel, or rescue/emergency mode, to repair. Most post-change boot failures are fstab entries, a new kernel/initramfs, or a full /boot.

First checks

  • journalctl -b -p err — errors this boot
  • systemctl --failed — failed units
  • df -h; df -i — space and inodes
  • ss -tulpn — listening sockets
  • dmesg -T | tail — recent kernel messages

Commands

journalctl -b -p warning --no-pager
Read-only/validation observation for warning-or-higher journal records from the current boot.
journalctl -xb
systemctl --failed
journalctl -D <path>
journalctl -b

Verify in this order

power on → firmware → GRUB → kernel → initramfs → root mount → systemd → target

Where it usually breaks

First mismatch in persistent intent → provider/parser/generator → kernel/userspace runtime → dependency/security context → logs/counters → consumer-visible read-back; preserve identity/native diagnostic/pre-state before mutation.

Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=2911

Confirmation

Confirm action

Continue?