Understanding the Linux Kernel Startup Process
This article walks through the complete Linux kernel boot sequence, from the bootloader loading a compressed vmlinuz image and initramfs, through decompression and the start_kernel routine, to the creation of PID 0, 1, 2 and the init process that launches system services and the user interface.
