- Press the Power button
BIOS / UEFI
=> Powers up peripherals
BIOS/ UEFI
=> Runs the POST
(Power On Self Test)
BIOS/ UEFI
=> Finds and loads the boot loader (like GRUB2
, LILO
, etc.)
- Boot loader is located in the
MBR
for BIOS
- It is located in the separate
.efi
partition for UEFI
- The boot loader locates the OS in the memory
- The boot loader loads the OS kernel and hands control over to it
- First the kernel decompresses itself
- Then it check all the hardware and loads device drivers
- The kernel then starts the
init
process - Systemd
in linux
- The init process starts all the necessary background processes and services
Refs §
- https://www.youtube.com/watch?v=XpFsMB6FoOs