linux:grub:default_item

Default grub item on Ubuntu

When using dual boot and GRUB is the boot loader of choice, you can do this simple tweak to set another option as a default option.

  1. Edit /etc/default/grub and change the line GRUB_DEFAULT=0 to GRUB_DEFAULT=saved, and save the file.
  2. Run the update-grub command
  3. Run the grub-set-default 4 command, where 4 (in this case) is the fifth option. The options start at position 0, so check the options order at boot time.

And that's it. At next boot, the default option will be (in this case) no 5.

  • linux/grub/default_item.txt
  • Last modified: 2019/10/31 09:05
  • by 127.0.0.1