From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id ONslHCQMAmQFUgAAbAwnHQ (envelope-from ) for ; Fri, 03 Mar 2023 16:03:00 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id iHQtHCQMAmSC4AAA9RJhRA (envelope-from ) for ; Fri, 03 Mar 2023 16:03:00 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 1B5D39CD3 for ; Fri, 3 Mar 2023 16:03:00 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pY6vb-0008FY-6d; Fri, 03 Mar 2023 10:02:37 -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 1pY6U8-0000Qd-SA for help-guix@gnu.org; Fri, 03 Mar 2023 09:34:12 -0500 Received: from mout-p-201.mailbox.org ([80.241.56.171]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_CHACHA20_POLY1305:256) (Exim 4.90_1) (envelope-from ) id 1pY6U4-000056-VJ for help-guix@gnu.org; Fri, 03 Mar 2023 09:34:12 -0500 Received: from smtp202.mailbox.org (smtp202.mailbox.org [IPv6:2001:67c:2050:b231:465::202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-201.mailbox.org (Postfix) with ESMTPS id 4PSr7k6T9hz9sdW; Fri, 3 Mar 2023 15:33:54 +0100 (CET) Date: Fri, 3 Mar 2023 15:33:53 +0100 (CET) From: Raffael Mancini To: Emmanuel Beffara , help-guix@gnu.org Message-ID: <580161726.339828.1677854034003@office.mailbox.org> In-Reply-To: <20230302112553.GD11782@beffara.org> References: <20230302112553.GD11782@beffara.org> Subject: Re: installation on LVM on LUKS MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Priority: 3 Importance: Normal X-Rspamd-Queue-Id: 4PSr7k6T9hz9sdW Received-SPF: none client-ip=80.241.56.171; envelope-from=raffael@mancini.lu; helo=mout-p-201.mailbox.org X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, 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-Mailman-Approved-At: Fri, 03 Mar 2023 10:02:28 -0500 X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: help-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Seal: i=1; s=key1; d=yhetil.org; t=1677855780; a=rsa-sha256; cv=none; b=VKjHOluorqtVM91YSgm2AuXs+Wb+W4IesAHZYtEXTjHyzEDOOsqWKgoJxw4cyaNdyyajea Cx16Xy+GAH///ATYuTffxg+cMSZG7YmQSpTeOE8rDLJCTyugt0TlYewa35Va5k297tyH3B 4T1Zi8DMal94Qv6IUgAIBrb6ub0avQFzL2aO7RxqBA38zNxu89NLPELDyk/5xZqB1CrJIX Szkudi+z9YZzJLtS282Hof98E7XZEMx+Z/mBiSqZwuLL06dgG91PPOnO+4wLJLW3IQ4HdL Y7cB3rCpjevjJAp2vfBqJQDHAEtI5uLm7TC7i2nVHFS+nlOgfSuZS8LrUVMt8g== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1677855780; h=from:from:sender:sender: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: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=aVCrOkqgLWM+6Uv21oXNAfCjPoQCwa/m7qwvFhBKC6E=; b=PwVgiDPbdBZoQjItHVCmJZfb5P3Lwd8fkd7mdFaRn6i15lqZ7VSMTlXpsazSvDyc7jzFjm 4xFlKoKW7Cng19OQdblbbWFCDS3b7Kl5Gx4cvSehzqEEvGa3z7fT9owzYZ+kVHwf2ea03G GnzbU63Yq8KvfphBjKi6Uup+WWKGTYqzftGFhX2ofxVG8z5/W6b80pIbgRwfjPkKdXKLqK 2uxiMOD/z05WqepHILmDfX9jzxvfZUoMHYyVrBRYL+oGUXIoDy2RwjnCxwGPhdvfMJy99s XOHP6MQOcB3vIQe8vrsUcirNd8ZbL7POM8BFM8leHCUjj+QE4ZYfS1/iwhNWYw== X-Migadu-Scanner: scn1.migadu.com X-Migadu-Spam-Score: -1.70 X-Spam-Score: -1.70 X-Migadu-Queue-Id: 1B5D39CD3 Authentication-Results: aspmx1.migadu.com; dkim=none; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=none X-TUID: UBs/IR/r6Yqh Hi Emmanuel, You might want to look into adding missing modules to the initramfs (https:= //guix.gnu.org/manual/en/html_node/Initial-RAM-Disk.html). I had to do this= so I could boot a system with Linux MD RAID. Best regards, Raffael=20 > Emmanuel Beffara hat am 02.03.2023 11:25 CET geschrieb= en: >=20 > =20 > Hello, >=20 > I am currently trying to install Guix System on my laptop and I am facing= an > issue with the bootloader configuration. >=20 > I use full-disk encryption with a single encrypted partition, split into > several logical volumes using LVM, plus an extra non-encrypted partition = for > EFI boot material: >=20 > =09nvme0n1 259:0 0 953,9G 0 disk > =09=E2=94=9C=E2=94=80nvme0n1p1 259:1 0 953,4G 0 part > =09=E2=94=82 =E2=94=94=E2=94=80manivelle 254:0 0 953,4G 0 cryp= t > =09=E2=94=82 =E2=94=9C=E2=94=80storage-swap 254:1 0 32G 0 lvm = [SWAP] > =09=E2=94=82 =E2=94=82 [...] > =09=E2=94=82 =E2=94=94=E2=94=80storage-guix 254:5 0 64G 0 lvm = / > =09=E2=94=94=E2=94=80nvme0n1p2 259:2 0 487M 0 part /boot >=20 > I attach the system configuration, which I derived from the desktop templ= ate. >=20 > Everything installed fine EXCEPT that Grub fails to load its LVM volume, = hence > the root partition is not found. Indeed, the produced grub.cfg has no men= tion > of lvm anywhere. If I adjust it by inserting "insmod lvm" somewhere, eith= er at > the start or in a menuentry, or if I do that by hand in the Grub shell, t= hen > the system starts and works fine. >=20 > Did I miss something in the configuration ? >=20 >=20 > As a related point, this setup requires entering the decryption password > twice: once so that Grub can load the kernel from the store, and once so = that > the kernel can open the volume itself. I understand the situation is know= n, > but it could be avoided, for instance, by copying the kernel and initrd > somewhere in the EFI partition so that they could be loaded directly. Bes= ides, > for some reason, Grub is extremely slow at opening the partition: it take= s > around 30 seconds to start after I correctly enter the password, whereas = the > kernel boots in just a few seconds after I enter the password for it. >=20 > Any thoughts on this ? >=20 > --=20 > Emmanuel