Boot Failure
Cheat sheet · https://pcornel.dk/topic.php?topic=2911
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 bootsystemctl --failed— failed unitsdf -h; df -i— space and inodesss -tulpn— listening socketsdmesg -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 -xbsystemctl --failedjournalctl -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