Explain the Bootstrapping process. What is the role of the BIOS/UEFI and the bootloader in handing control to the OS?
Last updated
Bootstrapping is the staged path from power-on to a running OS. Firmware (BIOS/UEFI) runs from ROM, does POST (power-on self-test), and initializes hardware.
The firmware loads a bootloader (BIOS via the MBR, UEFI via the EFI System Partition with Secure Boot). The bootloader (e.g.
GRUB) loads the kernel and initial ramdisk into memory and passes boot parameters.The bootloader hands control to the kernel, which sets up memory, drivers, and scheduling, then starts the first user process (
init/systemd).