From debbugs-submit-bounces@debbugs.gnu.org Sun Mar 12 03:16:59 2023 Received: (at submit) by debbugs.gnu.org; 12 Mar 2023 07:16:59 +0000 Received: from localhost ([127.0.0.1]:59012 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pbFww-0001GP-5m for submit@debbugs.gnu.org; Sun, 12 Mar 2023 03:16:59 -0400 Received: from lists.gnu.org ([209.51.188.17]:57934) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pb38l-0003F2-8A for submit@debbugs.gnu.org; Sat, 11 Mar 2023 12:36:20 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pb38j-0002HH-Jg for bug-guix@gnu.org; Sat, 11 Mar 2023 12:36:17 -0500 Received: from relay4-d.mail.gandi.net ([2001:4b98:dc4:8::224]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pb38g-0004pb-VT for bug-guix@gnu.org; Sat, 11 Mar 2023 12:36:17 -0500 Received: (Authenticated sender: manu@beffara.org) by mail.gandi.net (Postfix) with ESMTPSA id 05E07E0002 for ; Sat, 11 Mar 2023 17:36:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=beffara.org; s=gm1; t=1678556170; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: references:references; bh=Ez54LzOVeDwo1VuFmQafUblKUR/D7yBz8owuZNEDQKU=; b=GVR8HRERXuZptPL59j7hyAs26nWmaJl1KgJN1YFwCxs/eP3cz3CVCcRHE8/Qj7u9QF4m5H GiCfUmXWgUXlUIeA7Ag7dghvRIDJh41WIuvxPrRM859F6iOItPUixpuxgmA2RQ4f3QaCvi gIGcE54idsq0JytS0vQe+Gpxfjvfbpc5RZa6r62sJ07tr7WSdGv1EK9wx9nxKI7/wKxEnj cl7JmigSUhRkkxP7+HareOky4VKYog1MZmcLNXgdQqSBLl0yGwD4RdC9iG5LKfxT1i7YyP XAicPru12oc9NEzFVG4ELL9bNnbYnW6y29p7jZykAOczu39y5p9WQ3Vpg1yf0Q== Date: Sat, 11 Mar 2023 18:36:07 +0100 Message-ID: <20230311183607.GB20567@beffara.org> From: Emmanuel Beffara To: bug-guix@gnu.org Subject: Grub resource files should be in the EFI partition References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit Received-SPF: none client-ip=2001:4b98:dc4:8::224; envelope-from=manu@beffara.org; helo=relay4-d.mail.gandi.net X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Sun, 12 Mar 2023 03:16:56 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Hello Guix, The installation process for Grub should put the resource files, notably keymaps and locales, in the EFI partition, so that they can be used early in the boot process, before any user interaction. In the context of full-disk encryption, this is very important because in the current state of things, one has to enter the passphrase using the default US layout before the proper keymap can be loaded from the encrypted store. One can manage working around that with a bit of training, but having to enter a passphrase with an incorrect keymap is objectively a broken behaviour. I have no experience hacking Guix so I don't know how to try and patch grub.scm to implement that, but I would be happy to learn… -- Emmanuel