Sign up ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

I tried to update Grub so I run:

sudo update-grub

Generating grub configuration file ...
Warning: Setting GRUB_TIMEOUT to a non-zero value when GRUB_HIDDEN_TIMEOUT is set is no longer supported.

What exactly this warning wants to be changed? (I upgraded from 12.04 to 14.04 before)

This is my /etc/default/grub file:

GRUB_DISTRIBUTOR="`lsb_release -i -s 2> /dev/null || echo Debian`"
share|improve this question

1 Answer 1

up vote 7 down vote accepted

You can't use the GRUB_HIDDEN_TIMEOUT setting and the GRUB_TIMEOUT setting at the same time. This is true even when the hidden timeout is set to 0.

You can comment out the line that you don't want.

For example:


After saving the change, run sudo update-grub again.

share|improve this answer
Thank you. Seems ok now. – JoKeR Jun 3 '14 at 1:17
Glad it worked out. :) – chaskes Jun 3 '14 at 1:20
one more question as my GRUB_HIDDEN_TIMEOUT was set to ="0" and GRUB_TIMEOUT to value ="10" will it reflect on anything? I mean should it be set to "10" or "0" – JoKeR Jun 3 '14 at 1:28
It just depends on what you want. If you only have ubuntu, 0 is fine for timout. If you dual boot, you want some time (like 10) for choosing which os to boot. For more info see configuring grub2 – chaskes Jun 3 '14 at 1:36
Thanks again! I got it now, I use only Ubuntu. – JoKeR Jun 3 '14 at 1:37

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.