如何让Redhat Linux启动时进入字符终端模式(不进入XWindow)发布时间:2008-04-24 17:46:50 来源: ChinaUnix博客 作者: ChinaUnix博客 点击:1292
修改/etc/inittab
将“id:5:initdefault:”修改为“id:3:initdefault:”,具体参数可以参见该文件中的注释部分
# Default runlevel. The runlevels used by RHS 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)
#
修改/etc/inittab
将“id:5:initdefault:”修改为“id:3:initdefault:”,具体参数可以参见该文件中的注释部分
# Default runlevel. The runlevels used by RHS 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)
#