Received: from list by lists.gnu.org with archive (Exim 4.71) id 1f1Cn8-0002j2-RG for mharc-grub-devel@gnu.org; Wed, 28 Mar 2018 11:15:10 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:51042) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f1Cn6-0002f1-JH for grub-devel@gnu.org; Wed, 28 Mar 2018 11:15:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1f1Cn0-0006SV-O7 for grub-devel@gnu.org; Wed, 28 Mar 2018 11:15:08 -0400 Received: from aserp2120.oracle.com ([141.146.126.78]:60834) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1f1Cn0-0006P2-EL for grub-devel@gnu.org; Wed, 28 Mar 2018 11:15:02 -0400 Received: from pps.filterd (aserp2120.oracle.com [127.0.0.1]) by aserp2120.oracle.com (8.16.0.22/8.16.0.22) with SMTP id w2SF3vUk003253; Wed, 28 Mar 2018 15:14:54 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=date : from : to : cc : subject : message-id : references : mime-version : content-type : in-reply-to; s=corp-2017-10-26; bh=nhBlPZKRc6LoIWJ+TVVlRSKAUhquIvxLrXjHrWiAFDA=; b=Q4S4FBfJosJfOYJAOF3cmeHnbxRpC4kunD0WDYXiBcajpr5/N01PMtlqErGKTxzPi0xA cNTyNv3G8IKG5k37AloTB2TxjspC0VymmsQ+vPqeb+CoxMkpiyicDekwsIQ68D/yyVO6 +SzKywGq6/B6X/l6mUmA82vptuBwudfJuEMdxVsDPF/QHR8kGf0FtLgZTkZgDB4wBtjl oQYmyEm8s66wcm5QjYm63iCFmcRFMYA7a2HjP0ZhncStSG/+i8t0knqF4xNv4//vki3D FX4bBUnvNgsEkBrXhEk9/uCImRmoFuBT78OJknzg87PYdfZWnYAXJC50XE6UqkBFFBzT QQ== Received: from aserv0022.oracle.com (aserv0022.oracle.com [141.146.126.234]) by aserp2120.oracle.com with ESMTP id 2h0d3jr7c1-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 28 Mar 2018 15:14:54 +0000 Received: from aserv0121.oracle.com (aserv0121.oracle.com [141.146.126.235]) by aserv0022.oracle.com (8.14.4/8.14.4) with ESMTP id w2SF4skl005735 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 28 Mar 2018 15:04:54 GMT Received: from abhmp0015.oracle.com (abhmp0015.oracle.com [141.146.116.21]) by aserv0121.oracle.com (8.14.4/8.13.8) with ESMTP id w2SF4sHw029631; Wed, 28 Mar 2018 15:04:54 GMT Received: from olila.local.net-space.pl (/10.175.201.229) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Wed, 28 Mar 2018 08:04:53 -0700 Date: Wed, 28 Mar 2018 17:04:50 +0200 From: Daniel Kiper To: Hans de Goede Cc: grub-devel@gnu.org Subject: Re: [PATCH 0/4] Make hidden menu really hidden Message-ID: <20180328150450.GH26100@olila.local.net-space.pl> References: <20180328145028.21555-1-hdegoede@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180328145028.21555-1-hdegoede@redhat.com> User-Agent: Mutt/1.5.21 (2010-09-15) X-Proofpoint-Virus-Version: vendor=nai engine=5900 definitions=8845 signatures=668695 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 mlxscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1711220000 definitions=main-1803280160 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [generic] [fuzzy] X-Received-From: 141.146.126.78 X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Mar 2018 15:15:09 -0000 Hi Hans, On Wed, Mar 28, 2018 at 04:50:24PM +0200, Hans de Goede wrote: > Hi All, > > Let me start with a quick self-intro: > > I'm a FOSS enthusiast / developer working for Red Hat, my latest project > at Red Hat is chasing what has over the years become the magical unicorn > of desktop Linux distros: a smooth graphical boot where the machine goes > from the BIOS screen to the graphical login manager in one smooth flow, > without any (80x25) text mode messages or black-screens in between. > > These 4 patches modify grub so that when timeout_style=hidden is used, > and the user does not press a key to show the menu the EFI display is never > switched to text mode and the vendor logo stays in place on the monitor. > > The first patch adds a new "version" command, this is not really related > to the other 3 patches, but when I started working on grub I wanted to > verify I was running my own build and I was surprised there was no such > command, so I added one. > > The second patch is also only somewhat related, if the menu-timeout is > short, one way to still make sure you get the grub menu is to start > pressing the ESC key before grub is loaded, but on some systems ESC is > the hotkey to enter the firmware setup, so this commit also adds support > for pressing F8 to ge the menu. F8 is used by the Windows boot menu, so > almost all x86 firmwares don't use this key for their own purposes. This > will also make it easier for users coming from Windows to get the menu > (if they know that F8 is used for the boot menu Windows). > > The third patch makes changes which a lot of distros have been carrying > as distro patches since 2013 at least, these changes make grub be quiet > during boot, except for the menu. These changes were not universally liked > in the past, because they may make debugging boot problems harder in some > cases, so they have never been merged. > > This version of these changes makes the quiet behavior configurable > through a ./configure option which defaults to the old verbose behavior, > which should hopefully make everyone happy. This patch is a mix of Fedora > and Ubuntu patches for this, picking the best of both. > > The fourth patch modifies the EFI terminal code to not switch the EFI > display to textmode until the first text is output. Note that for this > patch to actually make a difference, no text must be output, so we need > the "quiet" patch to be enabled and timeout_style=hidden. If any error > (or other output happens) grub will immediately switch to text mode and > show the message to the user. I will take a look at the patches in a week or so. Please be patient. Daniel