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

Launchpad Bug Tracker 1317039 at bugs.launchpad.net
Tue May 5 05:25:27 UTC 2020


[Expired for grub2 (Ubuntu) because there has been no activity for 60
days.]

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

-- 
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:
  Expired

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