From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Subject: bug#25453: Inconsistent keyboard layout affecting encrypted root Date: Fri, 20 Jan 2017 15:01:36 +0100 Message-ID: <87vat9akzj.fsf@gnu.org> References: <87wpdwzuar.fsf@cbaines.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:60099) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cUZlV-00049G-TE for bug-guix@gnu.org; Fri, 20 Jan 2017 09:02:11 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cUZlS-0006WC-R9 for bug-guix@gnu.org; Fri, 20 Jan 2017 09:02:05 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:37933) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cUZlS-0006Vz-NT for bug-guix@gnu.org; Fri, 20 Jan 2017 09:02:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1cUZlS-0007P7-Df for bug-guix@gnu.org; Fri, 20 Jan 2017 09:02:02 -0500 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <87wpdwzuar.fsf@cbaines.net> (Christopher Baines's message of "Sun, 15 Jan 2017 06:55:24 +0000") List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: Christopher Baines Cc: 25453@debbugs.gnu.org Hi! Christopher Baines skribis: > I'm using a UK keyboard layout with a computer that I recently installed > GuixSD on with a encrypted root parition. Immediately after installation > when I attempted to boot in to the new system for the first time I had > to enter the passphrase twice, and in doing this, first I had to use the > keyboard layout under which I carried out the installation (the layout > which I had intended to use), and then during the early boot stage of > the system I had to enter the passphrase using a different keyboard > layout. Currently installing a keymap is something done by the =E2=80=98console-key= map=E2=80=99 Shepherd service, which invokes =E2=80=98loadkeys=E2=80=99. That happens a= fter =E2=80=9Ccryptsetup --open=E2=80=9D has opened your encrypted root device, = hence the problem. Should we install the keymap right in the initrd, before we=E2=80=99ve moun= ted the root partition? That would require copying the right keymap(s) and probably =E2=80=98loadkeys=E2=80=99 to the initrd, which might make it quit= e big. Suggestions? How do others handle it? Thanks for your report, Ludo=E2=80=99.