歡迎來到Linux教程網
Linux教程網
Linux教程網
Linux教程網
Linux教程網 >> Linux基礎 >> Linux教程 >> Linux啟動級別及設置

Linux啟動級別及設置

日期:2017/2/28 16:28:15   编辑:Linux教程

# 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) 多用戶模式,但不支持NFS

# 3 - Full multiuser mode 完全的多用戶模式
# 4 - unused 沒用到
# 5 - X11 圖形界面
# 6 - reboot (Do NOT set initdefault to this) 重啟(不要設置為默認)

RedHat中要改變啟動級別,只要修改/etc/inittab。

Ubuntu有點不一樣,網上的方法也很多,試過其中一種。

You need to open the /etc/default/grub file, locate the following line:

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"

and change it to:

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash text"

update-grub

即編輯/etc/default/grub文件,將GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"改為GRUB_CMDLINE_LINUX_DEFAULT="quiet splash text",然後更新一下grub。

Copyright © Linux教程網 All Rights Reserved