systemd Boot
Cheat sheet · https://pcornel.dk/topic.php?topic=2733
Answer
systemd as PID 1 starts the system after the kernel: it mounts filesystems from fstab, starts units in parallel by dependency and reaches the default target.
Remember
systemctl is-system-running = degraded means some unit failed. systemd-analyze blame lists slow units; critical-chain shows what the boot waited for. A failing /etc/fstab entry often causes emergency mode — use nofail for non-critical mounts.
First checks
systemd-analyze blame— slowest unitssystemd-analyze— boot time per stagejournalctl -b -p err— errors in this bootjournalctl --list-boots— previous bootscat /proc/cmdline— kernel command line used
Commands
systemctl --failedjournalctl -b -p err
Verify in this order
PID 1 starts → mounts from fstab → units started in parallel by dependency → default target reached
Where it usually breaks
First mismatch in persistent unit/config/generator → dependency/order graph → systemd state → process/cgroup → socket/resource dependency → journal → consumer check; 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=2733