一般grub引導界面的默認的順序是
Ubuntu Advanced options for Ubuntu Windows 10
那么對應的 GRUB_DEFAULT 順序是0、1、2
sudo gedit /etc/default/grub
# If you change this file, run 'update-grub' afterwards to update # /boot/grub/grub.cfg. # For full documentation of the options in this file, see: # info -f grub -n 'Simple configuration' GRUB_DEFAULT=2 GRUB_TIMEOUT_STYLE=hidden GRUB_TIMEOUT=10 GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian` GRUB_CMDLINE_LINUX_DEFAULT="" GRUB_CMDLINE_LINUX="text"
修改 GRUB_DEFAULT=0 即可 默認啟動順序為Ubuntu
最后更新生效一下
sudo update-grub