There are 7 boot levels in Linux, the default is X-window, like Windows window mode, and the operation and configuration of Linux are generally used in the form of input commands, like DOS operating system, how to let Linux start to enter this mode?
to enter Linux as an administrator, modify the file: /etc/inittab file
Find the " Id:5:initdefault: ", where the 5 is that X-window , as the default run level, we usually put 5 instead 3 can be.
A total of 7 start levels, respectively:
# 0-halt (do not set Initdefault to this)
# 1-single User mode
# 2-multiuser, without NFS (the same as 3, if you don't have networking)
# 3-full Multiuser mode
# 4-unused
# 5-x11
# 6-reboot (do not set Initdefault
to this)
Detailed explanations of each run level:
0 for downtime, the machine shuts down.
1 is a single-user mode, similar to the safe mode under Win9x.
2 is multi-user mode, but there is no NFS support.
3 is the full multi-user mode and is the standard run level.
4 generally not, in some special cases you can use it to do something. For example, you can switch to this mode to do some setup when your laptop's battery is running out.
5 is X11, into the X Window System.
6 Restart, the init 6 machine will restart.
0 and 6 are not generally used;
Run startx to boot to level 5.
To modify the Linux default boot level or mode