Difference between revisions of "Boot process"

From Linuxintro
imported>ThorstenStaerk
imported>ThorstenStaerk
Line 14: Line 14:
  
 
= the init program is started =
 
= the init program is started =
 +
The Linux kernel starts the init program. Nothing else. If the init process quits, the Linux kernel panics. Init is responsible for all further services and programs that are started.
  
 
= the init script are executed =
 
= the init script are executed =

Revision as of 13:52, 11 January 2014

How Linux typically starts up on a PC

you switch on the computer

BIOS is shown and the devices are check

the master boot record is executed

the boot loader is executed

The boot loader is typically grub, and there is an older and smaller called lilo.

the Linux kernel is executed

the initrd is loaded/executed

the init program is started

The Linux kernel starts the init program. Nothing else. If the init process quits, the Linux kernel panics. Init is responsible for all further services and programs that are started.

the init script are executed

This can be SysV init scripts or upstart or systemd. One of them is dbus.

X Windowing system is started

login manager is started

user session incl. Desktop environment is started

See also