"设置CentOS启动时显示详细信息" 修訂間的差異
出自 YTYZX有图有真相的百科
行 1: | 行 1: | ||
CentOS开机显示详细信息 | CentOS开机显示详细信息 | ||
+ | |||
+ | 请勿尝试手动编辑开机选单,因为它是按照 /boot/ 目录内的文件自动创建出来的。然而你可以调整 /etc/default/grub 档内定义的通用设置,及在 /etc/grub.d/40_custom 档内加入个别自定项目。 | ||
於 2018年10月23日 (二) 15:34 的修訂
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