Pcornel
Hardware · Firmware

BIOS and UEFI

Cheat sheet · https://pcornel.dk/topic.php?topic=6280

Back to the Topic

Answer

BIOS and its successor UEFI are the system firmware that initialises the hardware and starts the boot loader. UEFI boots from a FAT EFI System Partition using boot entries stored in NVRAM and supports Secure Boot; legacy BIOS boots from the MBR.

Remember

Modern servers use UEFI; the legacy compatibility module (CSM) is going away. UEFI needs GPT and an EFI System Partition. Boot order lives in firmware NVRAM — efibootmgr (Linux) and bcdedit /enum firmware (Windows) show it.

First checks

  • [ -d /sys/firmware/efi ] && echo UEFI || echo BIOS — how Linux booted.
  • efibootmgr -v — firmware boot entries and order (root).
  • Windows: $env:firmware_type or msinfo32 BIOS Mode.
  • lsblk -o NAME,FSTYPE,PARTTYPENAME,MOUNTPOINT — ESP present and mounted.

Verify in this order

power on → firmware POST and init → boot manager reads NVRAM entries → loader on ESP (shim/GRUB, Windows Boot Manager) → OS kernel

Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=6280

Confirmation

Confirm action

Continue?