/boot
Cheat sheet · https://pcornel.dk/topic.php?topic=2661
Answer
/boot holds the kernel images, initramfs files and bootloader configuration needed to start the system; it is often a small separate partition (and /boot/efi the EFI system partition).
Remember
Old kernels accumulate: remove them with apt autoremove or dnf remove --oldinstallonly. Never delete files there by hand unless you know which kernel is running (uname -r).
First checks
ls -ld <path>— owner, permissions and typestat <path>— inode, links, size and timestampsdf -h <path>— filesystem and free spacefindmnt <path>— which mount the path is on
Verify in this order
/boot mounted (or virtual) → correct owner and permissions → enough space → services read and write as intended
Where it usually breaks
First mismatch in hardware/block device → kernel driver/mapper/RAID/LVM → filesystem → mount namespace/options → path permissions/MAC → consumer I/O; 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=2661