More on Kernel

The kernel code contains both machine dependent as well as machine independent code. This is because the same kernel will be used on a variety of devices which uses different processor architecture.

The following section describes what the machine dependent and machine in-dependent code deals with

Machine dependent code

Machine independent code

Terminal Line Discipline

(Source)

Terminal line disciplines refer to the terminal type (TTY) that is to be used - RawTTY & CookedTTY

<aside> 💡 The architecture dependent code can be accessed at /usr/src/<linux-kernel>/arch.

</aside>


Booting Procedure

(Source 1) (Source 2)

The booting procedure involves the following steps -

  1. Power On - BIOS

  2. Master Boot Record (MBR)

  3. Boot Loader

    (A brief video explanation about the Boot Loader on Youtube)

  4. Initializing the Kernel

  5. The systemd process

  6. Run Level

    Runlevels