grub-set-default Command Examples

Set the default boot entry for GRUB. More information: https://manned.org/grub-set-default.

sudo grub-set-default {{entry_number}}

sudo grub-set-default --boot-directory {{/path/to/boot_directory}} {{entry_number}}