Boot Failure Recovery

Get a Linux machine that will not boot, or boots into emergency mode, back: establish a way in that survives the failure (console, cloud rescue or volume detach), read the previous boot's journal (journalctl -b -1, enabling persistence if volatile), triage by stage (bootloader, initramfs, root mount, units). The usual culprit is an fstab entry for a missing device: boot to rescue.target, fix with UUIDs, add nofail and x-systemd.device-timeout= for non-root mounts, validate with findmnt --verify and mount -a before any reboot. For slow boots use systemd-analyze critical-chain, not blame. Use for "emergency shell after reboot", "a start job is running for dev-disk-by-uuid", "fstab typo and it will not come up" or "slow boot". Not for one service after a good boot (systemd-unit-failure), a login that is refused (ssh-access-debugging) or running the outage (incident-response).

greenblacked Updated
The twenty-nine plugins: coding, family, gamedev, operations, delivery, security, manager, personal, career, design, llm, data, techdocs, assurance, client-apps

File contents

greenblacked/AI commit 0c807c86fb

Frequently asked questions

npx get-skill add greenblacked/boot-failure-recovery