Edit GRUB to alter the boot sequence

Grub is the system which loads Linux. On startup, a menu offers options for booting the operating system(s) including various configurations. I am editing the loader to get Windows to boot
first on a dual-boot system. Another option is to adjust the menu timeout.

Firstly boot your own system and make a note of your current boot configuration, similar to the example above. There are a couple of options for editing Grub..

In the above example I am using sudo to raise the permissions level to perform these tasks. I am using vi as my preferred text editor.

To make Windows boot first, find the line that contains..

GRUB_DEFAULT=0

..and set it to the required boot line:

GRUB_DEFAULT=4

Note that the menu items are zero-indexed. This means that the first item in the list is 0 and the fifth item is actually 4. So to boot to the fifth item in the list (see top image), the line would require the number 4.