From: Daniel Frey <djqfrey@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] grub2: hidden menu unless shift pressed?
Date: Sat, 17 Feb 2018 12:58:45 -0800 [thread overview]
Message-ID: <7ce7b0f1-b28b-9019-485c-784192a5b056@gmail.com> (raw)
In-Reply-To: <p6a3o4$532$1@blaine.gmane.org>
On 02/17/18 12:36, Grant Edwards wrote:
> 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?
>
It's been a while since I've done this, but I thought the hotkey was ESC
not shift?
All I had to do was use:
GRUB_TIMEOUT=0
GRUB_HIDDEN_TIMEOUT=5
Grub will wait for the escape key to be pressed for 5 seconds, if no
keypress, it would boot.
Dan
next prev parent reply other threads:[~2018-02-17 20:58 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-02-17 20:36 [gentoo-user] grub2: hidden menu unless shift pressed? Grant Edwards
2018-02-17 20:58 ` Daniel Frey [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=7ce7b0f1-b28b-9019-485c-784192a5b056@gmail.com \
--to=djqfrey@gmail.com \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox