/etc/default/grub is the main configuration file for the GRUB. It contains settings that control boot behavior, such as:

  • Default boot entry and timeout
  • Kernel parameters (via GRUB_CMDLINE_LINUX)
  • Boot display settings (quiet mode, splash screen)
  • Recovery mode options

After editing this file, you must run sudo update-grub to apply changes to the actual bootloader configuration.