RedHatEnterpriseLinux fix system-specific Runlevel

Source: Internet
Author: User
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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.