Public bug reported:

Binary package hint: grub2

In some cases, it might be desirable to hide the boot menu even if other
OS are discovered. For instance in Wubi case, the grub menu is shown
after the windows one, so it becomes confusing.

GRUB_HIDDEN_TIMEOUT could be used to specify that the menu has to be
hidden or possibly some other variable could be used to that effect.

--- 30_os-prober.orig   2009-09-12 11:12:24.000000000 +0100
+++ 30_os-prober        2009-09-12 11:32:57.000000000 +0100
@@ -25,8 +25,7 @@
 found_other_os=
 
 adjust_timeout () {
-  if [ "x${found_other_os}" = "x" ] ; then
-    if [ "x${GRUB_HIDDEN_TIMEOUT}" != "x" ] ; then
+  if [ "x${found_other_os}" = "x" ] || [ "x${GRUB_HIDDEN_TIMEOUT}" != "x" ] ; 
then
       if [ "x${GRUB_HIDDEN_TIMEOUT_QUIET}" = "xtrue" ] ; then
        verbose=
       else
@@ -54,7 +53,6 @@
 fi
 EOF
       fi
-    fi
   fi
 }

** Affects: grub2 (Ubuntu)
     Importance: Undecided
         Status: New

-- 
There should be a way to hide the menu in os-prober
https://bugs.launchpad.net/bugs/428443
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to