You can use an easy-to-use the GUI application called Grub Customizer to make your life a little bit easier. As the name suggests, you can do much more than just reordering GRUB menu entries with it.
or manual
sudo nano /etc/default/grub
Find the line that contains
GRUB_DEFAULT=0
and set it to
GRUB_DEFAULT=x
where x
is the index of grub menu item to which you would like to boot to by default. Note that the menu items are zero-indexed. That means that the first item in the list is 0
and that the second item is actually 1
an so on. the line would read:
GRUB_DEFAULT=5
If you forgot the order of the items, take a look at /boot/grub/grub.cfg
. Each menu entry is specified by a line of type:
menuentry 'xxxxxxxx' [options] {
and then :
sudo grub2-mkconfig -o /boot/grub2/grub.cfg
or if you have efi partition :
sudo grub2-mkconfig -o /boot/efi/EFI/fedora/grub.cfg
DOCUMENTATION : grub and here GRUB_2
Regards.,