Comment 7 for bug 1258597

Revision history for this message
Nathan Stratton Treadway (nathanst) wrote : Re: Warning: Setting GRUB_TIMEOUT to a non-zero value when GRUB_HIDDEN_TIMEOUT is set is no longer supported.

The grub-pc package generates the initial /etc/default/grub file based on /usr/share/grub/default/grub , which currently includes a GRUB_HIDDEN_TIMEOUT=0 line.

There is logic in the .postinst script to comment out that line if the grub-pc/hidden_timeout debconf value is set to False, but as far as I can see the only way for that to happen is if one is upgrading from a pre-version-2 version of grub and the /boot/grub/menu.list file contains the word "hiddenmenu", or if the line is already commented out (e.g. it has been done manually beforehand). (Doing a "dpkg-reconfigure grub-pc" does not prompt for that item.)

Given that GRUB_HIDDEN_TIMEOUT is now deprecated, maybe the postinst script should attempt to convert a setting for that variable into a GRUB_TIMEOUT_STYLE setting....

In any case, it seems the /usr/share/grub/default/grub file should be edited to reflect the currently recommended settings.