Sunday, November 09, 2008

Linux Boot Process and Init Process

The BIOS is the lowest level interface between the OS and the Computer system. The BIOS performs the integrity check on memory and and seeks instruction on the MBR of Hard-disk.

The MBR points to the boot-loader. The Boot process identifies the operating systems and asks the user to choose an OS label which identifies which kernel to run and where it is located (Hard-drive or Partition).

The Boot-loader loads the Linux operating system Kernel.
The first thing the kernel does is to load the init process. Init it the root/parent of all the processes on the Linux operating system.

The first processes that init starts is a script /etc/rc.d/rc.sysinit

Based on the appropriate run-level, scripts are executed to start various processes to run the system and make it functional.

No comments: