Linux Troubleshooting

Linux won’t boot: recovery flow

Work through boot failures methodically — from kernel panic to fstab typos.

16 min read Intermediate Updated 9 Jun 2026

Step-by-step guide

Work through each section in order. Stop when your issue is resolved — you do not need every step for every situation.

Warning

Use a sudo-capable account, keep shell history for audit, and back up critical paths before changing boot, SSH, or package state.

What you will achieve

Work through boot failures methodically — from kernel panic to fstab typos.

1) Use GRUB advanced options

Boot older kernel or recovery mode if current kernel fails.

2) Repair filesystem and initramfs

sudo fsck -f /dev/sdXY
sudo update-initramfs -u

3) Check failing services after boot

systemctl --failed
journalctl -b -p err --no-pager

Related guides

boot linux recovery