[Bug 1258597] Re: Warning: Setting GRUB_TIMEOUT to a non-zero value when GRUB_HIDDEN_TIMEOUT is set is no longer supported.

Nathan Stratton Treadway ubuntu.lp at nathanst.com
Fri Mar 28 23:46:59 UTC 2014


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.

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to grub2 in Ubuntu.
https://bugs.launchpad.net/bugs/1258597

Title:
  Warning: Setting GRUB_TIMEOUT to a non-zero value when
  GRUB_HIDDEN_TIMEOUT is set is no longer supported.

Status in “grub2” package in Ubuntu:
  Triaged
Status in “grub2” source package in Trusty:
  Triaged

Bug description:
  When running update-grub I am getting the following message:

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

  $ sudo update-grub
  Generowanie grub.cfg...
  Uwaga: Setting GRUB_TIMEOUT to a non-zero value when GRUB_HIDDEN_TIMEOUT is set is no longer supported.
  Znaleziono obraz Linuksa: /boot/vmlinuz-3.12.0-6-generic
  Znaleziono obraz initrd: /boot/initrd.img-3.12.0-6-generic
  Found memtest86+ image: /boot/memtest86+.elf
  gotowe

  ProblemType: Bug
  DistroRelease: Ubuntu 14.04
  Package: grub2 (not installed)
  ProcVersionSignature: Ubuntu 3.12.0-6.14-generic 3.12.3
  Uname: Linux 3.12.0-6-generic x86_64
  ApportVersion: 2.12.7-0ubuntu1
  Architecture: amd64
  CurrentDesktop: GNOME
  Date: Fri Dec  6 18:49:28 2013
  InstallationDate: Installed on 2013-10-15 (51 days ago)
  InstallationMedia: Ubuntu-GNOME 13.10 "Saucy Salamander" - Release amd64 (20131015)
  ProcEnviron:
   TERM=xterm
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=<set>
   LANG=pl_PL.UTF-8
   SHELL=/bin/bash
  SourcePackage: grub2
  UpgradeStatus: Upgraded to trusty on 2013-11-05 (31 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1258597/+subscriptions



More information about the foundations-bugs mailing list