Changing the boot order in a dual-boot configuration

The default entry for booting in a dual-boot Ubuntu 14.04 and Windows configuration is the first entry in the list.  The dual-boot configuration uses Grub2 for the boot manager.  The settings are under /etc/default and not Grub’s /boot/grub location.  While there are GUI ways to update the order (Grub-Customizer from the Software Center), people have had mixed results with it.  It is easy to go the text file route to change the order.

  1. sudo vi /etc/default/grub
  2. find the GRUB_DEFAULT=0 line and change 0 to 5.  The 5 corresponds to the zero based entry on the boot menu
  3. save the file
  4. run sudo update-grub

If you put an entry in for the index that’s invalid, then the boot loader will use 0 instead.

Advertisements
%d bloggers like this: