Skip to main content

How to Set the Default Auto Load Seconds in GRUB

·114 words·1 min
Grub Linux
UmmIt
Author
UmmIt
Loves to write about technology, and cybersecurity related topics :)
Table of Contents

Introduction
#

To set the timeout for auto-boot, follow these steps:

Step 1: Open the GRUB Configuration File
#

Open a terminal and run the following command to edit the file with root privileges:

sudo vim /etc/default/grub

Step 2: Set the Timeout
#

Adjust the GRUB_TIMEOUT to the number of seconds you want GRUB to wait before automatically booting the default entry. For example, to set a 10-second timeout:

GRUB_TIMEOUT=10

Step 4: Save and Exit
#

Save the changes by :wq

Step 5: Update GRUB Configuration
#

After edited the GRUB configuration file, regenerate the GRUB configuration:

sudo grub-mkconfig -o /boot/grub/grub.cfg

Step 6: Reboot
#

Restart your computer to see the changes take effect.

Related

Grub and os-prober: Creating a Multi-OS Boot Menu
·520 words·3 mins
Grub Linux Multi-Boot Efibootmgr Os-Prober
Installing Multiple Kernels with GRUB on Arch Linux
·290 words·2 mins
Grub Linux Multi-Boot Efibootmgr
Setting the Default Kernel Select in GRUB
·298 words·2 mins
Grub GNU/Linux Multi-Boot
Good Bye 2023: Essential Linux Terminal Tools for Linux Geeks
··424 words·2 mins
Linux
Editing GPG Key Information: A Quick Guide
·281 words·2 mins
GPG Linux