Use it when installing operating systems, fixing boot order and boot failures, enabling virtualization or SR-IOV features, and preparing Secure Boot.
BIOS and UEFI
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.
1. UEFI or legacy?
2. Does the boot entry point at the right disk and loader?
3. Is the ESP present and healthy?
4. Did a BIOS update or reset change settings?
power on → firmware POST and init → boot manager reads NVRAM entries → loader on ESP (shim/GRUB, Windows Boot Manager) → OS kernel
Context & applicabilityCommon mistakes · platform/version boundaries
Operational reference
Fast context before you go deeper.
lsblk -o NAME,SIZE,FSTYPE,PARTTYPENAME,MOUNTPOINT | grep -i -E 'efi|vfat'Verification & Troubleshooting
Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
Capture the concrete output, symptom, packet, log or counter before changing anything.
Step 1 Read-only Verification Verify boundary
# Linux: how did this system boot?
[ -d /sys/firmware/efi ] && echo UEFI || echo 'Legacy BIOS'
mokutil --sb-state # Secure Boot state
sudo efibootmgr -v # BootCurrent, BootOrder and entries
lsblk -o NAME,SIZE,FSTYPE,PARTTYPENAME,MOUNTPOINT | grep -i -E 'efi|vfat'
sudo dmidecode -s bios-version
# Windows
$env:firmware_type # UEFI or Legacy
bcdedit /enum firmware # firmware boot manager entries
Confirm-SecureBootUEFI # True when Secure Boot is on (admin)
BootCurrent in efibootmgr shows which entry was used for this boot; compare it with BootOrder when a server boots from the wrong device.
Step 2 Common mistakes Narrow the fault
- Installing in legacy mode on new servers, blocking Secure Boot.
- Changing BIOS settings by hand on individual servers instead of from a profile.
- Not mirroring the ESP on software-RAID boot disks.
- Forgetting to re-check settings after a BIOS update or NVRAM reset.
Step 3 Troubleshooting Narrow the fault
"No boot device" after a disk replacement. The NVRAM entry points to the old disk's partition GUID; recreate the entry or boot from the fallback path.
OS installer does not see the disk as bootable. Mismatch between boot mode and partition table (UEFI with MBR, legacy with GPT) or a RAID controller not exposing the volume.
Server boots into PXE every time. Network boot is first in the order, or the disk entry failed and the firmware fell through.
Hypervisor cannot start VMs or passthrough fails. Virtualization extensions or IOMMU disabled in BIOS.
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.
[ -d /sys/firmware/efi ] && echo UEFI || echo BIOS— how Linux booted.efibootmgr -v— firmware boot entries and order (root).- Windows:
$env:firmware_typeor msinfo32 BIOS Mode. lsblk -o NAME,FSTYPE,PARTTYPENAME,MOUNTPOINT— ESP present and mounted.
ReferenceWhat it is2 sections · depth on demand
Direct Answer
BIOS and UEFI are the firmware that runs at power-on, initialises CPU, memory and devices, and hands control to an operating system loader. Legacy BIOS loads code from a disk's master boot record. UEFI reads boot entries from firmware NVRAM and starts a .efi loader from the EFI System Partition (ESP), a small FAT partition on a GPT disk; it also provides Secure Boot, network boot over HTTP(S) and large-disk support. Servers today should boot in UEFI mode; the legacy compatibility module (CSM) is disappearing from current platforms.
Scope and canonical references
This Topic owns system firmware behaviour on physical servers.
- Signed boot chain: Secure Boot, TPM.
- Updating it: Firmware.
- OS-specific boot process: BIOS / UEFI (Linux boot process) and UEFI / BIOS (Windows installation).
ReferenceImportant terms & boundaries1 section · depth on demand
In depth
Legacy BIOS vs UEFI
| Legacy BIOS | UEFI | |
|---|---|---|
| Disk layout | MBR (max 2 TiB, 4 primary partitions) | GPT |
| Boot code | First sector of the disk | .efi file on the ESP (FAT32) |
| Boot order | Device list | Named entries in NVRAM |
| Secure Boot | No | Yes |
| Network boot | PXE (TFTP) | PXE and HTTP(S) boot |
Boot entries
Each UEFI entry names a device and a path, for example \EFI\ubuntu\shimx64.efi or \EFI\Microsoft\Boot\bootmgfw.efi. If no entry works, the firmware falls back to the default path \EFI\BOOT\BOOTX64.EFI on removable or fixed media. Replacing a boot disk or resetting NVRAM can lose entries; recreate them with efibootmgr or the OS's repair tools.
Settings that matter on servers
| Setting | Why |
|---|---|
| Boot mode (UEFI) | Required for Secure Boot and modern OS installs |
| Virtualization (VT-x/AMD-V, VT-d/AMD-Vi) | Hypervisors, passthrough, SR-IOV |
| SR-IOV global enable | Virtual functions on NICs |
| Power/performance profile | Latency vs energy |
| NUMA / SNC / NPS | Memory topology |
| Memory RAS (patrol scrub, mirroring) | Reliability |
| PCIe bifurcation, Above 4G decoding | NVMe carriers, GPUs |
| TPM enable, Secure Boot | Measured and verified boot |
| Network boot per NIC (PXE/HTTP) | Provisioning |
Vendors let you export and import BIOS settings as files or through Redfish (/redfish/v1/Systems/<id>/Bios), which makes a standard profile per server type possible and changes reviewable.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Terms & aliases
Hover a linked term for a quick definition; click it to open its glossary entry. Aliases are other names that find this Topic in search.
Deep reference
Healthy vs suspicious evidence
Output interpretation
/sys/firmware/efi present means the OS booted via UEFI; absent means legacy BIOS (CSM). mokutil --sb-state: SecureBoot enabled or disabled.
efibootmgr -v: BootCurrent: 0003 names the entry used for this boot; BootOrder lists the try order. An entry pointing to a disk GUID that no longer exists, or PXE before disk, explains boots from the wrong device.
ESP: a vfat partition with type EFI System mounted at /boot/efi; if it is missing or full, kernel and bootloader updates fail.
Windows bcdedit /enum firmware shows the same firmware boot manager entries.
Design & tradeoffs
Design decisions
UEFI with Secure Boot for all new installs; legacy BIOS/CSM only for hardware or software that cannot boot otherwise — it also blocks Secure Boot and some modern features.
Boot order: local disk first in production, network boot enabled only where provisioning needs it, and BIOS settings under configuration management (vendor profiles or Redfish).
Settings baselines: performance profile, virtualization, IOMMU, SR-IOV, power and TPM settings documented per role.
Protect setup: BIOS admin password and BMC access control, since firmware settings bypass OS controls.