whatis bootloader

Bootloader (GRUB)

Also known as: GRUB, GRUB2, systemd-boot

The program firmware runs to load the Linux kernel and initramfs. GRUB is the most common; systemd-boot is a simpler UEFI-only option.

What Is a Bootloader (GRUB) in Linux?

GRUB shows the boot menu, lets you choose kernels or other operating systems, and passes kernel command-line parameters. Its config is generated from /etc/default/grub and /etc/grub.d/, not edited directly.

systemd-boot is minimal: it reads simple entry files from the ESP and has no scripting. Both let you press e at the menu to edit parameters for one boot, which is invaluable for recovery.

Example

sudo grub-mkconfig -o /boot/grub/grub.cfg