[email protected]:cd /boot/grub    //打开grub.cfg所在文件夹
[email protected]:/boot/grub$ sudo chmod a+w ./grub.cfg   //修改权限为所有可写
[sudo] password for lfg:                     
[email protected]:/boot/grub$ sudo vim grub.cfg          //修改下图

修改主要内容为  set default = '2',‘2’需要看自己的grub启动界面

Ubuntu与win10 修改开机启动顺序

 排序为0,1,2,3.

所以本机设置set default = '2'。

Ubuntu与win10 修改开机启动顺序

 恢复不可写权限,不然下次进入Ubuntu,系统会恢复原来的set default

[email protected]:/boot/grub$ sudo chmod a-w ./grub.cfg   //修改权限为所有可写
[email protected]:/boot/grub$ reboot                      //重启感受下

重启,grub界面亮条就会停在Windows上了。

当然,在grub.cfg 也可以设置grub界面的停留时间。

相关文章:

  • 2021-09-21
  • 2021-04-18
  • 2021-11-29
  • 2021-07-07
  • 2021-11-29
  • 2021-11-29
  • 2021-12-09
猜你喜欢
  • 2021-09-21
  • 2021-03-27
  • 2021-08-07
  • 2021-09-08
  • 2021-11-29
  • 2021-11-29
  • 2021-11-29
相关资源
相似解决方案