This infographic details the journey of a storage device from a partitioned state to a fully functional, bootable operating system.
During the installation process, your prepared HDD or SSD transforms from a bare file system structure into a sophisticated data library capable of launching the entire computer system.
- A Main OS Partition (e.g., C: drive) for the core files.
- A Recovery Partition for system restoration.
- A System/EFI Partition (Essential for modern boot processes).
For Legacy BIOS systems, this code is written to the Master Boot Record (MBR). For modern UEFI systems, the bootloader (as an EFI application) is placed in the EFI System Partition (ESP). This code's sole job is to kickstart the OS when the computer turns on.
The Disk's New Role: The HDD/SSD is no longer just a space for files. It now contains the master instructions (bootloader) and the entire operational brain (OS kernel), making it the primary identity of the computer.
When you press the power button, the system executes a precise series of hand-offs, moving control from the simplest hardware checks to the complex environment of the OS.
Location: Motherboard ROM (Firmware)
The CPU wakes up and executes the first instruction from the BIOS/UEFI firmware. This code checks basic hardware integrity (CPU, RAM, GPU, etc.). No disk access is involved yet.
Location: Motherboard ROM (Firmware)
The firmware initializes and configures hardware components, then consults the boot order settings. It scans the storage devices to find the location marked by the installation process as bootable (e.g., the MBR or the EFI System Partition).
Location: HDD/SSD (MBR or ESP)
The firmware loads the tiny, critical bootloader code from the disk into memory and executes it. The bootloader is responsible for presenting the OS selection menu (if any) and knowing exactly where the OS kernel resides on the file system.
Location: HDD/SSD (Main Partition) to RAM
The bootloader loads the OS kernel (the brain of the OS) into the computer's RAM. The kernel immediately takes full control of the CPU and memory. It initializes all major hardware components and sets up the virtual memory system.
Location: RAM (Executed by Kernel)
The kernel begins loading system services (often called Daemons or Services). These background programs manage critical tasks like networking, logging, and security. It also performs the final mounting of all file systems.
Location: RAM (Last Step)
The system launches the user interface (Desktop Environment or Shell). The login prompt appears, signifying that the complex chain of events is complete and the system is ready for user interaction.
The Final State: When the desktop appears, the OS is running almost entirely out of RAM, but it continuously relies on the HDD/SSD to swap data, access files, and maintain the complex directory structures established during installation.