Sub topic 14
BIOS and UEFI: POST, boot order, and common settings
This chapter assumes you can identify the main motherboard components, know what a CPU and RAM do, and have seen a boot screen. It covers what firmware does at power-on, how POST works, how the boot order is chosen, and which settings the A+ Core 1 exam expects you to know. Firmware security (TPM, Secure Boot, passwords) gets its own chapter, so it appears here only where it touches boot order.
What firmware is
Firmware is software stored on a chip on the motherboard. It keeps its contents when the power is off. It is the first code the CPU runs, and it prepares the hardware so an operating system can load.
Two generations exist:
- BIOS (Basic Input/Output System) is the legacy firmware. It runs in 16-bit mode, uses a text-based setup screen, and boots from disks that use the MBR partition style.
- UEFI (Unified Extensible Firmware Interface) is the modern replacement. It runs in 32-bit or 64-bit mode, often has a graphical, mouse-driven setup screen, and boots from disks that use the GPT partition style.
Many UEFI boards include a CSM (Compatibility Support Module) that imitates a legacy BIOS so older operating systems and MBR disks still boot. People often still call the setup screen "the BIOS" even on a UEFI board.
| Feature | Legacy BIOS | UEFI |
|---|---|---|
| Partition style for boot disk | MBR | GPT (MBR through CSM) |
| Boot disk size limit | 2 TB | Well above 2 TB |
| Setup interface | Text menus, keyboard only | Often graphical, mouse support |
| Secure Boot | Not available | Supported |
| Boot speed | Slower | Faster, with fast boot options |
| Network features | Minimal | Can include network boot and remote updates |
The 2 TB limit comes from MBR, which stores sector addresses in 32 bits. With 512-byte sectors, that is about 2 TB.
Where settings are stored
The firmware chip holds the code. The settings you choose (boot order, clock, enabled devices) are kept in a small amount of memory called CMOS. A coin-cell battery, usually a CR2032, keeps the clock and settings alive when the PC is unplugged.
Typical symptoms of a dead CMOS battery are a clock that resets to a default date, a "CMOS checksum error" message, and settings that revert after every shutdown. The fix is to replace the battery. After that, reenter your settings, because they were lost.
What happens at power-on
The firmware follows a fixed sequence. The key stage is POST (Power-On Self-Test), a quick check that the essential hardware responds before anything tries to boot.
POST checks the CPU, memory, and video output, then looks for basic devices such as the keyboard. If something essential fails, the board reports it. Different vendors do this differently:
- Beep codes: a pattern of beeps from the system speaker or a small buzzer. The meaning depends on the firmware vendor, so you must look up the pattern in the motherboard manual. One short beep commonly means POST passed.
- Debug LEDs: lights labeled CPU, DRAM, VGA, and BOOT that stay lit at the stage where POST stopped.
- Two-digit display: a small display on higher-end boards that shows a hex code to look up in the manual.
- On-screen messages: errors such as "Keyboard error" or "CMOS checksum error".
A key point for the exam: if there is no video and no beeps at all, check power and the speaker or buzzer connection before assuming the board is dead. Many modern boards have no speaker, so silence does not prove anything.
Entering setup
You enter the setup utility by pressing a key during the first seconds of startup. The key depends on the vendor, and the splash screen or manual lists it. Common keys are Delete, F2, F10, and Esc. On a UEFI system with fast boot enabled, the window is short. Windows can also reboot into firmware settings from its recovery options, which avoids racing the keypress.
Boot order
The boot order (or boot priority) is the list of devices the firmware tries, in sequence, to find an operating system. The first device that contains a valid boot loader wins.
Common boot sources:
- Internal SSD or hard drive
- USB flash drive or external drive
- Optical drive
- PXE (Preboot Execution Environment), which boots from a network server using the network card
Typical uses of changing the order:
- Put the USB drive first to install an operating system or run a recovery tool.
- Put the internal drive first again afterward, so the PC does not boot the installer each time.
- Put the network first for PXE deployment in an office.
Most boards also offer a one-time boot menu key (often F8, F11, or F12). It lets you pick a device for one boot without changing the saved order.
If the firmware reports "No boot device found," or "Operating system not found," check these in order:
- Is the drive detected in setup? If not, reseat the cable or M.2 drive.
- Is the boot order pointing at the right device?
- Does the boot mode match the disk? A GPT disk needs UEFI mode. An MBR disk needs legacy/CSM mode.
- Is a non-bootable USB drive or disc inserted and listed first?
- Is the boot loader damaged? That is an operating system repair problem, not a hardware one.
Common settings you should know
The exam asks you to recognize these settings and say what they do.
Date, time, and device configuration
- System time and date: used by the firmware and the operating system. Wrong values cause certificate and update errors.
- Onboard device toggles: you can enable or disable the integrated audio, network card, SATA controllers, USB ports, and serial ports. Disabling an unused device frees resources and reduces the attack surface.
- SATA mode: AHCI is the normal mode and supports hot-swap and native command queuing. RAID mode combines drives into an array. Changing this setting after installing Windows can cause a boot failure, because the driver the OS expects is no longer loaded.
CPU and memory settings
- Virtualization: Intel VT-x or AMD-V (often shown as SVM) must be enabled for hypervisors, virtual machines, and some emulators. It is often off by default, which is why a VM may report that hardware virtualization is unavailable.
- Hyper-Threading / SMT: lets each core run two threads. Disabling it can reduce load on shared resources in some workloads.
- XMP or EXPO profiles: factory overclock profiles stored on the RAM module. Without them, memory often runs at a slower default speed than the label says.
- Integrated graphics: can be enabled or disabled, and the primary display can be set to the integrated or discrete GPU.
- Fan control and temperature monitoring: shows CPU temperature and fan speed, and lets you set a fan curve. Many boards also offer thermal shutdown thresholds.
Overclocking
Overclocking means running the CPU or RAM faster than its rated speed by changing multiplier, base clock, or voltage. It raises heat and can cause instability. Reset to defaults first when you troubleshoot an unstable system.
Saving, resetting, and recovery
- Save and exit applies changes. Exiting without saving discards them.
- Load defaults (or optimized defaults) restores factory settings and is the first thing to try when a bad setting prevents boot.
- CMOS clear: if you cannot reach setup, power off, unplug, and use the clear-CMOS jumper or button, or remove the battery for a few minutes. This also clears a firmware password on many boards.
- Firmware update ("flashing"): new firmware adds CPU support, fixes bugs, and patches security flaws. Do not interrupt a flash. A power loss mid-update can leave the board unusable, so use a stable power source and the vendor's tool. Some boards have a dual-BIOS chip or a USB flash-back feature for recovery.
Reading the current state from the operating system
You can check some firmware-reported details without entering setup. On Windows, msinfo32 shows the BIOS version, BIOS mode (UEFI or Legacy), and Secure Boot state. On Linux, firmware details are in the DMI tables:
sudo dmidecode -t biosThe output lists the vendor, version, and release date. Comparing it with the board maker's latest version tells you whether an update is available.
Common mistakes
- Treating beep codes as universal. They vary by vendor.
- Forgetting to reenter settings after replacing the CMOS battery.
- Switching SATA mode or boot mode on an installed system.
- Leaving a USB stick first in the boot order.
- Flashing firmware on an unstable power source or a laptop with a low battery.
- Assuming a VM failure is a software problem when virtualization is simply disabled in firmware.
Exercise
A technician installs a hypervisor on a desktop. It reports that hardware virtualization is not available, although the CPU supports it. After fixing that, the PC shows the wrong date every morning. What two firmware-related actions fix both problems?
Show answer
Enter UEFI/BIOS setup and enable Intel VT-x or AMD-V (SVM), then save and exit. For the clock resetting, replace the CMOS battery (CR2032), and re-enter the date, time, and any custom settings, since they were lost when the battery failed.
Exercise
After a drive upgrade, a PC shows "Operating system not found." The new SSD appears in setup and holds a GPT disk, but the board is set to legacy/CSM boot mode. What should you change, and what should you do first?
Show answer
First note the current settings. Then switch the boot mode to UEFI (disabling CSM), because a GPT disk needs UEFI mode. Save, exit, and confirm the boot order lists the SSD. If it still fails, the boot loader may need repair.
Exercise
A new build gives no video and no beeps at power-on. Name three things to check before concluding that the motherboard is defective.
Show answer
Any three of: the 24-pin and CPU power connectors are seated; a case speaker or buzzer is connected, since many boards give no sound without one; RAM and the video card are seated correctly; the monitor cable is in the correct output (GPU, not motherboard); debug LEDs or a code display show where POST stopped; CMOS was cleared if the board was recently updated or the settings are suspect.