Study smarter with Fiveable
Get study guides, practice questions, and cheatsheets for all your subjects. Join 500,000+ students with a 96% pass rate.
The boot process is the fundamental sequence that takes a computer from powered-off hardware to a fully functional operating system. Every step in this sequence demonstrates core OS concepts: firmware interfaces, bootloaders, kernel responsibilities, and process management.
Don't just memorize the order of steps. Know what each phase accomplishes, which component is responsible, and how failures at different stages look different from each other. Exam questions often ask you to identify where in the boot process a particular error occurred, or to compare legacy (BIOS/MBR) and modern (UEFI/GPT) approaches.
Before any software runs, the system must verify that hardware is functional and configure low-level settings. The firmware stored on the motherboard takes control immediately after power is applied. No operating system code is involved yet.
Compare: BIOS vs. UEFI: both initialize hardware and launch bootloaders, but UEFI supports drives larger than 2TB (via GPT), offers Secure Boot verification to prevent unauthorized code from running, and provides a graphical configuration interface. If an FRQ asks about modern boot security, UEFI's Secure Boot is your go-to example.
Once hardware is ready, the system must locate bootable media and understand its partition structure. The firmware reads just enough data from disk to hand off control to the bootloader stored there.
Compare: MBR vs. GPT: both define partition layouts, but MBR is legacy (BIOS-compatible, 4-partition and 2TB limits) while GPT is modern (UEFI-native, virtually unlimited size). GPT also stores backup partition tables at the end of the disk for data integrity, which is a common exam detail.
The bootloader is the first significant software component loaded from disk. Its job is narrow but critical: locate the kernel, load it into memory, and transfer control. On multi-boot systems, this is also where OS selection happens.
root= to specify the root filesystem device) that configure its behavior.Compare: GRUB vs. Windows Boot Manager: both load kernels and support multi-boot, but GRUB is highly configurable via text files and supports chain-loading other bootloaders. This flexibility makes GRUB the standard example for bootloader customization questions.
Once the kernel has control, it must initialize itself and prepare the environment for user-space programs. Memory management, process scheduling, and device drivers all come online during this phase.
fsck) can run safely before switching to read-write.init (SysVinit), but on most modern Linux systems it's systemd.Compare: Traditional init vs. systemd: both serve as PID 1 and manage services, but systemd starts services in parallel and uses dependency-based ordering, which results in faster boot times. Expect questions about systemd's unit files (declarative configuration) versus init's sequential shell scripts.
The final boot phase prepares the system for human interaction. By this point, the kernel is running, essential services are active, and the system is ready to authenticate users and launch their environments.
/etc/ and prepares default environments for incoming usersgetty/login) or a graphical display manager (GDM, LightDM, SDDM)/etc/passwd, /etc/shadow) or networked authentication services like LDAPCompare: Text login vs. display manager: both authenticate users and start sessions, but display managers launch full graphical environments and often support choosing between multiple desktop options. The display manager itself runs as a system service, not as part of any user session.
| Concept | Best Examples |
|---|---|
| Firmware initialization | POST, BIOS, UEFI |
| Partition schemes | MBR (legacy, 2TB limit), GPT (modern, larger disks) |
| Bootloader software | GRUB, Windows Boot Manager, LILO |
| Kernel responsibilities | Memory management, scheduler, device drivers, root mount |
| Init systems | systemd (modern), SysVinit (traditional), Upstart |
| Service management | systemd units, init scripts, runlevels/targets |
| Authentication | getty, login, GDM, LightDM |
| Legacy vs. modern boot | BIOS/MBR vs. UEFI/GPT |
Which two boot phases are handled entirely by motherboard firmware before any disk access occurs?
A system fails to boot and displays "No bootable device found." At which stage did the failure occur, and what are two possible causes?
Compare and contrast MBR and GPT: what limitations does MBR have that GPT addresses, and which firmware type is each associated with?
If a Linux system boots to a command prompt instead of a graphical desktop, which component likely failed or was misconfigured: the kernel, systemd, or the display manager? Explain your reasoning.
Trace the handoff of control during boot. List the four major components that sequentially take control from power-on to user login, and identify what each one loads or starts.