grub2设置默认启动项
Linux booting is usually controlled by Grub or the new Grub2. Setting the default booting entry is a frequent operations. Here, we introduce how to set the default entry in Grub2 and Grub.
Linux引导通常由Grub或新的Grub2控制。 设置默认启动项是一项常见的操作。 在这里,我们介绍如何在Grub2和Grub中设置默认条目。
在grub2中设置默认启动项 (Setting the default booting entry in grub2)
Note1: With some version of grub2, the grub2-set-default method and the script below may not work. You can check the “Setting default boot entry for grub2 in /etc/default/grub” method below.
注意1 :对于某些版本的grub2,grub2-set-default方法和下面的脚本可能不起作用。 您可以检查下面的“在/ etc / default / grub中为grub2设置默认启动项”。
The quick method: download the grub2-select.bash and run
快速方法:下载grub2-select.bash并运行
# wget https://www.systutorials.com/go/grub2-select.bash/ -O grub2-select.bash && \
bash grub2-select.bash
and choose the boot ent