Linux Boot Process

You may also like...

3 Responses

  1. Kaustubh Phatak says:

    Good info. I searched online and learned answers to those interview questions after I read this article

  2. DannyB says:

    There is a stage between stage 3 and stage 4 which is much bigger than what is described in stage 3 and rivals the complexity of what happens in stage 4.

    Stage 3.5: the Second Stage Bootloader loads the Linux Kernel and hands control to it. The Kernel takes control of the hardware. This includes taking control of the memory management hardware, timers, interrupts, etc. The processor is no longer in x86 16-bit mode like it was when the BIOS started. The kernel will start using other processors and/or additional cores within processors. Linux may have some modules pre-compiled into the kernal, and may also load some modules from disk as needed, such as device driver modules that apply to the actual hardware present on this system. Once the kernel is fully running, it starts a single user space process, which is the ancestor of all processes: /sbin/init. Up until this point, all Linux systems work very similarly. Once /sbin/init begins, this is where the major differences between distributions become highly visible.

  3. Navneet Singh says:

    Thanks Danny for providing this information.

Leave a Reply to DannyB Cancel reply

Your email address will not be published. Required fields are marked *