Here I'm gonna tell you how Linux works From the beginning to the end Step 1: The bootloader Your Firmware opens an app called bootloader (usually in Linux it's grub) then the bootloader uses its config to load the kernel Step 2: the kernel After the kernel is loaded it knows where is your root partition it mounts it as / then runs /sbin/init in most distros /sbin/init is systemd Step 3: the init After the kernel runs the init the init starts the services and listens to shutdown or reboot signals (killing the init makes the kernel panick)

you are viewing a single comment's thread
view the rest of the comments
[–] 7 points 1 month ago (1 child)

Yep. There's also the initrd or initramfs - https://wiki.archlinux.org/title/Arch_boot_process#initramfs
(this is Arch Linux documentation, but it applies to most Linux systems).

  • source
  • hideshow 1 child comment