Interview Prep/Linux/Boot Process & Kernel

What is the difference between BIOS and UEFI booting?

IntermediateConceptBoot Process & Kernel
Answer

In one line: BIOS and UEFI are both firmware that start the boot process. BIOS is the old way; UEFI is the modern replacement used on almost all new machines and cloud servers.

The difference, simply explained:

BIOS (legacy) UEFI (modern)
How it finds the bootloader Reads the first 512 bytes of the disk (the MBR) Reads a small FAT32 partition called the EFI System Partition, usually at /boot/efi
Disk size it supports Up to 2 TB (MBR partition table) Much larger disks (GPT partition table)
Security No built-in protection Secure Boot — only runs signed bootloaders and kernels
Speed and features Basic Faster, with a boot manager and more options

Example — check which one your machine uses:

[ -d /sys/firmware/efi ] && echo "UEFI" || echo "BIOS"

Why it matters for DevOps: when you build machine images (AMIs, VM templates) or troubleshoot a server that won't boot, you need to know whether it boots in UEFI or BIOS mode, because the bootloader setup is different.

All Linux questions Roadmap: Linux

More on Boot Process & Kernel