Boot the System · Lesson 1 of 5
Boot Process Overview
0 / 4 checkpoints answered
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.
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.
CheckWhich component begins platform initialization after reset on a typical PC?
press 1/2/3 to answer · → next lesson
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.
CheckWhat is a common responsibility of a Linux boot loader?
press 1/2/3 to answer · → next lesson
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.
CheckWhy might a system use an initramfs?
press 1/2/3 to answer · → next lesson
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.
CheckWhat begins the main user-space initialization stage?
press 1/2/3 to answer · → next lesson
The Customize the GRUB2 Boot Menu lab demonstrates one loader configuration path. Apply changes only in a recovery-capable lab system.
Summary
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.
Lesson complete
You finished Boot Process Overview. Nice work — keep the momentum going.