Difference between pages "Talk:Read e-books with Linux" and "Boot process"

From Linuxintro
(Difference between pages)
imported>ThorstenStaerk
 
imported>ThorstenStaerk
 
Line 1: Line 1:
you will also need with 12.2:
+
How Linux typically starts up on a PC
* libxslt
+
 
* libxml2-2-32bit
+
= you switch on the computer =
* cabextract
+
BIOS is shown and the devices are check
* cups-libs-32bit
+
 
* libxslt1-32bit
+
= the master boot record is executed =
* openal
+
 
* capi4linux
+
= the boot loader is executed =
* libOSMesa8
+
The boot loader is typically grub, and there is an older and smaller called lilo.
* libv4l-32bit
+
 
* libgstreamer-0_10-0-32bit
+
= the Linux kernel is executed =
* libopenal1-soft-32bit
+
 
* libasound2-32bit
+
= the initrd is loaded/executed =
* Mesa-libGL1-32bit
+
 
* libgphoto2-32bit
+
= the init program is started =
* Mesa-libGLU-32bit
+
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.
* libgsm1-32bit
+
 
* libxcomposite1-32bit
+
= the init script are executed =
* libOSMesa8-32bit
+
This can be SysV init scripts or upstart or systemd. These init scripts typically start services. Services are grouped into runlevels. Find out your current runlevel with the command
* libXcursor1-32bit
+
runlevel
* libXinerama1-32bit
+
Change your runlevel, in this case to 3, with the command
* libcapi20-3-32bit
+
init 3
* libgthread-2_0-0-32bit
+
 
* libgstapp-0_10-0-32bit
+
E.g. in SUSE the runlevels are defines as
* libXi6-32bit
+
* 0: reboot
* libXrandr2-32bit
+
* 1: rescue system, single user
 +
* 2: all services that run in (1) plus services needed for multi-user login
 +
* 3: all services that run in (2) plus network services
 +
* 4: undefined
 +
* 5: all services that run in (3) plus graphical display
 +
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
 +
: Network Time Protocol to keep your clock in sync with the real time via the network
 +
* autofs          boot.udev                xdm
 +
* cifs              xfs
 +
* cron                        ypbind
 +
* powerd     
 +
*       gpm          network   
 +
* sshd
 +
: Service that allows to [[control a computer via the network]]
 +
 
 +
= X Windowing system is started =
 +
 
 +
= login manager is started =
 +
 
 +
= user session incl. Desktop environment is started =
 +
 
 +
= See also =
 +
* http://wiki.linuxquestions.org/wiki/Boot_process

Revision as of 15:05, 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. These init scripts typically start services. Services are grouped into runlevels. Find out your current runlevel with the command

runlevel

Change your runlevel, in this case to 3, with the command

init 3

E.g. in SUSE the runlevels are defines as

  • 0: reboot
  • 1: rescue system, single user
  • 2: all services that run in (1) plus services needed for multi-user login
  • 3: all services that run in (2) plus network services
  • 4: undefined
  • 5: all services that run in (3) plus graphical display

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
Network Time Protocol to keep your clock in sync with the real time via the network
  • autofs boot.udev xdm
  • cifs xfs
  • cron ypbind
  • powerd
  • gpm network
  • sshd
Service that allows to control a computer via the network

X Windowing system is started

login manager is started

user session incl. Desktop environment is started

See also