Difference between revisions of "Boot process"
From Linuxintro
imported>ThorstenStaerk |
imported>ThorstenStaerk |
||
Line 17: | Line 17: | ||
= the init script are executed = | = the init script are executed = | ||
− | This can be SysV init scripts or upstart or systemd. | + | This can be SysV init scripts or upstart or systemd. These init scripts typically start services. Services are grouped into runlevels. Some notable services are: |
+ | * alsasound | ||
+ | : Used for the alsa sound system | ||
+ | * cups | ||
+ | : Used for printing, it is the common Unix printing system | ||
+ | * dbus | ||
+ | : Used to call public functions in running programs. Should be abstracted to users. | ||
+ | * esound | ||
+ | : Used for enlightenment sound system | ||
+ | * ntp | ||
+ | * autofs boot.udev xdm | ||
+ | * cifs xfs | ||
+ | * cron ypbind | ||
+ | * powerd | ||
+ | * gpm network sshd | ||
= X Windowing system is started = | = X Windowing system is started = |
Revision as of 14:45, 11 January 2014
How Linux typically starts up on a PC
Contents
- 1 you switch on the computer
- 2 the master boot record is executed
- 3 the boot loader is executed
- 4 the Linux kernel is executed
- 5 the initrd is loaded/executed
- 6 the init program is started
- 7 the init script are executed
- 8 X Windowing system is started
- 9 login manager is started
- 10 user session incl. Desktop environment is started
- 11 See also
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. These init scripts typically start services. Services are grouped into runlevels. Some notable services are:
- alsasound
- Used for the alsa sound system
- cups
- Used for printing, it is the common Unix printing system
- dbus
- Used to call public functions in running programs. Should be abstracted to users.
- esound
- Used for enlightenment sound system
- ntp
- autofs boot.udev xdm
- cifs xfs
- cron ypbind
- powerd
- gpm network sshd