From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id YGLPBCWGAmS2bwEAbAwnHQ (envelope-from ) for ; Sat, 04 Mar 2023 00:43:33 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id 4PjwAyWGAmR/YgAAG6o9tA (envelope-from ) for ; Sat, 04 Mar 2023 00:43:33 +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 363FEC3F7 for ; Sat, 4 Mar 2023 00:43:32 +0100 (CET) Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=wolfsden.cz header.s=mail header.b=DFVWsHbz; dkim=pass header.d=wolfsden.cz header.s=mail header.b="itx8b6/7"; 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=pass (policy=none) header.from=wolfsden.cz ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1677887012; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=aZPr6jrScsoAPxOA065J7SfjS3JxoWPJl6jc/LCyHEs=; b=ff3sxNQEiUMU/8KO+di/JMRDQI6Sar++kafWQ1Ror6YqdNmBzFxqw3tG/SwYrn8CPcGrcE FRqWN4qUDc/mQf6cWdPLiK/lBUb0dP8grp5BTOHz8eTXFsjdmaeNhTL0o6GZXb37tMjPko jofU8bx48+uv80D4RS4nMCpiXFh+li2mr84ajuEITnos1igJzuyqlcMnqs2mnuzIMJcGfn VmMZLMvPECyM4lw6QSIkaXnva/+t8UZe9Okarreaojb+d2+A/ekvioo1luh/N5XQLo+8lu 1Bp1KEKw6ARBVp4nBVdd79o5YVDz71HDw3+ys5jehrwSyS2gwt6Zhxogk5hLHQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=wolfsden.cz header.s=mail header.b=DFVWsHbz; dkim=pass header.d=wolfsden.cz header.s=mail header.b="itx8b6/7"; 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=pass (policy=none) header.from=wolfsden.cz ARC-Seal: i=1; s=key1; d=yhetil.org; t=1677887012; a=rsa-sha256; cv=none; b=ESwGxoijnEmMoBqNCU5wjzfjxu8Dv9XknNMlT4uhxPJAx2BePdALYc48MhuztTo3NqUY32 ChvTnsGXKLS9pI/BZhXuh37kWUOyUEgJQ9P/i3eQwrXU5AwSBmWIRIjdDkCncgt0JADQGP JnG/eZCPQe4t3exptl2C/WdZabeAxmGoPcOW2pu1tT3hoYyQ2SROem3gJdlJnoZUTYbOHo 5bQvQWiQCw0Zeo+md3bPinp8nOgvkTLfflmIguGueQkSueR+FSGTNDKubH4a6Y60NWQf0R kgTMmHR+HU2WxYDQcmvkhPzg5JLtDxRS1fdYhBj9B7647WA1aT2g0L4jQFOr/w== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pYF38-0001ZH-2G; Fri, 03 Mar 2023 18:42:54 -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 1pYF35-0001Yr-Sd for help-guix@gnu.org; Fri, 03 Mar 2023 18:42:51 -0500 Received: from wolfsden.cz ([37.205.8.62]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pYF33-00027U-9V for help-guix@gnu.org; Fri, 03 Mar 2023 18:42:51 -0500 Received: by wolfsden.cz (Postfix, from userid 104) id 324CA24152D; Fri, 3 Mar 2023 23:42:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=wolfsden.cz; s=mail; t=1677886965; bh=aZPr6jrScsoAPxOA065J7SfjS3JxoWPJl6jc/LCyHEs=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=DFVWsHbzHUoKEXVWHtJzoiwspg2iWeJ3IBQn+Uicb7uVo+f1INmSYhfNTqMu72jga Yqko3TGlX2aI4o6+UxbTQAw637ziw2pxwWztzRqiNA4Klcu/AptQdi+cfD5hs0NTni iMZmoQeO5T/MGi32Np6QadZafP/BTf8iQcsrJR2vxeUlQ5F2bMVkK0R9o+eu3KA7Wa TJLTU7ta+ze0nZ1YiUtJGDZjW8bkur8OEO1bHb4L/SI5riTNluBh6AgU75t0oHluuO UGS7Eu7EoApaX7tVhiUCrYqMALWCy6ObcSRwEBoqBcPbeoCVpm+BICt+QLbT9kwppV Zz8ZS4rYc9+ZrL3umRdb1wgq3QodiNANwapoJv/MmR/bRt+qlCYXm5Fdowclzi9QJb FZFOhecZw8fwzaR4Kwf0igu9AsdylfAEEiHDR3r3cJ6CbvcqB0Y7nsxE7qoPrF7seC 9Wc9JgCtAZn56nKivBihD57XbaGGd3BbNbmMW8OHBNCXUVfjYCedE9WMdtteZLZucp Fl6teF3fujlltHJ6NliAkKHrlpTlssiZCWiAnqCvQoa3jk6dtBjw75MvLVV195ow3g qipBmsmJmroyBC/bvsKgtW9utjz9TMtWwkQLSXaYFzjXa9V3wtDs6R/R/SWbfaMZTl REl+iDGQscPAdp+C+lM4Xv2E= Received: from localhost (unknown [128.0.188.242]) by wolfsden.cz (Postfix) with ESMTPSA id CB80A2427AF; Fri, 3 Mar 2023 23:42:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=wolfsden.cz; s=mail; t=1677886963; bh=aZPr6jrScsoAPxOA065J7SfjS3JxoWPJl6jc/LCyHEs=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=itx8b6/7uJb/FjHlK0wuU1fExwSqLuMYuBWiAznbdjVtvoYYZU1/QMzOq2nwtrgAy UTOHvYemH405El3QJOtwjcW6TTDSfzYeheOeWVYpZ0cBI79SMzQyRoouEv2CfJ4DMt XMWkq0betVYlXuOgpEqW8RZwBzh/PWV8oCTsQg2hYwT5ntAYVT8nZIJLpl81o8gWV4 BI4PbPppJZdZuFB7TOLx7nNoRqvqAAD4lTMmibpvZCWoMbmKlCp/9bTNJ4wXT4oiVJ rFLBS1pw6crmiWKrXXuXlGEufa0qfWwsgyM2X7DDk1ldDpxkt8o+MuwADBVK3Sv3Rp XPei9Hrw+VJUIHToPK/XR5IACQKLlZsGu2tlGNqwJoF0GFNxJrrxeDI02UGrWpjxVh 85wyQllqbSiZssU16MMZmTj8U2Dz25xSFYN8mzsdb6/Blxr2KSdWlDDhxRfCNfnON+ /aYCGD1wIixfBadrAl6L1CAhuTyQD1LNKF1sKPFrHLWqP9TSswZ6AP8REMPj4eydEZ oPJRrs3ijT4l3u+rNZ/e2jG4EEf522n3WH5h9Ft9VrMsdXWsCawmk0fD/+uF5hv0TM ALsPVBrF0NptyZ4OwnMwMQrANe4F8Gs1AqcPCENZeB9p1gAq0SDs42iKIpjhrxbM+6 0fnyn9d65WaSFmgxdeRA00+A= Date: Sat, 4 Mar 2023 00:42:43 +0100 From: wolf To: Emmanuel Beffara Cc: Roman Scherer , help-guix@gnu.org Subject: Re: installation on LVM on LUKS Message-ID: Mail-Followup-To: Emmanuel Beffara , Roman Scherer , help-guix@gnu.org References: <20230302112553.GD11782@beffara.org> <86o7p9vp6w.fsf@burningswell.com> <20230303180339.GC2153@beffara.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="z6K5/mchaw7XrINR" Content-Disposition: inline In-Reply-To: <20230303180339.GC2153@beffara.org> Received-SPF: pass client-ip=37.205.8.62; envelope-from=wolf@wolfsden.cz; helo=wolfsden.cz X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: X-Migadu-Spam-Score: -5.90 X-Spam-Score: -5.90 X-Migadu-Scanner: scn0.migadu.com X-Migadu-Queue-Id: 363FEC3F7 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 X-TUID: 2Gr/GAM7Y8dU --z6K5/mchaw7XrINR Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 2023-03-03 18:03:39 +0100, Emmanuel Beffara wrote: > Hi Roman, >=20 > Thanks for the suggestions. >=20 > De Roman Scherer le 03/03/2023 =C3=A0 16:05: > > did you add the cryptsetup-static and lvm2-static packages to the > > packages field of your operating system? >=20 > I had not, but I just tried adding them and nothing changed. >=20 > > Apart from that, I think you also need to add the dm-crypt module to the > > initrd-modules field of the of the operating system. >=20 > Unless I am missing something, tinkering with initrd modules has nothing = to do > with my issue. The missing =E2=80=9Cinsmod lvm=E2=80=9D is in grub.cfg, i= t is related to Grub > modules, not kernel modules. The required modules for Grub are properly > installed in /boot/grub (I mount the EFI partition as /boot), it is just = that > the generated configuration file does not load enough of them. Maybe that is the problem? For me it works out of the box, but I have EFI mounted as /boot/efi. Could you maybe either try to do that as well, or (untested idea I just had) provide (dependencies mapped-devices) for the /b= oot mount point as well (I know, it is not technically required)? >=20 > > I'm not sure about your other question, but from what I understand the > > reason why the kernel and the initrd live in the store and not in the > > EFI partition might be that you actually would need to put the kernel > > and the initrd for *each* system generation onto the EFI partition, so > > you can boot different system generations. And that would fill up the > > EFI partition pretty quickly. >=20 > Indeed, it would require some space, but it would solve the double-passph= rase > issue, among other things. >=20 > Besides, storing kernels and initrds in the EFI boot partition is how Nix= OS > proceeds on my system (although it is set up to use systemd-boot and not = Grub, > in case it makes a difference). Filling up the EFI partition has never be= en a > problem in a few years of use, because the partition is large enough to h= old a > few generations (512Mib) and I drop old generations often (as soon as the= last > one is checked to be functional, essentially). I am using 64M EFI partition, so I could imagine that filling up, especiall= y if one does not clean up the generations very often. Since increasing the EFI = size could be impossible without reinstall, if this is done, it should likely be opt-in only. In the future I plan to look into eliminating the second password prompt us= ing a key file, following similar approach other distributions are using (for exa= mple cryptkey=3D argument on alpine). >=20 > --=20 > Emmanuel >=20 W. --=20 There are only two hard things in Computer Science: cache invalidation, naming things and off-by-one errors. --z6K5/mchaw7XrINR Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEt4NJs4wUfTYpiGikL7/ufbZ/wakFAmQChfMACgkQL7/ufbZ/ wakI+w/+NhMqYDmMy+qAElXy4cVIUpgD693ZsZbIAykIqCPTD6ckjM/QoQVG68n6 k8+RM8Jy0h2n6eryLxExUTiL+UAFSjbbwc3yZ7i4YFKv2aj7nZo8p66nW3L7RnRI Zs7u8Xd5/+0s/G2oG6tPCOv4agYJc19dghMLk2158uBw5UgIM1G2jDIVliuWdWZE jqcnHT/tXL60HJM+M1REkamFEmcYRlcPIk/SBiDLQvwxV7JdPuzSnbYmHHj3PzUw HvpbjTTa5qRqN4/whPNkEZG9rxpRa0BP8ryUdMZVTFotZjuME7aC3Vf0s0TPir+A 1ZIZllVM+HdeB+E+pMaP3/9onlpXYKykTuNy9ISFsakO5ywd/ZQwf8NEEnK3FJwo fPOLf5iFBC7SpYuOVNYi4BeYz2lJ3NUTJPwWMLOeII2v2yPM3g270B9JIPFM+adj DOg9BBCt2hHiMgKSeetn7hAp3rVBoBW0dly74nG77g+QNSfb1mIc0XkBgOlz2LOo RNB8SDzuWwKCfZX/1Si8yw0OpS6gABTWvEBqUjFM8iE31iu1DRVN26uqKJ6Vv+xs SUv3XjPPgFbvfeqpdWUNj9E7sn2SMXDQV4II67azh4cqUvUJNMmJ02SgmjYhDGJx wIFHdW1IORZNVvfSqeDtKQzOfNXWP9M7gsPrIGbPuTMZFpkaUac= =sT2t -----END PGP SIGNATURE----- --z6K5/mchaw7XrINR--