[Bug 1317039] Re: GRUB2 GRUB_TIMEOUT=0 not working when other OS found

Marcus Tomlinson marcus.tomlinson at canonical.com
Thu Mar 5 12:34:39 UTC 2020


This release of Ubuntu is no longer receiving maintenance updates. If
this is still an issue on a maintained version of Ubuntu please let us
know.

** Changed in: grub2 (Ubuntu)
       Status: Triaged => Incomplete

-- 
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/1317039

Title:
  GRUB2 GRUB_TIMEOUT=0 not working when other OS found

Status in grub2 package in Ubuntu:
  Incomplete

Bug description:
  After updating Ubuntu 12.04.4 (amd64) hiding of GRUB2 menu not longer
  works. The menu always appears for 10s.

  Reson found in /etc/grub.d/30_os-prober
  ...
  adjust_timeout () {
    if [ "x${found_other_os}" != "x" ]; then
      cat << EOF
  set timeout_style=menu
  if [ "\${timeout}" = 0 ]; then
    set timeout=10
  fi
  ...

  if another OS is found, the /etc/default/grub entry GRUB_TIMEOUT=0 is
  ignored because set to 0 in function adjust_timeout()

  In my point of view this is a bug, because it's not longer possible to
  hide grub2 menu if another OS is detected on the host.

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



More information about the foundations-bugs mailing list