Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

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.

Regards.,

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

and then :

sudo grub2-mkconfig -o /boot/grub2/grub.cfg or
sudo grub2-mkconfig -o /boot/efi/EFI/fedora/grub.cfg

Regards.,

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
sudo grub2-mkconfig -o /boot/efi/EFI/fedora/grub.cfg

Regards.,

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
sudo grub2-mkconfig -o /boot/efi/EFI/fedora/grub.cfg

DOCUMENTATION : grub

Regards.,

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
sudo grub2-mkconfig -o /boot/efi/EFI/fedora/grub.cfg

DOCUMENTATION : grub and here GRUB_2

Regards.,

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
/boot/grub2/grub.cfg

or i you have efi partition :

sudo grub2-mkconfig -o /boot/efi/EFI/fedora/grub.cfg

DOCUMENTATION : grub and here GRUB_2

Regards.,

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 i if you have efi partition :

sudo grub2-mkconfig -o /boot/efi/EFI/fedora/grub.cfg

DOCUMENTATION : grub and here GRUB_2

Regards.,