Bootloader
Cheat sheet · https://pcornel.dk/topic.php?topic=2729
Answer
The bootloader is loaded by firmware and loads the kernel and initramfs with a kernel command line. GRUB 2 is the common Linux bootloader; systemd-boot is an alternative on UEFI.
Remember
Regenerate the configuration after changes rather than editing generated files. Keep at least one older kernel as a fallback entry.
First checks
systemd-analyze— boot time per stagejournalctl -b -p err— errors in this bootjournalctl --list-boots— previous bootscat /proc/cmdline— kernel command line used
Verify in this order
bootloader loaded → reads its configuration → menu → loads kernel and initramfs with the command line
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=2729