Skip to main content

Boot Loaders

Boot loaders load the Linux kernel and initramfs, pass parameters, and support multi-boot.

GRUB Configuration Location

Input:

ls /boot/grub*/grub.cfg

Output:

/boot/grub/grub.cfg

Shows the active GRUB configuration file.

References:

Listing Installed Kernels

Input:

ls /boot/vmlinuz-*

Output:

/boot/vmlinuz-6.6.0
/boot/vmlinuz-6.1.0

Useful to verify available kernel versions for bootloader entries.

References:

Examining Kernel Parameters

Input:

cat /proc/cmdline

Output:

BOOT_IMAGE=/vmlinuz-6.6.0 root=/dev/sda1 ro quiet splash

Shows parameters passed by the bootloader to the kernel.

References: