30.1. The Boot Process

30.1. The Boot Process

Below are the basic stages of the boot process for an x86 system:

  1. The system BIOS checks the system and launches the first stage boot loader on the MBR of the primary hard disk.

  2. The first stage boot loader loads itself into memory and launches the second stage boot loader from the /boot/ partition.

  3. The second stage boot loader loads the kernel into memory, which in turn loads any necessary modules and mounts the root partition read-only.

  4. The kernel transfers control of the boot process to the /sbin/init program.

  5. The /sbin/init program loads all services and user-space tools, and mounts all partitions listed in /etc/fstab.

  6. The user is presented with a login screen for the freshly booted Linux system.

Because configuration of the boot process is more common than the customization of the shutdown process, the remainder of this chapter discusses in detail how the boot process works and how it can be customized to suite specific needs.


Note: This documentation is provided {and copyrighted} by Red Hat®, Inc. and is released via the Open Publication License. The copyright holder has added the further requirement that Distribution of substantively modified versions of this document is prohibited without the explicit permission of the copyright holder. The CentOS project redistributes these original works (in their unmodified form) as a reference for CentOS-5 because CentOS-5 is built from publicly available, open source SRPMS. The documentation is unmodified to be compliant with upstream distribution policy. Neither CentOS-5 nor the CentOS Project are in any way affiliated with or sponsored by Red Hat®, Inc.