The Boot Process
Prerequisite — Firmware: Every computer has firmware, low-level software stored on a chip on the motherboard. It initializes hardware and hands control to the operating system. There are two types: BIOS (legacy, from the 1980s) and UEFI (modern replacement, supports larger disks, secure boot, faster startup). Most systems sold after 2012 use UEFI.
Concepts
Boot Sequence Overview
Power on
│
▼
Firmware (BIOS/UEFI) ← initializes hardware, finds bootloader
│
▼
Bootloader (GRUB) ← loads the kernel
│
▼
Linux Kernel ← takes control, detects hardware
│
▼
initramfs ← temporary root filesystem (loads drivers)
│
▼
systemd (PID 1) ← init system, starts services
│
▼
Login prompt / Desktop ← system ready
Stage 1: Firmware (BIOS/UEFI)
The firmware runs a POST (Power-On Self-Test), initializes hardware (CPU, RAM, display), and looks for a bootable device.