39 Initialisations on Booting

{#sec:init}

The Debian GNU/Linux kernel loads init very early on in the boot process, using /etc/inittab as its configuration file. This file defines the default run level and what should be done for each run level.

If you have a look at the processes running on your system (with the command line ps or with the graphical GNOME utility gtop) you will see that the init process has process identifier of 1 (unless you are running a more secure GNU/Linux where random numbers are assigned to the processes).

The initialisation table (/etc/inittab) is where system initialisations occur. This table consists of records with four fields separated by a colon:

  id:runlevels:action:process

The first field is an identifier. The second lists the runlevels for which this record is relevant. The third is the action to be performed. The fourth is the command to be run.

In this chapter we look at how the GNU/Linux system is initialised. See Chapter ?? for an explanation of the boot process and how to control booting.



Your donation will support ongoing availability and give you access to the PDF version of this book. Desktop Survival Guides include Data Science, GNU/Linux, and MLHub. Books available on Amazon include Data Mining with Rattle and Essentials of Data Science. Popular open source software includes rattle, wajig, and mlhub. Hosted by Togaware, a pioneer of free and open source software since 1984. Copyright © 1995-2022 Graham.Williams@togaware.com Creative Commons Attribution-ShareAlike 4.0