Boot is a chain of trust and control transfers that turns platform reset into a running user-space environment. A common PC path can be summarized as firmware, boot manager or loader, kernel with optional early user space, and the PID 1 init system. Architectures, virtual machines, embedded systems, and containers can use different paths.
Boot the System · Lesson 1
Boot Process Overview
Learn the major handoffs from platform firmware through the kernel to the first user-space process.
Firmware Initialization
Platform firmware initializes enough CPU, memory, and device state to choose a boot target. Traditional PCs use BIOS conventions; current PCs commonly use UEFI. Firmware settings, boot order, platform verification, and Secure Boot policy can determine which next-stage executable is allowed to run.
Firmware does not necessarily understand the installed Linux root filesystem. It locates a boot path according to its interface—for example, BIOS boot code on a selected disk or a UEFI boot entry pointing to an EFI executable on an EFI System Partition.
Which component begins platform initialization after reset on a typical PC?
Boot Loader or Boot Manager
A loader such as GRUB can present entries, load a selected Linux kernel and initial RAM filesystem into memory, construct the kernel command line, and transfer control. UEFI can also load a kernel built as an EFI executable directly, so a separate multi-stage loader is common rather than universal.
The selected artifacts must agree: kernel version, initramfs content, root identifier, security signatures, and command-line options all affect whether the next handoff succeeds.
What is a common responsibility of a Linux boot loader?
Kernel and Early User Space
The kernel decompresses or relocates as required, initializes core subsystems, parses its command line, and discovers available hardware. An initramfs can supply modules and early tools needed for storage discovery, RAID, encryption, LVM, networking, or other work required to assemble the real root filesystem.
After the intended root is available, early user space switches to it and the kernel executes the configured first user-space program. Details such as who performs filesystem checks or read-write remounting belong to the distribution's boot design rather than one universal sequence.
Why might a system use an initramfs?
PID 1 and System Readiness
The first user-space process receives PID 1. On many distributions it is systemd; other systems use sysvinit, OpenRC, runit, BusyBox init, or a specialized program. PID 1 establishes the user-space service environment, reaps orphaned children, and handles shutdown responsibilities.
Reaching PID 1 does not mean the system is fully ready. Services can still be starting, storage can be mounting, network configuration can be pending, and a graphical or console login is only one possible target state.
What begins the main user-space initialization stage?
The Customize the GRUB2 Boot Menu lab demonstrates one loader configuration path. Apply changes only in a recovery-capable lab system.
Lesson complete
You finished Boot Process Overview
You can now trace the major Linux boot handoffs without treating them as universal implementation details.
Start with firmware initialization and target selection.
Relate the loader to kernel, initramfs, and command-line selection.
Use early user space to understand complex root assembly.
Treat PID 1 as the beginning of service initialization, not proof of readiness.
Keep your learning progress
Create a free account to save this lesson and continue learning on any device.
Create a free account