Section 3.3:Sysconfig Information
•
rc.sysinit handles most of the boot loader's processes and then runs rc.serial (if it ex-
ists)
•
init runs all the scripts for the default runlevel
•
init runs /etc/rc.d/rc.local
The default runlevel is decided in /etc/inittab. You should have a line close to the top like:
id:3:initdefault:
The default runlevel is 3 in this example, the number after the first colon. If you want to change it,
you can edit /etc/inittab by hand. Be very careful when you are editing the inittab file.
If you use LILO as your boot loader, you can fix the inittab file by rebooting, accessing the boot:
prompt with
[Ctrl]
-
[X]
, and typing:
boot:
linux single
If you are using GRUB as your boot loader, you can fix the inittab file with the following steps.
•
In the graphical GRUB boot loader screen, select the
edit it.
•
Arrow down to the kernel line and press
•
At the prompt, type single and press
•
You will be returned to the GRUB screen with the kernel information. Press the
system into single user mode.
This should allow you to boot into single-user mode so you can re-edit inittab to its previous value.
Next, we will discuss information in the files within /etc/sysconfig that define the parameters
used by different system services when they start up.
3.3 Sysconfig Information
The following information outlines some of the various files in /etc/sysconfig, their function,
and their contents. This information is not intended to be complete, as many of these files have a
variety of options that are only used in very specific or rare circumstances.
3.3.1 Files in /etc/sysconfig
The following files are normally found in /etc/sysconfig:
•
amd
•
apmd
Red Hat Linux
[e]
to edit it.
.
[Enter]
boot label and press
[e]
key to boot the
[b]
43
to
Need help?
Do you have a question about the LINUX 7.2 and is the answer not in the manual?
Questions and answers