Kahibaro
Discord Login Register

4.2.1 BIOS vs UEFI

Historical context and roles in the boot process

BIOS and UEFI are firmware interfaces that run before your operating system. In the overall boot sequence, they handle:

BIOS (Basic Input/Output System) is the older, legacy standard dating back to the early PC era. UEFI (Unified Extensible Firmware Interface) is its modern replacement, designed to overcome BIOS limitations.

On most modern hardware, you will see “UEFI firmware” rather than true legacy BIOS, although many UEFI systems can emulate BIOS for compatibility (“Legacy boot” / “CSM”).

Core architectural differences

Firmware location and structure

Boot device handling and boot path

This fundamental change—from “execute code at fixed disk offsets” to “load a file from a filesystem”—is one of the key distinctions.

Partitioning schemes: MBR vs GPT

BIOS and UEFI are closely tied to different partition table formats, though there is overlap.

For modern Linux installations on contemporary hardware, the standard approach is: UEFI + GPT + ESP.

How GRUB and other bootloaders differ between BIOS and UEFI

Linux distributions usually use GRUB (or sometimes systemd-boot, rEFInd, etc.). Their behavior changes depending on firmware mode.

GRUB on BIOS

GRUB on UEFI

Other UEFI-aware loaders and tools:

Secure Boot and firmware-level security

Secure Boot is a feature of UEFI, not BIOS. It affects how Linux boots in UEFI systems.

Practical Linux installation differences

When installing Linux on modern hardware, you’ll often choose between BIOS/legacy and UEFI modes (sometimes implicitly, based on how you boot the installer).

Detecting firmware mode from a running Linux system

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

Installation layout differences

Dual-boot considerations (Linux + Windows)

Configuration and troubleshooting aspects

Accessing firmware setup

On both firmware types you typically press a key at power-on (e.g., F2, Del, Esc, F10, F12). However, differences exist:

In some OS setups, you can also reboot directly into UEFI setup from within the OS (e.g., on Windows 8+; on Linux, some vendors provide utilities).

NVRAM boot entries and `efibootmgr` (UEFI only)

In UEFI, boot entries are stored in NVRAM. Linux uses efibootmgr to manage them:

  sudo efibootmgr

These entries define:

If an entry is missing or points to a non-existent file, the system may fall back to default paths like \EFI\BOOT\BOOTX64.EFI on the ESP.

Typical boot problems related to BIOS/UEFI choice

Some common patterns (details of diagnosing/fixing belong in other chapters, but it helps to recognize that the firmware mode is involved):

When and why to choose BIOS vs UEFI

On modern Linux systems:

For new installations on contemporary machines, UEFI with GPT and an ESP is the default choice and integrates best with modern Linux boot setups and tools.

Views: 69

Comments

Please login to add a comment.

Don't have an account? Register now!