[Bug 428443] Re: There should be a way to hide the menu in os-prober
Aaron Culliney
devnull at deadc0de.org
Sat Mar 10 01:52:55 UTC 2012
Same problem in Ubuntu 11.10. The diff below lets me both do os-probe
and hide the menu:
--- 30_os-prober.orig 2012-03-09 15:50:25.284234362 -1000
+++ 30_os-prober 2012-03-09 15:51:07.924232579 -1000
@@ -26,7 +26,6 @@
found_other_os=
make_timeout () {
- if [ "x${found_other_os}" = "x" ] ; then
if [ "x${1}" != "x" ] ; then
if [ "x${GRUB_HIDDEN_TIMEOUT_QUIET}" = "xtrue" ] ; then
verbose=
@@ -60,7 +59,6 @@
EOF
fi
fi
- fi
}
--
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/428443
Title:
There should be a way to hide the menu in os-prober
Status in “grub2” package in Ubuntu:
Confirmed
Bug description:
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
}
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/428443/+subscriptions
More information about the foundations-bugs
mailing list