From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id uBkyGqXeImSl4gAASxT56A (envelope-from ) for ; Tue, 28 Mar 2023 14:33:41 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id gGotGqXeImSveAEA9RJhRA (envelope-from ) for ; Tue, 28 Mar 2023 14:33:41 +0200 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 4869A3EE60 for ; Tue, 28 Mar 2023 14:33:40 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=beffara.org header.s=gm1 header.b=STg12QbG; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-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=1680006821; 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:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=+i6tMtK2mBq0/QhmB3g3cZ+WF7MHCpUPpJvEPRN95sE=; b=aAVRrUmV9SHC7r3hm3iDoeNBXezWTFhpPPwqS1GAsLzcXqUkx5JLyKWsY9/IjOrYnbWl8g O5vC2nvlys20QPNRQJkYRLbbBTiW/I7fvgE0HPbT7nCE5yr85cTl3r+ZVg9iUTgbhuR64M Mr52eLhSONRbELx9q6q/DyBOg0KVhgU/XYAwUsIH99zKbGRbrd2Eom5JhNWYh+btK7laO1 RRuRn8E3+Xv6TGpoOORyYjSy9kxrmo897RN37PDvxpogWC8rX0b0jOuTJDvaf5kLOKazs6 9IO7gjk+6SNf2R55vONX/FlWooHdYkyfNqP79bDUa8UMtQWLDCEH6rJ70Q1eaQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1680006821; a=rsa-sha256; cv=none; b=Q6/12aZW308hjxhHxaFWi1kPaO7oAhgR7bDBk8s6tBWLxIgqL8B/7gmM9tImgH8vhhdkBr RAZdl7r22Y8VCF+HXnY++2pDsKn0fFqRK4V6yfmi0d7oie2n25E6+b0XfnpUFH7frw0BQA E3Q9IvVnohAYXjxJckvzg5FcW5BCPBwdocATZz+tN8rs9TPrtQMCRzkp4ilSLK9pxpTss3 NgJAMySHjL1wTjVqT32u90YRL2nXIj9AQsrf1zwr0YTUVHwrI17M50n8//690IeKWcxsgS hb6bahfbCSuU72StamkhYdu0e/QPBtQq3ytwiYRNoKTGLV0JIQ39ZLOtwHermA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=beffara.org header.s=gm1 header.b=STg12QbG; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=none Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ph8Vl-0003cO-B1; Tue, 28 Mar 2023 08:33:13 -0400 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 1ph8Vb-0003b0-Lh for bug-guix@gnu.org; Tue, 28 Mar 2023 08:33:07 -0400 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ph8Va-0005gu-Lt for bug-guix@gnu.org; Tue, 28 Mar 2023 08:33:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ph8Va-0007f3-CL for bug-guix@gnu.org; Tue, 28 Mar 2023 08:33:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#62140: enable LVM in Grub Resent-From: Emmanuel Beffara Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Tue, 28 Mar 2023 12:33:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 62140 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Maxim Cournoyer Cc: 62140@debbugs.gnu.org, Michael Rohleder , 44877@debbugs.gnu.org Received: via spool by 62140-submit@debbugs.gnu.org id=B62140.168000676829419 (code B ref 62140); Tue, 28 Mar 2023 12:33:02 +0000 Received: (at 62140) by debbugs.gnu.org; 28 Mar 2023 12:32:48 +0000 Received: from localhost ([127.0.0.1]:49130 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ph8VM-0007eM-8x for submit@debbugs.gnu.org; Tue, 28 Mar 2023 08:32:48 -0400 Received: from relay3-d.mail.gandi.net ([217.70.183.195]:37917) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ph8VJ-0007e2-RM; Tue, 28 Mar 2023 08:32:46 -0400 Received: (Authenticated sender: manu@beffara.org) by mail.gandi.net (Postfix) with ESMTPSA id 7D13E60014; Tue, 28 Mar 2023 12:32:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=beffara.org; s=gm1; t=1680006759; 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=+i6tMtK2mBq0/QhmB3g3cZ+WF7MHCpUPpJvEPRN95sE=; b=STg12QbG1beezowhCCwVLXIh/IgTQDgEOtX4u/4RIk9u2TeEPXPDPFcW00ZiPQX73ohFs5 y/QG/QQPHqnvvdksXDOEc8RlD7K6iHEXl0JSWmjglSDTWQzofQacr7oSOD0jS6OdgVxuGY zk0GP2K+Kg2Gap5k/SbO9T2ENxW+/u03rYfRLWD0+0+2gg1U5qIHRpge3dBDS2z0ZDUWqC yMIvf4m1jIsFYHEUZHRDBqSNv2OfSh6LgMCct+OdRr0E16dxdTmUpDXhO3VBMNM9Kd0zs+ Xmxsgb3bYjBiRnSVeAcFLiShw/ymfP1yZ3ubYeG/hbXhenGXSS5u0c5GQVPP7Q== Date: Tue, 28 Mar 2023 14:32:36 +0200 Message-ID: <20230328143236.GD1964@beffara.org> From: Emmanuel Beffara In-Reply-To: <87edpe1gn5.fsf@gmail.com> References: <20230311190206.GD20567@beffara.org> <87sfe8n4ao.fsf@rohleder.de> <20230314222628.GE14391@beffara.org> <87v8ireiq9.fsf@gmail.com> <20230323155819.GC5268@beffara.org> <87edpe1gn5.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: X-Migadu-Queue-Id: 4869A3EE60 X-Spam-Score: 0.37 X-Migadu-Spam-Score: 0.37 X-Migadu-Scanner: scn0.migadu.com List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: bug-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-TUID: jya3btYhRE3c Hi, De Maxim Cournoyer le 24/03/2023 à 13:24: > OK, thanks for explaining. Could you please try > https://issues.guix.gnu.org/60442 (by applying the patch to a local guix > checkout, building it, then 'sudo -E ./pre-inst-env sudo guix system > reconfigure /path/to/your/config.scm)? The test suite was broken it > seems (it passed without the fix), but perhaps the fix still does work? I did as you suggested, and unfortunately the patch has no observable effect on my system. I can't say it comes as a surprise. Indeed, what the patch does is set the environment variable `GRUB_PRELOAD_MODULES` before calling `grub-install`, which is expected to have no effect: this variable is used by `grub-mkconfig` to generate a `grub.cfg`, but the code in Guix assembles a Grub configuration file itself and never calls `grub-mkconfig`. The same applies to the variable `GRUB_ENABLE_CRYPTODISK`, by the way. Maybe the way `grub.cfg` is produced has changed at some point in history ? The only hypothesis I can make is that it would influence `grub-install` by preloading the given modules in the installed image, but that is not the case. According to Grub's documentation, passing `--modules=...` to `grub-install` would have this effect, but I'm not sure it is the right approach. -- Emmanuel