Linux Boot Process
The sequence of steps a computer follows to start up
4 main boot components
Preboot Execution Environment
Boot Loader
Initial RAM Disk (initrd)
Kernel
Preboot Execution Environment (PXE)
Optional, used for remote booting
Bootloader
Loads the OS and prepares the system
Initial RAM Disk (initrd)
Provides essential drivers and tools before switching to the
real root filesystem
Kernel
The core of the OS, managing system resources
What is PXE’s role?
Enables network-based booting instead of local storage
(HDD/SSD)
Used for deploying operating systems remotely in businesses, schools, and data centers
PXE Boot Process
The network card requests an IP address from a DHCP server
○ DHCP provides the location of a TFTP server storing boot files
○ PXE retrieves the bootloader, such as GRUB2, to load the OS installer or system image
What is Bootloader’s role?
Loads the Linux kernel and initrd
Interacts with the firmware (BIOS or UEFI) to initialize the boot process
Can display a boot menu if multiple OS versions are available
_________ reads boot entries from /boot/grub/grub.cfg
Bootloader
Bootloader’s configurations are modified in __________ updated using ___________
/etc/default/grub, update-grub
What is the Kernel’s role?
The core of the operating system
Manages hardware, processes, memory, and system resources
Mounts the root filesystem and starts system services
Configurations are adjusted using sysctl
Persistent kernel parameters are stored in /etc/sysctl.conf
Changes can be applied immediately with sysctl -p