From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 4794E1382C5 for ; Sat, 17 Feb 2018 20:39:11 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id DFB61E0A64; Sat, 17 Feb 2018 20:38:57 +0000 (UTC) Received: from blaine.gmane.org (unknown [195.159.176.226]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 74D64E0AB2 for ; Sat, 17 Feb 2018 20:38:57 +0000 (UTC) Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1en9Dp-0002VK-CY for gentoo-user@lists.gentoo.org; Sat, 17 Feb 2018 21:36:37 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: gentoo-user@lists.gentoo.org From: Grant Edwards Subject: [gentoo-user] grub2: hidden menu unless shift pressed? Date: Sat, 17 Feb 2018 20:36:20 +0000 (UTC) Message-ID: X-Complaints-To: usenet@blaine.gmane.org User-Agent: slrn/1.0.2 (Linux) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org X-Archives-Salt: 2675d523-b1de-4e78-9ae6-5ec819ab7640 X-Archives-Hash: 9d67fe5712a246e2f64386e9b6886a86 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