The RedHatEnterpriseLinux system provides three dedicated repair system runlevels. 1. Runlevel12, RunlevelS3, Runlevelemergency (1). When Runlevel1 is started, the startup sequence of RedHatEnterpriseLinux is BIOS --- Boot Loader --- kernel --- init --- rc. syinit-
Red Hat Enterprise Linux provides three dedicated repair systems.
1. Runlevel 1
2. Runlevel S
3. Runlevel emergency
(1) When Runlevel 1 is started, Red Hat Enterprise Linux starts up in the following sequence:
BIOS --- start loader --- kernel --- init --- rc. syinit --- rc1.d
Since Runlevel 1 is executed only to rc1.d. Therefore, Runlevel 1 can be used to solve the following problems:
1. errors that occur when you enter Runlevel 2, Runlevel 3, Runlevel 4, and Runlevel 5.
2. Since no PAM client is executed during rc1.d/boot, Runlevel 1 can be used to solve the errors caused by the PAM subsystem.
(2) Runlevel S, also known as Runlevel s or Runlevel single. When Runlevel S is selected, the boot sequence of Red Hat Enterprise Linux is as follows:
BIOS --- start loader --- kernel --- init --- rc. syinit
Runlevel S can solve the following problems:
1. Runlevel 1 can solve the problem.
2. Since Runlevel S only ends when it is executed to rc. syinit and does not run the service started at Runlevel 1, you can solve the error caused by Runlevel 1 through Runlevel S.
(3) The last Runlevel used to fix the system is Runlevel emergency. When Runlevel emergency is started, the boot sequence of Red Hat Enterprise Linux is as follows:
BIOS --- start loader --- kernel --- init
Since Runlevel emergency only ends after init is executed, Runlevel emergency can solve the following problems:
1. Runlevel S can solve the problem.
2. rc. sysinit errors. For example, if a Software RAID fault or/etc/fstab error occurs, the file system cannot be correctly mounted.
As the Runlevel emergency root file system is still read-only, files in Red Hat Enterprise Linux cannot be directly modified. If you want to modify files in/etc/, you must manually change the root file system to the readable class write status.
For more information about RedHat, see RedHat topic page http://www.linuxidc.com/topicnews.aspx? Tid = 10