There should be a way to hide the menu in os-prober
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
elementary OS |
Opinion
|
Undecided
|
Unassigned | ||
grub |
Unknown
|
Unknown
|
|||
grub2 (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
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_
- if [ "x${GRUB_
+ if [ "x${found_
if [ "x${GRUB_
verbose=
else
@@ -54,7 +53,6 @@
fi
EOF
fi
- fi
fi
}
tags: | added: patch |
affects: | os-prober (Ubuntu) → grub2 (Ubuntu) |
Changed in elementaryos: | |
status: | New → Opinion |
I vote for this !
In fact there is a REGRESSION.
On previous Grub (Grub Legacy) you could parameter wether you want to display only the countdown or the entire menu.
This was done independantly of the number of O.S.es you got on your system.
Now the new system is very confusing. TIMEOUT_ QUIET
It has two variables :
GRUB_HIDDEN_TIMEOUT
GRUB_HIDDEN_
And the documentation describes what these variables do... but it is unclear why the programmer decided these variables would do nothing at all if several O.S. are found on your platform.
I DO have several O.S. on my PC, and I like to have ONLY the countdown. I found it much more clean that a screen display full af lines of code.
Whenever I'd like to boot a different O.S. than the default one, I don't care having to type one keystroke more than I would with the direct display of the O.S. list, because this situation is quite an exception.
So please... give us back this feature !
[And for the moment, I apply the patch suggested -I did one myself in fact, which is not so clean but works fine-]