From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id 6H0DCpUoAmRgZAAAbAwnHQ (envelope-from ) for ; Fri, 03 Mar 2023 18:04:21 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id yLgHCZUoAmRM0AAAG6o9tA (envelope-from ) for ; Fri, 03 Mar 2023 18:04:21 +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 B767F39CD9 for ; Fri, 3 Mar 2023 18:04:20 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pY8p0-0003Xo-Cl; Fri, 03 Mar 2023 12:03: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 1pY8oy-0003X0-9F for help-guix@gnu.org; Fri, 03 Mar 2023 12:03:52 -0500 Received: from relay11.mail.gandi.net ([2001:4b98:dc4:8::231]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pY8ov-00068c-UC for help-guix@gnu.org; Fri, 03 Mar 2023 12:03:51 -0500 Received: (Authenticated sender: manu@beffara.org) by mail.gandi.net (Postfix) with ESMTPSA id 282CB10000A; Fri, 3 Mar 2023 17:03:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=beffara.org; s=gm1; t=1677863024; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=KiW2+9GwS269faZEpPF198EWLoaVFquZ2sYdHkxGDpo=; b=kkan0lIv333JCZaGDxAe7XLaB18tzoLrOmvThNFMuIBss2zy391oZb5ibvjJDydzqcBtdm dvNjsM9vtgapZ/WhbWjLyq6cSVLQdJCiM3cetEOg/c5v3pHlI44/UaIyEaWe0v7ZOZ61SS 0iEv8NW5pYxyK7klBl3CvICo3JrapEngyd99BLcKTszkyhJsQzc/khW9+JseAjFLo11scE xCXFMw8uipG68suYB0Qmap/uSXAfEEA8IOs1GWJ0GZhn9lPLvSbRJN9iTyFdfZTxWAw+br x/qCD2jOWcyjQL45+U3jaAF3i6MSyIDTKSEX2e6mCwpZz92+ti5Ms52lqMYkKg== Date: Fri, 3 Mar 2023 18:03:39 +0100 Message-ID: <20230303180339.GC2153@beffara.org> From: Emmanuel Beffara To: Roman Scherer Cc: help-guix@gnu.org Subject: Re: installation on LVM on LUKS In-Reply-To: <86o7p9vp6w.fsf@burningswell.com> References: <20230302112553.GD11782@beffara.org> <86o7p9vp6w.fsf@burningswell.com> 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::231; envelope-from=manu@beffara.org; helo=relay11.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-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=1677863060; a=rsa-sha256; cv=none; b=OQO9OmrzKxbohoZckZkiFO2Nc1BgEa2ZKpf6bb1ddrBsqkN2BItTuBra4H5PIlM0vdjJTw D9zwi6Q2X52cP1TZFrhqVAIVE3gU2HwpXrraje4CXiw2p9ueHP3xRaSvjLJv05i2GHlVPM dcvjJCKxQg4zhpuuBD1x8Cp+AKe4etzxAkaYsNBvQrqinaS0hr9bKPScRb0ogOyzCO3IKm WlJE+YdiIJoD6PjA6iv1HaFP7g+RgJh1t6eTmrrrVWuLNNrhgZibBf1T8cCJwepC3yVo6t pljbe7LWgZeGVxqXuxFbWXyY8JPVCQUUG4mCPzaqScRKvjF91HoD3DoggTcnBg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=beffara.org header.s=gm1 header.b=kkan0lIv; 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=1677863060; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=KiW2+9GwS269faZEpPF198EWLoaVFquZ2sYdHkxGDpo=; b=NGbSF8LuEjRvtZ8yiV1pWQUq2fOOdShL//I8Kf8L+7GoBnOG/MT9kypzffEIXDVdPttEnm IVcs7Xk/DlELWXvC2qv4Wk2VsmwCxRSQS5I5oXt1qpXg87KldvMoUfDNyintbsukQHFY1i C1T/nTWXUPQ0uowsgDjHik/q23O983zcrRWP+ImLE7P5V6cMLKTgmCjnT9Kz5umtbVaHAQ hAZx+c3GgwxkqucmkcoaytzAggeEHLYc2ArIICqc4oXZQm5TlwMobxvDqq/VwtoLfpeSPf pwRD/zsivuaTuDJElD7nLgbvxKJ9BPUQLfz0SBlrtK67TuYDJIKJ0UELA2JYWQ== X-Migadu-Scanner: scn1.migadu.com X-Migadu-Spam-Score: -2.30 X-Spam-Score: -2.30 X-Migadu-Queue-Id: B767F39CD9 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=beffara.org header.s=gm1 header.b=kkan0lIv; 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: YrWzlLHfvJMx Hi Roman, Thanks for the suggestions. De Roman Scherer le 03/03/2023 à 16:05: > did you add the cryptsetup-static and lvm2-static packages to the > packages field of your operating system? I had not, but I just tried adding them and nothing changed. > 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. Unless I am missing something, tinkering with initrd modules has nothing to do with my issue. The missing “insmod lvm” is in grub.cfg, it 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. > 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. Indeed, it would require some space, but it would solve the double-passphrase issue, among other things. Besides, storing kernels and initrds in the EFI boot partition is how NixOS 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 been a problem in a few years of use, because the partition is large enough to hold a few generations (512Mib) and I drop old generations often (as soon as the last one is checked to be functional, essentially). -- Emmanuel