双系统Windows和Ubuntu换默认启动项

终端下输入:

sudo gedit /etc/default/grub

找到“ GRUB_DEFAULT”

  • Ubuntu
 GRUB_DEFAULT = 0
  • Windows
 GRUB_DEFAULT = 4

保存关闭

更新

sudo update-grub
原创文章 37 获赞 5 访问量 1万+

猜你喜欢

转载自blog.csdn.net/Yolandalt7777777/article/details/105630474