Hardware

What is BIOS/UEFI?

BIOS (Basic Input/Output System) and UEFI (Unified Extensible Firmware Interface) are types of firmware stored on a motherboard that initialize hardware during boot and provide runtime services to the operating system. UEFI is the modern successor to the legacy BIOS.

What Is BIOS/UEFI and Why It Matters

BIOS (Basic Input/Output System) and UEFI (Unified Extensible Firmware Interface) are the low-level firmware programs embedded on a computer's motherboard that run the moment a system is powered on. They are responsible for initializing and testing hardware components, then locating and handing control over to an operating system. Without this firmware, a computer would have no way to begin functioning before an OS is loaded.

Understanding BIOS/UEFI is essential for IT professionals because it governs boot behavior, hardware configuration, security features, and troubleshooting of systems that fail to start. It is a core topic on certifications such as CompTIA A+.

How It Works

When a computer is turned on, the firmware executes the following general sequence:

  1. Power-On Self-Test (POST): The firmware checks that critical hardware such as the CPU, RAM, and storage controllers are present and functioning. Errors are often reported via beep codes or on-screen messages.
  2. Hardware Initialization: Devices such as memory, graphics, and storage controllers are configured and made ready for use.
  3. Boot Device Selection: The firmware consults its configured boot order to find a bootable device.
  4. Handoff to Bootloader: Control is passed to the bootloader on the selected device, which then loads the operating system.

Legacy BIOS

Traditional BIOS is stored in a ROM or flash chip and operates in 16-bit real mode. It uses the Master Boot Record (MBR) partitioning scheme, which limits bootable drives to a maximum of 2 TB and up to four primary partitions. BIOS has served computers for decades but has significant limitations in modern computing.

UEFI

UEFI is the modern replacement for BIOS and addresses many of its shortcomings. Key characteristics include:

  • GPT support: UEFI uses the GUID Partition Table (GPT), supporting drives larger than 2 TB and more than four partitions.
  • Faster boot times: UEFI can initialize hardware more efficiently and supports features like fast boot.
  • Graphical interfaces: Many UEFI implementations offer mouse-driven, graphical configuration screens rather than text-only menus.
  • 32-bit and 64-bit operation: UEFI can run in modern processor modes, allowing access to more memory and richer pre-boot applications.
  • Secure Boot: A security feature that ensures only digitally signed and trusted bootloaders and operating systems can load.

Key Components and Concepts

  • Firmware chip: A flash memory chip (often EEPROM) that stores the BIOS/UEFI code and can be updated via a process called flashing.
  • CMOS and RTC battery: A small coin-cell battery (CR2032) keeps the real-time clock running and preserves firmware settings when the system is unplugged.
  • Setup utility: The configuration interface, usually accessed by pressing keys like F2, Del, F10, or Esc during boot.
  • Boot order: The prioritized list of devices the firmware checks for a bootable OS.
  • Secure Boot: UEFI feature that validates code signatures to prevent rootkits and bootkits.

Common Use Cases and Applications

  • Changing boot order: Booting from a USB drive or optical media to install or repair an operating system.
  • Enabling virtualization: Turning on Intel VT-x or AMD-V to support virtual machines and hypervisors.
  • Configuring hardware: Adjusting fan curves, memory timings (XMP profiles), and overclocking settings.
  • Setting passwords: Applying supervisor or power-on passwords to restrict access.
  • Enabling TPM and Secure Boot: Required for features like Windows 11 installation and BitLocker drive encryption.

Best Practices and Important Considerations

  • Update carefully: Firmware updates can add hardware support and fix bugs, but a failed flash can render a motherboard unusable. Always use manufacturer-supplied files and a stable power source.
  • Document settings: Note custom configurations before making changes so you can revert if necessary.
  • Use Secure Boot: Enable it where possible to protect against boot-level malware, but be aware some older OSes or bootable tools may require it disabled.
  • Replace the CMOS battery: If a system repeatedly loses time or settings, a dead RTC battery is a likely culprit.
  • Clear settings when troubleshooting: Resetting to defaults (via jumper or removing the battery) can resolve boot problems caused by bad configuration.
Note: Most modern systems ship with UEFI firmware that includes a Compatibility Support Module (CSM), also called Legacy BIOS mode, allowing older MBR-based operating systems to boot on UEFI hardware.

Real-World Example

An IT technician needs to install Windows 11 on a new workstation. The OS requires UEFI with Secure Boot and TPM 2.0 enabled. The technician presses Del at startup to enter the UEFI setup utility, switches the boot mode from Legacy/CSM to UEFI, enables Secure Boot and the TPM, sets the USB installation drive as the first boot device, then saves and exits. The system boots from the USB drive using GPT partitioning, satisfying the modern requirements that legacy BIOS could not.

Studying for CompTIA (Hardware)?

ExamWizardz turns the official objectives into a guided study plan — with practice tests, real PBQs, and a readiness score. Join the waitlist to be first in when CompTIA A+ launches.