In Linux, 0 to 6 are used to indicate different startup modes. each number indicates the following meaning: 0: The system starts normally and then shuts down. 1: Single-user mode. 2: Multi-user mode, no NFS3: Multi-user mode; NFS4: for use by the system, leave User 5: graphic interface mode 6: The system starts normally and then restarts 1. according to the meaning of each number, we should be clear that we cannot select the 0 and 6 modes, and we generally modify only the 3 and 5 modes. In 3 mode, the operation level is changed to a quasi-normal level,
In Linux, 0 to 6 are used to indicate different startup modes. the meaning of each number is as follows:
0: The system starts normally and shuts down.
1: Single-user mode
2: Multi-user mode, no NFS
3: Multi-user mode with NFS
4: for use, leave a user
5: graphic interface mode
6: The system starts normally and then restarts.
1. according to the meaning of each number, we should be clear that we cannot select the 0 and 6 modes.
However, we generally only modify the three and five modes. In the 3 mode, the running level is changed to a quasi-normal level, which is pure command line.
2. modification level
Use vi to edit/etc/inittab
Go to id: X: initdefault
X indicates the mode you want to modify, except for 0 and 6, which can be entered by others, such as: id: 3: initdefault.
3. how to modify the incorrect configuration:
If you accidentally set the level to 0 or 6, use the following method to remedy the problem:
After the system is started, you will first see this interface. press any key before the countdown ends to enter the grub boot interface.