public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] grub2: hidden menu unless shift pressed?
@ 2018-02-17 20:36 Grant Edwards
  2018-02-17 20:58 ` Daniel Frey
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Grant Edwards @ 2018-02-17 20:36 UTC (permalink / raw
  To: gentoo-user

I'm trying to figure out how to configure grub 2.02 so that no menu is
displayed and it will boot immediately to the default unless shift is
held down during boot -- in which case it displays the menu and waits
indefinitely for a choice to be made.

This is a bare-bones grub2 installation without any of the
auto-magical, config generator scripts.  All I have is grub.cfg and an
editor.

I've found many web pages that say all you have to to is edit
/etc/default/grub and set GRUB_TIMEOUT=0 and GRUB_HIDDEN_TIMEOUT=0 and
Bob's your uncle.  Of course that file gets mashed about by dozens of
shell scripts comprising thousands of lines of code to product the
real grub.cfg containing hundreds of lines of code.

[Oh God, how I hate grub2.]

AFAICT, you end up with

set timeout=0
set timeout_style=hidden 

But, that doesn't seem to work. Holding down the shift key during boot
doesn't cause the menu to be displayed, and it always boots directly
to the default no matter what you do.

Any grub2 experts care to lend a clue?

-- 
Grant Edwards               grant.b.edwards        Yow! MERYL STREEP is my
                                  at               obstetrician!
                              gmail.com            



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2018-02-18  0:14 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-02-17 20:36 [gentoo-user] grub2: hidden menu unless shift pressed? Grant Edwards
2018-02-17 20:58 ` Daniel Frey
2018-02-18  0:13   ` Tom H
2018-02-17 22:15 ` [gentoo-user] " Grant Edwards
2018-02-18  0:06 ` [gentoo-user] " Tom H

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox