1、查看设备上安装了几个内核

cat /boot/grub2/grub.cfg |grep menuentry

CentOS7设置内核启动顺序

2、查看当前内核

grub2-editenv list

saved_entry=CentOS Linux (4.9.137-1.el7.x86_64) 7 (Core)

3、修改默认启动的内核

 grub2-set-default 'CentOS Linux (3.10.0-957.el7.x86_64) 7 (Core)'

相关文章:

  • 2021-07-21
  • 2022-12-23
  • 2021-10-25
  • 2021-12-26
  • 2021-12-19
  • 2022-12-23
  • 2021-07-02
猜你喜欢
  • 2022-12-23
  • 2021-11-27
  • 2022-02-25
  • 2022-12-23
  • 2022-02-26
  • 2022-12-23
  • 2021-10-02
相关资源
相似解决方案