BIOS & UEFI Setup
First boot, BIOS/UEFI configuration
Introduction
You have assembled all the hardware, connected every cable, and double-checked your work. Now comes the moment of truth — pressing the power button for the very first time. But before your computer can load Windows, Linux, or any operating system, it needs to run a built-in startup program that checks the hardware and prepares the system to boot.
This startup program is called the BIOS (Basic Input/Output System) or its modern successor, UEFI (Unified Extensible Firmware Interface). Think of it as the computer's own internal startup checklist and configuration panel — it runs before anything else and makes sure everything is working.
In this chapter, you will learn what happens when you press the power button, how to enter the BIOS/UEFI setup, what settings to configure for a new build, and how to troubleshoot common first-boot issues.
How It Works
The BIOS/UEFI is like the building manager of a hotel. Before guests (the operating system) can check in, the manager does a walkthrough — checking every room (hardware), making sure the lights work (power), and unlocking the front door (boot drive). Only after the manager confirms everything is ready can guests enter.
Household Object Analogy
Think of turning on your PC like starting a car. The BIOS is the car's ECU (engine control unit). When you turn the key, the ECU runs a self-check — oil pressure, fuel level, battery voltage — before allowing the engine to start. If something is wrong, a warning light appears. Your PC does the same thing with POST codes and beep sequences.
Deeper Dive
When you press the power button, the following sequence occurs:
1. The PSU receives the power-on signal and provides power to all components.
2. The motherboard's chipset releases the CPU from reset, and the CPU begins executing the BIOS/UEFI firmware from a special flash memory chip on the motherboard.
3. The firmware runs the Power-On Self-Test (POST) — it checks that the CPU, RAM, storage, and essential peripherals are present and functioning.
4. If POST passes, the firmware looks for a bootable device (hard drive, SSD, USB drive) according to the configured boot order.
5. It loads the bootloader from the first bootable device, which then hands control to the operating system.
BIOS vs. UEFI
Legacy BIOS
The original firmware standard, developed in the 1980s. Uses 16-bit mode, runs in real mode, and can only boot from MBR (Master Boot Record) disks up to 2 TB. Text-based interface, navigated with keyboard arrows. Being phased out in favour of UEFI.
UEFI
The modern replacement for BIOS. Runs in 32-bit or 64-bit mode, supports GPT partition tables (disks over 2 TB), has a graphical interface usable with mouse, and supports Secure Boot to prevent malicious software from loading during startup. Almost all motherboards sold today use UEFI.
Entering the BIOS/UEFI
To access the BIOS/UEFI setup, you need to press a specific key during the POST process, usually before the operating system starts loading. The exact key varies by manufacturer but is typically displayed on screen during boot:
Common BIOS Keys
Del (Delete) — Most common for desktop motherboards (ASUS, MSI, Gigabyte, ASRock). F2 — Common on laptops and some desktop boards. F10, F12, Esc — Used by some HP, Dell, and Lenovo systems.
Windows UEFI Access
If an OS is already installed, you can access UEFI from Windows: Settings → Update & Security → Recovery → Advanced Startup → Restart Now → Troubleshoot → Advanced Options → UEFI Firmware Settings.
Key BIOS/UEFI Settings for a New Build
When you first enter the BIOS on a new build, here are the settings you should check:
Boot Order
Set your installation media (USB drive) as the first boot device if you are installing an OS. After installation, move your primary SSD/HDD to the top so the system boots from it directly.
XMP / DOCP (RAM Profile)
By default, RAM runs at a standard JEDEC speed (e.g., 2133 or 2400 MHz). Enable XMP (Intel) or DOCP (AMD) to run your RAM at its rated speed (e.g., 3200 or 3600 MHz). Without this, you leave performance on the table.
Secure Boot
A UEFI security feature that verifies the digital signature of the bootloader and operating system to prevent rootkits and malware from loading before the OS. Required for Windows 11. Usually enabled by default on modern boards.
Boot Mode: UEFI vs. Legacy/CSM
Set to UEFI (not Legacy/CSM) for modern operating systems. CSM (Compatibility Support Module) emulates legacy BIOS for older hardware or OSes. Always use UEFI + GPT for new builds with Windows 10/11 or modern Linux distros.
Advanced Topics
For advanced users, the UEFI offers many additional settings. CPU overclocking allows you to increase the CPU clock speed and voltage for higher performance, at the cost of more heat and power. Fan curves let you customise how fast fans spin at different temperatures. Resizable BAR (Above 4G Decoding) allows the CPU to access the full GPU memory, improving gaming performance on modern GPUs.
If you make a mistake and the system becomes unstable, you can perform a CMOS reset. This clears the BIOS settings back to factory defaults. Methods include: shorting the CMOS jumper with a screwdriver, removing the coin-cell battery (CR2032) on the motherboard for 30 seconds, or pressing a Clear CMOS button on high-end boards.
Key Insight
If your new build does not display anything on screen, do not panic. Check that the monitor is plugged into the GPU (not the motherboard), all power cables are seated, and the RAM is fully inserted. A single beep from the speaker often means POST passed. Repeated beeps indicate a specific hardware fault.
Advanced
At a deeper level, bios & uefi setup involves rules and patterns that engineers use worldwide. BIOS follows standards so different brands and devices can still work together. That is why your phone, school laptop, and game console can all connect to the same network or use the same apps.
UEFI does not happen in a straight line. Systems often use backup paths, error checking, and retries so information arrives correctly. When something fails, smart POST design helps the system recover instead of shutting down completely.
Scientists and engineers keep improving these systems every year — making them faster, safer, and more energy-efficient. The ideas you learn in this chapter are the same building blocks used in real data centers, robots, apps, and websites around the world.
Vocabulary Table
| Term | Definition |
|---|---|
| BIOS | Basic Input/Output System — the legacy firmware that initialises hardware and boots the OS |
| UEFI | Unified Extensible Firmware Interface — the modern replacement for BIOS, with GUI and Secure Boot |
| POST | Power-On Self-Test — the diagnostic process the firmware runs to verify hardware is functioning |
| Boot Order | The priority list of devices the firmware checks to find a bootable operating system |
| Secure Boot | A UEFI security feature that verifies bootloader and OS signatures before allowing them to run |
| BIOS Key | The keyboard key pressed during startup (e.g., Del, F2) to enter the firmware setup menu |
| CMOS Reset | Clearing the motherboard' s BIOS settings back to factory defaults by removing battery or shorting a jumper |
| UEFI Shell | A command-line environment within UEFI for running diagnostic and configuration scripts |
| GPT | GUID Partition Table — a modern disk partitioning scheme supporting drives over 2 TB, required for UEFI boot |
| CSM | Compatibility Support Module — a UEFI component that emulates legacy BIOS for older OS compatibility |
Fun Facts
The BIOS has been around since 1981 with the IBM PC. The original IBM PC BIOS was written by a team of 12 engineers and fit in just 8 KB of ROM. A modern UEFI firmware can be over 16 MB — 2,000 times larger.
Many motherboards include dual BIOS chips. If one becomes corrupted during a failed update, the backup BIOS can restore it automatically. This "BIOS flashback" feature has saved countless builds from being bricked.
POST beep codes vary by manufacturer. One short beep means success. One long, two short beeps usually indicates a GPU issue. Continuous short beeps often point to a RAM problem. A speaker header (usually labelled SPEAKER) must be connected to hear them.
The first UEFI specification was developed by Intel in 2005 as the "Extensible Firmware Interface" (EFI). It became the UEFI standard in 2007 when the Unified EFI Forum was formed. Apple was one of the first to adopt EFI with Intel-based Macs in 2006.
Some motherboard manufacturers now include a "BIOS Flashback" feature that lets you update the firmware without a CPU, RAM, or GPU installed — using only a USB drive and power supply. This is a lifesaver when building with a newer CPU that requires a BIOS update to be recognised.
Interactive Diagram
Launch the interactive diagram to see the BIOS/UEFI setup process.
Open Interactive DiagramThe interactive diagram for this chapter demonstrates BIOS and UEFI. It shows the BIOS/UEFI interface with settings menus, boot order, and system information.
What to explore:
- navigate through BIOS menu options; change boot order by dragging items; see system hardware detected
- BIOS/UEFI is firmware that initializes hardware and starts the boot process — it runs before the operating system loads
Knowledge Check
1. What does POST stand for?
Answer: Power-On Self-Test
2. What is the main advantage of UEFI over legacy BIOS?
Answer: It supports drives over 2 TB, has a graphical interface, and supports Secure Boot
3. What is the purpose of a CMOS reset?
Answer: To clear the BIOS settings back to factory defaults
