How to Disable the Ubuntu ‘Grub’ Boot Menu Timeout (Boot Instantly)

When you turn on an Ubuntu PC, the GRUB bootloader appears. By default, GRUB waits on a purple or black screen for 10 seconds, asking if you want to boot normally, enter recovery mode, or boot into a different operating system. Only after this countdown finishes does Ubuntu actually begin to load.

If Ubuntu is the only operating system installed on your computer (you are not dual-booting with Windows), this 10-second pause is a complete waste of time. It unnecessarily delays your boot process every single morning. You can modify the GRUB configuration file to change this timeout to zero, forcing your PC to boot into Ubuntu instantly.

How to Change the GRUB Timeout to Zero

You must edit the master GRUB configuration file using the terminal, and then update the bootloader for the changes to take effect.

  1. Open your Terminal (Ctrl + Alt + T).
  2. Open the GRUB configuration file in the nano text editor with root privileges by typing: sudo nano /etc/default/grub
  3. Enter your administrator password when prompted.
  4. Look for a line in the file that says GRUB_TIMEOUT=10 (or another number).
  5. Carefully change the number to a zero, so the line reads: GRUB_TIMEOUT=0
  6. (Optional but recommended: Look for GRUB_TIMEOUT_STYLE=hidden and ensure it is set to “hidden”, not “menu”).
  7. Save your changes by pressing Ctrl + O, then Enter.
  8. Exit the nano editor by pressing Ctrl + X.
  9. Finally, you must command the system to regenerate the actual boot files based on your new configuration. Type the following command and press Enter: sudo update-grub

The terminal will quickly generate a new boot configuration. The next time you restart your computer, it will completely bypass the 10-second countdown screen and immediately begin loading the Ubuntu Desktop.

Get the best tech tips delivered straight to your inbox.

Join thousands of readers mastering Apple, Google, Microsoft, and Linux.