Chapter 2. Booting

Table of Contents

What the kernel does when it starts up
Booting
Switch On

What the kernel does when it starts up

  1. The kernel un-compresses

  2. The kernel claims a certain amount of memory for its working tables and buffers (kernel memory).

  3. All the driver that are built into the kernel initialize by detecting their respective hardware

  4. The kernel mounts the root file system The kernel mounts the root directory of the root file system to the kernels' idea of a system (superstructure) root directory.

  5. The kernel executes /sbin/init

The kernel now waits for asynchronous events to occur; i.e. It is now ready to serve the system by servicing requests from processes and hardware.

Everything that happens subsequently on the system has to either be requested by a binary through a system call to the kernel, or an asynchronous event triggered by hardware