The boot process, also called booting or the boot sequence, is the ordered chain of steps that takes a computer from the moment power is applied to the point where a fully initialized operating system is ready to run programs. In operating systems, the boot process belongs to the domain of boot & firmware: it covers everything that happens before and while the kernel takes control of the hardware.
Each stage of booting has a narrow job: initialize just enough hardware, find the next stage, verify it where security policy requires, and hand over control. Because every stage depends on the one before it, the boot process is also where many of the hardest failures and the most important security guarantees of a computer are located.
Stages of the boot process
A modern PC boots in a fixed sequence of stages, from the CPU reset vector to the first user-space process. The same structure applies to servers and, with different firmware names, to most ARM devices. The table below shows the typical order on a UEFI-based computer.
| Stage | Code that runs | Main result |
|---|---|---|
| Power-on and reset | CPU reset vector in firmware flash | First instruction executes |
| Hardware initialization | UEFI firmware, including POST | Memory, chipset and devices ready |
| Boot device selection | Firmware boot manager | Boot entry chosen from boot order |
| Bootloader | For example GRUB or Windows Boot Manager | Kernel and initial ramdisk loaded |
| Kernel initialization | Operating system kernel | Drivers, memory management, scheduler |
| User space start | init or systemd, or Windows session manager | Services and login screen |
The earliest stage is the most constrained. When the CPU leaves reset, main memory is not yet usable, so firmware first runs from cache or flash and trains the DRAM controller. Only after memory initialization can larger firmware modules, drivers and option ROMs load.
BIOS and UEFI boot paths
The boot process differs significantly between legacy BIOS and UEFI firmware. A legacy BIOS reads the first 512-byte sector of a disk, the master boot record, and jumps into it in 16-bit real mode. UEFI instead reads a FAT-formatted EFI system partition and runs a bootloader file as a proper executable in 32-bit or 64-bit mode.
| Aspect | Legacy BIOS | UEFI |
|---|---|---|
| Boot code location | Master boot record sector | Files on the EFI system partition |
| Processor mode at handoff | 16-bit real mode | 32-bit or 64-bit protected mode |
| Partition scheme | MBR, disks up to 2 TiB | GPT, very large disks |
| Boot entries | Device order only | Named entries stored in NVRAM |
| Signature checking | Not available | Secure Boot supported |
Many PCs once included a Compatibility Support Module (CSM) that emulated BIOS behavior on UEFI firmware. Current platforms increasingly ship without CSM, so older operating systems and some legacy boot media no longer start on new hardware.
Trust and verification during booting
Because malware that runs before the kernel can hide from the operating system, the boot process is a central security boundary. Modern platforms protect it by building a chain of trust, in which each stage checks or records the next before handing over control.
| Mechanism | What it does | Effect on failure |
|---|---|---|
| Secure Boot | Checks bootloader and kernel signatures against firmware keys | Unsigned code is refused |
| Measured boot | Records hashes of each stage in the TPM | Boot continues, remote attestation detects change |
| Verified boot | Verifies system images, common on phones and Chromebooks | Device stops or enters recovery |
| Hardware root of trust | Checks firmware itself before the CPU runs it | Tampered firmware does not start |
These mechanisms are complementary rather than interchangeable. Secure Boot enforces a policy at the moment of loading, whereas measured boot produces evidence that another system can evaluate later, for example before granting network access or releasing a disk encryption key.
Cold boot, warm boot and network boot
Not every boot starts from the same state. A cold boot starts from powered-off hardware and runs the full initialization, while a warm boot restarts software without removing power and can skip parts of hardware testing. Fast startup modes in desktop systems combine a partial shutdown with a saved kernel state to shorten the next start.
- Cold boot: full hardware initialization, slowest but most predictable.
- Warm boot: restart without power loss, faster, some device states may persist.
- Resume from hibernation: reloads a saved memory image instead of a fresh kernel start.
- PXE network boot: firmware fetches the bootloader from a server, common in data centers.
Boot time on a modern desktop with an SSD is typically 5 to 20 seconds from power-on to login, but servers often need several minutes, mainly because of memory training and option ROMs on storage and network adapters.
Common boot failures and their causes
Most boot failures can be located by asking which stage stopped. Firmware errors appear before any operating system logo, bootloader errors usually show a text prompt, and kernel or driver errors appear after the operating system has started loading. The table below lists typical symptoms.
| Symptom | Likely stage | Typical cause |
|---|---|---|
| No display, beep codes | Firmware and POST | Memory, CPU or power fault |
| No bootable device message | Boot device selection | Wrong boot order or missing boot entry |
| Security violation message | Bootloader verification | Unsigned or revoked bootloader |
| Kernel panic or stop error | Kernel initialization | Faulty driver or missing root file system |
| Repeated restarts | Kernel or early services | Boot loop after a failed update |
A frequent mistake is reinstalling the operating system when only the boot entry or the EFI system partition is damaged. Repairing the bootloader is usually faster and preserves user data.
A plain-language summary
When you press the power button, a computer does not know much yet. It first wakes up its own parts. Then it looks for the system it should start. This chain of steps is the boot process.
Think of it as a relay race. The first runner is the firmware on the motherboard. It passes the baton to a small loader on the disk. The loader passes it to the operating system. If one runner trips, the race stops, and the computer does not start.
An example from practice
An IT technician at a mid-sized accounting firm receives a laptop that shows a no bootable device message after a failed firmware update. Instead of reinstalling Windows, the technician opens the firmware setup and sees that the Windows Boot Manager entry has disappeared from the boot order, although the disk is still detected.
Starting from a recovery USB drive, the technician uses the bcdboot tool to recreate the boot files on the EFI system partition. The firmware registers a new boot entry, Secure Boot validates the signed bootloader, and the laptop starts normally within about 15 minutes. All documents and applications remain intact, and no reinstallation is needed.