设置CentOS启动时显示详细信息

来自YTYZX有图有真相的百科
Ytyzx讨论 | 贡献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