This article is free to read. Creating a lesson uses your daily or stored credits; review the language and settings before starting.
How does a computer boot up?
Quick answer
A computer boots up when the power supply energizes the motherboard and CPU. The CPU runs firmware that tests hardware, finds a bootable drive, and loads the operating system's bootloader. The bootloader then loads the kernel, which starts drivers and user programs, making the computer ready to use.
A computer boots up when power reaches the CPU, which runs firmware that tests hardware, finds a bootable drive, and loads the operating system into memory. The OS then takes control and starts the programs that make the machine usable.
Step by step
- Power button sends a signal to the power supply, which converts AC power to DC voltages for the motherboard and components.
- CPU starts executing firmware from a chip on the motherboard, beginning the power-on self-test (POST) to check CPU, RAM, and basic devices.
- Firmware reads the boot order and searches for a bootable device, such as an internal drive or USB stick.
- Older BIOS firmware loads the boot device's first sector, while UEFI loads a bootloader file from a dedicated partition, then runs it.
- Bootloader loads the operating system kernel into RAM and transfers control to it.
- Kernel initializes hardware drivers, starts system services, and launches the user interface or login screen.
Key things to understand
- Pressing the power button signals the power supply to switch on, and it converts wall power into the voltages the motherboard and components need.
- The CPU starts executing firmware stored on a chip on the motherboard, called the BIOS or UEFI, which runs a power-on self-test (POST) to check essential hardware.
- If the POST passes, the firmware looks for a bootable device, such as a hard drive, SSD, or USB stick, using a configured boot order.
- The firmware loads the first stage of the operating system, called the bootloader, from that device into memory and hands control to it.
- The bootloader loads the operating system kernel, which initializes drivers and services, then starts user programs and the login screen.
Labelled diagram
- Power supply
Converts wall AC to stable DC voltages for motherboard and drives.
- CPU and firmware
CPU runs BIOS or UEFI, which tests hardware and finds boot device.
- Bootloader
Small program loaded from drive that locates and loads the kernel.
- Kernel
Core of OS that initializes drivers and manages memory and processes.
- User programs
Login screen and startup apps appear, making computer ready to use.
Real-world examples
- A Windows laptop shows the manufacturer logo while UEFI runs POST, then displays the Windows boot spinner as the kernel loads.
- A Mac with Apple silicon starts by loading firmware from internal storage, then boots macOS, showing the Apple logo and progress bar.
- A Linux server in a data center may boot from a network using PXE, loading the kernel from a central server instead of a local disk.
- A Raspberry Pi boots from a microSD card, where firmware on the GPU starts the CPU and loads the Linux kernel.
Common mistake
✗ Myth: The operating system is the first thing that runs when you press the power button.
✓ Fact: Firmware stored on the motherboard runs first, performing hardware checks and locating the operating system. Only after the firmware hands control to the bootloader does the operating system begin to load.
People also ask
What happens when you press the power button on a computer?
What is a bootloader?
Why does a computer need a BIOS or UEFI?
What is the difference between BIOS and UEFI?
Why does a computer sometimes fail to boot?
What is safe mode and when is it used?
How long does a typical boot take?
Part of the guide: How the Internet Works →

