What Really Happens When You Press the Power Button on Your Computer? The Boot Process Explained for Beginners

Published: (January 31, 2026 at 08:03 PM EST)
3 min read
Source: Dev.to

Source: Dev.to

Hi guys and curious minds!
Today I want to share what actually happens when you hit the power button on your computer. This is the boot process—fast, precise engineering that turns a single press into a ready‑to‑use desktop.

Memory Types

RAM (Random Access Memory)

Your computer’s short‑term workspace for data it is using right now.

SRAM (Static RAM)

Used as cache. Super fast, small, and expensive. It sits close to the CPU and stores reusable instructions/data to speed up processing.

DRAM (Dynamic RAM)

Main system memory (DDR4, DDR5, GDDR for graphics, etc.). It copies programs from storage temporarily. Volatile – data disappears when power is removed.

ROM (Read‑Only Memory)

Non‑volatile storage that keeps permanent data such as startup firmware. Variants include PROM, EPROM, EEPROM/Flash.

Firmware

BIOS (Basic Input/Output System)

Traditional firmware stored on a chip on the motherboard. It runs first when you power on the computer and performs essential startup tasks.

UEFI (Unified Extensible Firmware Interface)

Modern replacement for BIOS. Handles hardware initialization, loads settings, and boots the operating system quickly and securely. It supports graphical interfaces, large drives, and Secure Boot.

General Firmware

Low‑level software coded directly into hardware (non‑volatile). Provides basic instructions. Examples: BIOS, UEFI, and various drivers.

CMOS

A tiny memory backed by a battery on the motherboard that stores configuration settings (boot order, date/time, fan speeds, etc.). Because it is volatile, the battery keeps it alive even when the computer is off.

Bootloader

A small program that loads the OS kernel (the core of Windows, Linux, macOS, etc.) into RAM.

Step‑by‑Step: What Happens After You Press Power

1. Power On

You press the button → electricity rushes to the motherboard and components. The CPU wakes up.

2. Firmware (BIOS or UEFI) Starts

The CPU executes the first instructions from the firmware chip (ROM/flash memory). Most modern PCs use UEFI.

3. Load Settings from CMOS

Firmware reads saved configuration (boot order, fan speeds, date/time, etc.).

4. POST (Power‑On Self‑Test)

The system checks hardware: CPU, RAM, keyboard, mouse, GPU, storage, etc.

  • All good: a short beep (or none) and the logo appears.
  • Problem detected: multiple beeps, error codes, or no response (e.g., missing RAM produces long beeps). Each PC brand has its own beep‑code scheme.

5. Find the Operating System

Firmware scans drives in the boot order (SSD → USB → …) and locates one containing an OS.

6. Bootloader Takes Over

The bootloader (e.g., Windows Boot Manager, GRUB) is loaded, mounts the OS partition, and copies the kernel into RAM.

7. OS Takes Control

The kernel loads drivers, starts services, and displays the login screen or desktop.

Result: You’re ready to code, browse, or game—usually within 5–30 seconds on a modern SSD + UEFI setup.

Why This Matters

  • Troubleshooting: Beep codes help diagnose why a PC won’t boot.
  • Dual‑booting / Linux installation: Understanding the boot order and bootloader is essential.
  • Changing boot order: Done in the UEFI setup utility.
  • Windows 11 requirements: Requires UEFI with Secure Boot.

In 2026, UEFI is the standard; BIOS is largely legacy unless you’re using very old hardware.

If you have questions, want more details (e.g., Secure Boot), or noticed something missing, feel free to comment. Thanks for reading!

Back to Blog

Related posts

Read more »