BIOS vs CMOS: Understanding Startup Keys

BIOS vs. CMOS: Understanding Startup Settings
As you delve into customizing your computer’s start-up behavior, the terms BIOS and CMOS can often cause confusion. Determining which one you are interacting with when modifying these settings is a common point of uncertainty.
This article clarifies the distinction between BIOS and CMOS, providing an answer to a reader’s inquiry as featured in a SuperUser Q&A post.
What is SuperUser?
SuperUser is a segment of Stack Exchange, a network of question-and-answer websites powered by a collaborative community. It serves as a platform for users to seek and share technical knowledge.
The information presented here originates from a discussion within the SuperUser community.
The Relationship Between BIOS and CMOS
While often used interchangeably, BIOS (Basic Input/Output System) and CMOS (Complementary Metal-Oxide-Semiconductor) are distinct components.
- BIOS is the firmware – the software embedded on a chip – that initializes the hardware during the boot process.
- CMOS is a small amount of memory that stores the settings the BIOS uses, such as the system time and boot order.
Essentially, the BIOS provides the instructions, and the CMOS remembers the configuration you’ve set.
When you access the setup utility to change settings, you are interacting with the BIOS interface. The changes you make are then saved to the CMOS chip.
The image accompanying this explanation is credited to gynti_46 on Flickr.
Understanding BIOS and CMOS Setup
A SuperUser user, Space Ghost, has posed a common question regarding the initial startup process of a computer. He’s curious whether he’s interacting with the BIOS or CMOS when configuring settings like boot order.
Space Ghost initially believed the BIOS setup was the interface he accessed, with CMOS being the chip storing the chosen settings. However, recent information suggests he might actually be working within the CMOS setup.
BIOS: The Core Firmware
The BIOS (Basic Input/Output System) is fundamentally the firmware residing on a chip on the motherboard. It’s the first software to run when a computer is powered on.
Its primary function is to initialize the hardware and then load the boot loader, which in turn loads the operating system. The BIOS performs a Power-On Self-Test (POST) to verify hardware components are functioning correctly.
CMOS: Data Storage for BIOS
CMOS (Complementary Metal-Oxide-Semiconductor) is a small amount of memory on the motherboard. It’s powered by a battery, even when the computer is turned off.
This memory stores the settings configured in the setup utility – things like boot order, system time, and hardware configurations. Essentially, CMOS retains the information the BIOS needs to operate correctly after startup.
The Setup Utility: Where They Meet
The interface Space Ghost is accessing during startup isn’t strictly the BIOS itself, nor is it solely the CMOS. It’s a setup utility running on top of the BIOS.
This utility allows users to view and modify the settings stored in CMOS. Therefore, when changing boot order or other configurations, you are interacting with the CMOS settings through the BIOS-provided interface.
Clarifying the Confusion
Space Ghost’s confusion is understandable. The terms are often used interchangeably, but they represent distinct components. Think of it this way:
- BIOS: The program that gets the computer started.
- CMOS: The memory that remembers your preferences for that program.
The setup screen is the interface to modify the data held within the CMOS, facilitated by the BIOS. So, Space Ghost is correct to recognize that configuring boot order happens within the CMOS setup, accessed through the BIOS.
BIOS and CMOS: Understanding the Relationship
A SuperUser community member, Frank Thomas, provides a comprehensive explanation regarding the interplay between the BIOS and CMOS.
CMOS and BIOS Configuration
Both the CMOS and the BIOS are integral components in a computer's startup process. The CMOS serves as the storage location for the BIOS configuration details.
When a user accesses the system setup utility, they are essentially interacting with the BIOS's configuration program. This program then utilizes and modifies the settings stored within the CMOS.
Effectively, configuring the system involves providing the BIOS with the necessary information it will employ during operation, and this information is retained in the CMOS.
BIOS as Firmware and CMOS as Data Storage
The BIOS itself is a program embedded as firmware onto a ROM chip. This design prevents typical writing operations, except through a complete flash process.
Flashing the BIOS is a risky procedure and not a routine task. The BIOS ROM relies on the CMOS to store its configuration data when settings are saved, such as after pressing F10.
Consequently, clearing the CMOS reverts the BIOS settings to their factory defaults without affecting the BIOS program itself, preventing system failure.
Boot Order as an Example
The BIOS contains subroutines responsible for tasks like loading the operating system, guided by a predefined boot order.
However, the specific boot order – for instance, prioritizing a CD-ROM drive – is actually stored within the CMOS. If the CMOS is cleared, the BIOS will revert to a default boot sequence.
Typically, this default sequence involves utilizing the first detected disk on the primary disk controller.
Further insights and contributions to this explanation can be found in the comments section. To explore a more extensive discussion with other knowledgeable Stack Exchange users, please visit the original discussion here.