change GRUB timeout

When your system boots you will see the GRUB menu…. Usually the default timeout is (exc) 10 seconds in ubuntu, 15 sec in Fedora… so it depends on distribution, and you probably wanted to change this amount.. increase or decrease it !

Here is how you do it :
Open the /boot/grub/grub.cfg by typing this command

$ sudo gedit /boot/grub/grub.cfg

now find these lines:

if [ ${recordfail} = 1 ]; then
set timeout=-1
set timeout=15

and change the 15 or number it shows to you with the number you like to have…
save the file and exit… reboot and test it!
Thanks 🙂

One thought on “change GRUB timeout

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s