CSE Roadmap

Core tier · about 2 hours · 7 parts

Part 1 of 7 · 1 min read

Why this page comes fourth

In this module you will

  • Explain why booting is a chicken-and-egg problem and how a small program solves it.
  • List the stages from power-on to a login prompt, in order.
  • Tell BIOS from UEFI, and a boot loader from the kernel.
  • Say what the initial RAM file system and the first process do.
  • Read boot information on Linux and find where a failed boot stopped.

Pages 1 to 3 described a running OS. This page explains how it gets there. When the power button is pressed, memory is empty, and the OS sits on a disk that nothing can yet read. Understanding the way out shows how the kernel, the file system and the first process fit together, which later levels use. The main sources are "Operating System Concepts" (OSC), chapter 2, and "Modern Operating Systems" (MOS), chapter 1. Numbers marked "made up" only show the idea.

About this example About this example

Real: The /proc/cmdline text and the uptime program output come from the Linux test machine, a small virtual machine, which starts its first process differently from a laptop.

Scripted: Boot times and image sizes marked "made up to show the idea" were chosen for the examples.

Not real: The stage table is a simplified route. Real firmware and boot loaders differ between machines.