「GRUB 2」カテゴリーアーカイブ

change boot order on Debian/Win10 dual boot system

  • Find the Windows entry number in the boot loader :
  • ~$ cat /boot/grub/grub.cfg | grep menuentry
  • This shows the menuentry list in the order 0,1,..; if the Windows boot manager is at the third place, entry number is 2.
  • Edit /etc/default/grub;
  • ~$ sudo nano /etc/default/grub
  • Change the GRUB_DEFAULT from 0 to 2, then save the file.
  • GRUB DEFAULT=2
  • Update the changes into the boot loader. ;
  • ~$ sudo update-grub