From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:56021) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cuRkZ-0002mO-LK for guix-patches@gnu.org; Sat, 01 Apr 2017 18:44:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cuRkY-0003s7-5F for guix-patches@gnu.org; Sat, 01 Apr 2017 18:44:03 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:57844) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cuRkY-0003rx-27 for guix-patches@gnu.org; Sat, 01 Apr 2017 18:44:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1cuRkX-0005hZ-Pg for guix-patches@gnu.org; Sat, 01 Apr 2017 18:44:01 -0400 Subject: bug#26334: [PATCH 1/1] system: grub: Enable the use of a non-graphical GRUB menu. Resent-Message-ID: Date: Sat, 1 Apr 2017 18:43:45 -0400 From: Leo Famulari Message-ID: <20170401224345.GA13129@jasmine> References: <9b295fdca9e25e89fa90e0000f3b6117bb96f398.1491078152.git.leo@famulari.name> <87wpb3g4f9.fsf@gnu.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="W/nzBZO5zC0uMSeA" Content-Disposition: inline In-Reply-To: <87wpb3g4f9.fsf@gnu.org> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 26334@debbugs.gnu.org --W/nzBZO5zC0uMSeA Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Apr 02, 2017 at 12:15:54AM +0200, Ludovic Court=E8s wrote: > Would it be possible to detect whether graphical output is available > only in GRUB code? I'm far from a GRUB expert... Apparently, the terminal input and output devices default to the "platform's native terminal {input,output}": https://www.gnu.org/software/grub/manual/html_node/Simple-configuration.html > Or is the use case a situation where graphical output *is* supported > but somehow undesirable? Yes, that is a potential use case. For example, I have a system based on an embedded system-on-a-chip that includes a GPU, but no physical video ports; I must use the serial port. I also have this use case on a laptop as a consequence of . For both of those systems, I've been using a different patch that has the same effect on the generated grub.cfg. Perhaps instead of a graphical? toggle, we could expose the different values of GRUB_TERMINAL_OUTPUT and GRUB_TERMINAL_INPUT: https://www.gnu.org/software/grub/manual/html_node/Simple-configuration.html --W/nzBZO5zC0uMSeA Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEsFFZSPHn08G5gDigJkb6MLrKfwgFAljgLR0ACgkQJkb6MLrK fwiR9Q//Zg1DZ2gkMtad3qS4hzc+785IzYsOZ1AwEIgXQPNFDKtcSwO9/utwJQov bMEDNn/SFmNWQ5U0NEkpebILpnJLWi84NJi2L0GHyfWi3YxK5cCpKvZOq1ioe8LG vwQ55XEbUEJ+UAzU9s1NCC6JY73Y/CnZp5C7R8N8mkFzlEvQ+PSlGl0nFtyfuOfG YBrwt3xJHt9bMf3MO4CDnmlpWDf9MHj/rOasm5GfIHNsWdRHIYaOaH5Vwo0v6KJu 9OFf4743fHNge+rskqliCIijw2KcaHfPxJ9dET1HFk/ky9q51mm85B6EA9uoeKpb rj1wFjXLR2YLPEul7MEF9nPS/tSmtdL5N273dZUePDN3lTjcoShhZb2Qs1cdkC2j AfhPzFdFLBEkbdzKHWifHpMBb0hFs6H3ChENA4DwCyztj22avt2Cz97xgn7Upg5d 1uKXLigVrX7wX5sfG2D/cUS/ADSo/L0WKKMVLIahgonAZF/77JTgqzXFCKZDg7GX 7DJaDMfVtQ6jRwWJ3OtsJcBAfyW18RMLPnW3cI7agQH28qbL83HKrTK1Cn8XZ7Mn e33p+2alR5/sEmYy41eWl/h+z5J41dPbb+LPh5Mm9YIyO34I7mPIKPvZ4Zu0oKRg PxAR70wCJcFIiXheUpae587ESOFj6gJzzwjtsEi1ViWFYx1D6Y4= =2cV5 -----END PGP SIGNATURE----- --W/nzBZO5zC0uMSeA--