修改linux内核启动顺序

修改linux内核启动顺序

# 修改内核启动顺序
x86_64 centos:
cat /boot/grub2/grub.cfg |grep "menuentry" grub2-set-default 'CentOS Linux (3.10.0-327.el7.x86_64) 7 (Core)'

arrch64 中标麒麟:
cat /boot/efi/EFI/neokylin/grub.cfg | grep menuentry
grub2-set-default 'NeoKylin Linux Advanced Server (4.14.0-115.5.1.el7a.06.aarch64) V7.0 (Chromium)'
# 查看修改的内核是否生效
grub2-editenv list

  

 

上一篇:给Linux的GRUB菜单添加密码


下一篇:Linux常见故障-------grub菜单故障