Linux interview question

What happens when a Linux system boots?

How it works Asked in DevOps Engineer · Site Reliability Engineer (SRE) interviews

Members can save this page, take notes and track progress. See membership · Sign in

Summary

Firmware (UEFI or BIOS) loads a bootloader (GRUB), which loads the kernel and an initramfs. The kernel initialises hardware, the initramfs finds and mounts the real root filesystem, then the kernel starts PID 1 (systemd), which starts units in dependency order until it reaches the default target.

Keep reading with a membership

The full answer with examples, key points and comparisons is part of the membership, along with every other interview answer, progress tracking and Daily Review. Most-asked answers stay free to read.

See plans and free trial Already a member? Sign in

More Linux questions

← All Linux questions

Last reviewed · By the ByteCamel team · How we write content

Was this page helpful?

Report a mistake