Power on: firmware (BIOS or UEFI) runs hardware checks (POST) and finds a boot device.
The bootloader (for example GRUB) loads the kernel image, and often an initial RAM disk, into memory and starts it.
The kernel initializes memory management, drivers and devices, mounts the root file system, and starts the first user-space process (init or systemd, PID 1), which launches the remaining services and login.
Loading…