設置CentOS啟動時顯示詳細信息

從 YTYZX有图有真相的百科
於 2018年10月23日 (二) 15:34 由 Ytyzx (對話 | 貢獻) 所做的修訂
跳到: 導覽搜尋

CentOS開機顯示詳細信息

請勿嘗試手動編輯開機選單,因為它是按照 /boot/ 目錄內的文件自動創建出來的。然而你可以調整 /etc/default/grub 檔內定義的通用設置,及在 /etc/grub.d/40_custom 檔內加入個別自定項目。


vi /etc/default/grub Remove rhgb quiet from this entry, should look like this right now

GRUB_CMDLINE_LINUX="crashkernel=auto rhgb quiet" change to

GRUB_CMDLINE_LINUX="crashkernel=auto" after making those changes you』ll need to rebuild the grub2 configuration file with

grub2-mkconfig -o /etc/grub2.cfg