Linux ~ boot manager.

Linux ~ boot manager.



CentOS 6.x boot manager.


Run-level system.

Run Level meaning
0 Shutdown
1 Single-user mode, it is conceivable for the Windows security model, mainly for system repair.
2 Imperfect command line mode, containing NFS service.
3 Full command line mode, the character is the standard interface.
4 System reserved.
5 Graphics mode.
6 Restart.

Run-level command.
  • View run level.

init 0 -> off.
init 6 -> Restart.

[root@localhost ~]# runlevel
N 3
# 上次 现在。
  • Change the operating level.
[root@localhost ~]# init 级别
  • The default run level.
[root@localhost ~]# cat /etc/inittab 
# inittab is only used by upstart for the default runlevel.
#
# ADDING OTHER CONFIGURATION HERE WILL HAVE NO EFFECT ON YOUR SYSTEM.
#
# System initialization is started by /etc/init/rcS.conf
#
# Individual runlevels are started by /etc/init/rc.conf
#
# Ctrl-Alt-Delete is handled by /etc/init/control-alt-delete.conf
#
# Terminal gettys are handled by /etc/init/tty.conf and /etc/init/serial.conf,
# with configuration in /etc/sysconfig/init.
#
# For information on how to write upstart event handlers, or how
# upstart works, see init(5), init(8), and initctl(8).
#
# Default runlevel. The runlevels used are:
#   0 - halt (Do NOT set initdefault to this)
#   1 - Single user mode
#   2 - Multiuser, without NFS (The same as 3, if you do not have networking)
#   3 - Full multiuser mode
#   4 - unused
#   5 - X11
#   6 - reboot (Do NOT set initdefault to this)
# 
id:3:initdefault:


System startup.

CentOS 6.x boot manager.
Boot loader ~ grub.
System modification mode.
Published 47 original articles · won praise 1 · views 1146

Guess you like

Origin blog.csdn.net/lyfGeek/article/details/104973150