Pcornel
Browse topics
Options
Recent
Favorites
Hardware · Technical reference

BIOS and UEFI

Direct 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.

When to use this

Use it when installing operating systems, fixing boot order and boot failures, enabling virtualization or SR-IOV features, and preparing Secure Boot.

First 30 seconds

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?

Operational verification

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
Platform / version applicability
x86 servers with UEFI firmware; Linux and Windows tools.
Applicability is projected only from persisted Topic profile and Command metadata.
At a glance

Operational reference

Fast context before you go deeper.

Platformx86 servers with UEFI firmware; Linux and Windows tools.
Key commandlsblk -o NAME,SIZE,FSTYPE,PARTTYPENAME,MOUNTPOINT | grep -i -E 'efi|vfat'
Scope / prerequisiteUse it when installing operating systems, fixing boot order and boot failures, enabling virtualization or SR-IOV featur…
What next?2 suggested next steps
Evidence0
On this pageJump to a specific section
Operational workflow

Verification & Troubleshooting

Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.

3 steps Observe → verify → isolate → change minimally → repeat the original test.
ObservedRecord what the original test actually shows

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.

Key points

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.

Key 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.
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.

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.

Scope and canonical references

This Topic owns system firmware behaviour on physical servers.

ReferenceImportant terms & boundaries1 section · depth on demand

In depth

Legacy BIOS vs UEFI

Legacy BIOSUEFI
Disk layoutMBR (max 2 TiB, 4 primary partitions)GPT
Boot codeFirst sector of the disk.efi file on the ESP (FAT32)
Boot orderDevice listNamed entries in NVRAM
Secure BootNoYes
Network bootPXE (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

SettingWhy
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 enableVirtual functions on NICs
Power/performance profileLatency vs energy
NUMA / SNC / NPSMemory topology
Memory RAS (patrol scrub, mirroring)Reliability
PCIe bifurcation, Above 4G decodingNVMe carriers, GPUs
TPM enable, Secure BootMeasured 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
Terminology layer

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.

Aliases that resolve here
uefibiosuefi bootlegacy bioscsmefibootmgrespboot ordernvram boot entriesuefi boot order
Depth when you need it

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.

Confirmation

Confirm action

Continue?