Computer Basics - BIOS and UEFI firmware fundamentals
What BIOS means
BIOS stands for Basic Input/Output System. It is a firmware program stored on a chip attached to the motherboard. Firmware is software embedded directly into hardware components. BIOS is the first software that runs when a computer is powered on.
Its primary purpose is to initialize hardware devices and prepare the system to load the operating system. Without BIOS, a computer cannot begin the startup process because the processor would not know how to communicate with memory, storage devices, keyboard, or display hardware.
BIOS has been a standard part of personal computers for decades and acts as the bridge between hardware and the operating system. It is stored in non-volatile memory, which means it remains on the motherboard even when the system is turned off.
What UEFI means
UEFI stands for Unified Extensible Firmware Interface. It is the modern replacement for BIOS. UEFI performs the same fundamental job as BIOS, but it is more advanced and provides additional features.
UEFI was developed to overcome limitations found in older BIOS systems. It supports larger hard drives, faster startup times, stronger security features, and graphical user interfaces. Modern computers mostly use UEFI instead of traditional BIOS.
UEFI is also firmware stored on the motherboard, but it has a more flexible design. It can load drivers, recognize modern storage devices, and interact more effectively with current operating systems.
Why firmware is needed
A computer contains hardware such as:
-
Processor
-
RAM
-
Storage drives
-
Keyboard
-
Mouse
-
Graphics hardware
-
Network adapters
When power is first supplied, these components are inactive. The processor needs instructions to begin operating. BIOS or UEFI provides those initial instructions.
Firmware performs these tasks:
-
Detects connected hardware
-
Tests whether hardware is functioning
-
Configures system settings
-
Finds the operating system
-
Transfers control to the operating system
This makes firmware the first stage of the computer’s life cycle each time the machine starts.
How BIOS works
When a computer is powered on, BIOS performs a sequence of operations.
Step 1: Power-on signal
Pressing the power button sends electrical power to the motherboard. The CPU resets and looks for the firmware stored in ROM or flash memory.
Step 2: BIOS execution
The BIOS code begins running immediately. It performs hardware checks and starts the initialization process.
Step 3: Hardware initialization
BIOS checks devices such as:
-
RAM
-
Processor
-
Keyboard
-
Storage
-
Display card
This ensures basic hardware is present and working.
Step 4: Boot device search
BIOS searches for a device containing an operating system. This may be:
-
Hard disk
-
SSD
-
USB drive
-
CD/DVD
It follows the boot order stored in settings.
Step 5: Operating system loading
Once the bootable device is found, BIOS loads the bootloader and hands control to the operating system such as Microsoft Windows or Linux.
How UEFI works
UEFI follows a similar process but in a more sophisticated way.
It uses its own internal boot manager and can directly load operating system files from a special partition called the EFI system partition.
UEFI can:
-
Read modern file systems
-
Support mouse interaction
-
Show graphical interfaces
-
Connect firmware modules
-
Handle security checks
This makes UEFI faster and more efficient.
BIOS architecture
BIOS is generally stored on a chip called EEPROM or flash ROM. The motherboard includes this chip permanently.
BIOS consists of:
-
Startup program
-
Hardware configuration code
-
System setup utility
-
Boot loader routine
It communicates directly with system hardware at a low level.
The BIOS program is usually small compared to an operating system because it only handles initialization and startup tasks.
UEFI architecture
UEFI has a more modular design.
It contains:
-
Boot manager
-
Device drivers
-
Firmware services
-
Security modules
-
User configuration interface
It works like a lightweight software environment before the operating system starts.
Because of this, UEFI can support advanced hardware and security features.
Key differences between BIOS and UEFI
| Feature | BIOS | UEFI |
|---|---|---|
| Interface | Text-based | Graphical |
| Mouse support | Usually no | Yes |
| Drive size support | Up to 2 TB | More than 2 TB |
| Boot speed | Slower | Faster |
| Security | Limited | Secure Boot |
| Partition style | MBR | GPT |
BIOS settings menu
BIOS includes a setup utility where users can configure hardware settings.
Common settings include:
-
Date and time
-
Boot sequence
-
CPU settings
-
Memory options
-
Fan control
-
Security passwords
-
SATA settings
Users enter BIOS by pressing keys such as:
-
Delete
-
F2
-
F10
-
Esc
The key depends on the motherboard manufacturer.
UEFI settings menu
UEFI settings are more user-friendly.
Features often include:
-
Mouse navigation
-
Temperature monitoring
-
Voltage controls
-
Boot manager
-
Secure Boot settings
-
Advanced diagnostics
Many modern systems offer both basic and advanced configuration modes.
Secure Boot
A major feature of UEFI is Secure Boot.
Secure Boot checks whether the operating system loader is trusted. It prevents unauthorized or malicious software from starting during boot.
This improves system security by blocking rootkits and startup malware.
Firmware updates
BIOS and UEFI can be updated.
This process is called:
-
BIOS flashing
-
Firmware update
Manufacturers release updates to:
-
Improve hardware support
-
Fix bugs
-
Improve stability
-
Add security patches
Examples of motherboard makers include ASUS, Gigabyte Technology, and MSI.
Incorrect firmware updates can cause startup failure, so updates must match the exact motherboard model.
CMOS and BIOS
Older BIOS systems use CMOS memory.
CMOS stores BIOS settings such as:
-
System time
-
Boot order
-
Hardware configuration
A small battery on the motherboard powers CMOS memory even when the computer is off.
If the battery fails:
-
Time resets
-
BIOS settings may be lost
UEFI systems often still use CMOS for storing configuration, although firmware architecture is different.
Real-life example
When a person presses the power button on a laptop:
-
Power reaches motherboard
-
BIOS/UEFI starts
-
RAM is tested
-
Processor initializes
-
Storage is detected
-
Bootloader loads
-
Operating system starts
-
Login screen appears
This entire process happens in a few seconds.
Importance in computer basics
Understanding BIOS and UEFI is essential because they control the earliest stage of system startup.
They are responsible for:
-
Starting the computer
-
Detecting hardware
-
Loading operating systems
-
Managing firmware settings
-
Maintaining startup security
Without BIOS or UEFI, a computer cannot move from powered hardware to a working software system.
Conclusion
BIOS and UEFI are firmware systems that act as the foundation of computer startup. BIOS is the traditional system, while UEFI is the modern standard. Both serve as the connection between hardware and the operating system, ensuring the computer can start correctly and function properly.
UEFI has become the preferred technology because it offers better performance, improved security, support for larger drives, and a more advanced interface. Learning these fundamentals helps in understanding how a computer begins operation from the moment it is switched on.