修改linux内核启动顺序教程
修改linux内核启动顺序
<pre class="brush:bash;gutter:true;"># 修改内核启动顺序<br></br>x86_64 centos:<br></br>cat /boot/grub2/grub.cfg |grep "menuentry"
grub2-set-default 'CentOS Linux (3.10.0-327.el7.x86_64) 7 (Core)' <br></br><br></br>arrch64 中标麒麟:<br></br>cat /boot/efi/EFI/neokylin/grub.cfg | grep menuentry <br></br>grub2-set-default 'NeoKylin Linux Advanced Server (4.14.0-115.5.1.el7a.06.aarch64) V7.0 (Chromium)'
<pre class="brush:bash;gutter:true;"># 查看修改的内核是否生效
grub2-editenv list