GNU bug report logs - #62140
enable LVM in Grub

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: guix; Reported by: Emmanuel Beffara <manu@HIDDEN>; dated Sun, 12 Mar 2023 07:17:02 UTC; Maintainer for guix is bug-guix@HIDDEN.

Message received at 62140 <at> debbugs.gnu.org:


Received: (at 62140) by debbugs.gnu.org; 13 Mar 2023 13:58:32 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Mar 13 09:58:32 2023
Received: from localhost ([127.0.0.1]:35236 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1pbih6-0005hn-3g
	for submit <at> debbugs.gnu.org; Mon, 13 Mar 2023 09:58:32 -0400
Received: from sxb1nlsmtp04.prod.sxb1.secureserver.net ([92.204.71.242]:59068)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <mike@HIDDEN>) id 1pbih4-0005hR-JC
 for 62140 <at> debbugs.gnu.org; Mon, 13 Mar 2023 09:58:30 -0400
Received: from 122.164.205.92.host.secureserver.net ([92.205.164.122])
 by : HOSTING RELAY : with ESMTP
 id bifxpYjCd0pCibifxpwgmW; Mon, 13 Mar 2023 06:57:22 -0700
X-SECURESERVER-ACCT: 92.205.164.122
x-originating-ip: 92.205.164.122
X-CMAE-Analysis: v=2.4 cv=K4PkXQaI c=1 sm=1 tr=0 ts=640f2bc2
 a=B/z3iHJ5y0TSvJOmeNZOnw==:117 a=k__wU0fu6RkA:10 a=mDV3o1hIAAAA:8
 a=DPhktE-f66EncVhs4UgA:9 a=QEXdDO2ut3YA:10 a=idiw4t6ShAqVqCx07NwA:9
 a=FfaGCDsud1wA:10 a=_FVE-zBwftR9WsbkzFJk:22
Received: from [192.168.1.3] (helo=micha)
 by 122.164.205.92.host.secureserver.net with esmtps (TLS1.3) tls
 TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2)
 (envelope-from <mike@HIDDEN>)
 id 1pbif0-00GYFo-FC; Mon, 13 Mar 2023 14:57:21 +0100
From: Michael Rohleder <mike@HIDDEN>
To: Emmanuel Beffara <manu@HIDDEN>
Subject: Re: bug#62140: enable LVM in Grub
In-Reply-To: <20230311190206.GD20567@HIDDEN> (Emmanuel Beffara's message
 of "Sat, 11 Mar 2023 19:02:06 +0100")
References: <20230311190206.GD20567@HIDDEN>
Date: Mon, 13 Mar 2023 14:56:15 +0100
Message-ID: <87sfe8n4ao.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="=-=-=";
 micalg=pgp-sha256; protocol="application/pgp-signature"
X-CMAE-Envelope: MS4xfNh22RsKObPUHSIF+O6STVfN8LB882kiK0oIDlraFDMtRWOFlDrMUnMq3BONF/Tc2tk3ecAODqp3jDln34ydG9QGD7cHntZ71FD2dHSL1LlpRiQzsEIT
 x7JxieGdydH260hhsvLoZg83UgNPbC3i230bJ0pCJ/8xVbIT726J58TTLJ2PcqofUWALD+je0YSqtXKn5xeNpQnuhFfVYmNpmQ+WNlMpcB4vyxc0LQ6qh8Qd
 H8iop/64S/s7FC+Esd1dksYJucd8uZzAgarmbutgTv8=
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 62140
Cc: 62140 <at> debbugs.gnu.org, 44877 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

--=-=-=
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable

Hello Emmanuel!

Thx for the report!

I think this is bug 44877, maybe we can/should merge it.
Here [1] is a patch (and testcase).


[1]  https://issues.guix.gnu.org/60442
=2D-=20
Man braucht zwei Jahre, um sprechen zu lernen,
und f=C3=BCnfzig, um schweigen zu lernen.     E.Hemingway

--=-=-=
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQFFBAEBCAAvFiEEdV4t5dDVhcUueCgwfHr/vv7yyyUFAmQPK38RHG1pa2VAcm9o
bGVkZXIuZGUACgkQfHr/vv7yyyV20Af/Y60a+oenaXE+D8/VWjvHjxtSoBkkMCeV
lwCiNFWRVogvjdDr+YeF2Rbr9xT1WhXcdkKkoucYol9ViQ6MB2D89q4TNo0+PtaD
FfJDh3SV9hb6aRHDnKU4jcXgcVVzSxKViyaTuiLblHCiPZ3ehBNh6cdNvDrP38S9
loYexndXef57MZ3ceFSK/i4ot/HzOePovQeRoVsY7ArXDK29xzrfsywqiVnfo9RF
Zdf6w2aPy69vJfBW84CRIrGTS+idq8A2ZRFxI5VsjYXxnZ8fX6R0SVOXZyHaVtPH
imFn+fqOqm0muIlNPKuB06xcB1iye4/unAVv6FdXHu13+1G3wwy4jg==
=ywS/
-----END PGP SIGNATURE-----
--=-=-=--




Information forwarded to bug-guix@HIDDEN:
bug#62140; Package guix. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 12 Mar 2023 07:17:01 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Mar 12 03:17:00 2023
Received: from localhost ([127.0.0.1]:59014 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1pbFwx-0001GU-77
	for submit <at> debbugs.gnu.org; Sun, 12 Mar 2023 03:17:00 -0400
Received: from lists.gnu.org ([209.51.188.17]:43630)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <manu@HIDDEN>) id 1pb3Xq-00040b-6L
 for submit <at> debbugs.gnu.org; Sat, 11 Mar 2023 13:02:14 -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 <manu@HIDDEN>) id 1pb3Xp-00077V-Nr
 for bug-guix@HIDDEN; Sat, 11 Mar 2023 13:02:14 -0500
Received: from relay3-d.mail.gandi.net ([217.70.183.195])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <manu@HIDDEN>) id 1pb3Xn-00085q-56
 for bug-guix@HIDDEN; Sat, 11 Mar 2023 13:02:13 -0500
Received: (Authenticated sender: manu@HIDDEN)
 by mail.gandi.net (Postfix) with ESMTPSA id 3EABD60007
 for <bug-guix@HIDDEN>; Sat, 11 Mar 2023 18:02:07 +0000 (UTC)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=beffara.org; s=gm1;
 t=1678557728;
 h=from:from: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:  references:references;
 bh=Z7pAdoMzgy44cGcaULrwBUG9kSc+B7Onj728cfgQ0Aw=;
 b=AIHjOcVaMlYXtVgmsM6/H+Gr1JIjutwwOI2r5p7yGgAwWGPC5aNvoDapGlCEaJ4YYbHzcA
 TLHiVaZXSA6iGKyNGDYCmL2FtRpdADZf0LLP2v44rkWdezdIuug0CKiQQaRJMFqDXbC2Mu
 EbKIeTDly5aUoAMC5kgNe7v2ncH9kAUXCCKlfY4mH9SfgwzuLeXCbac3C61/mT5r6oSHvk
 irA2cys6a/kcjhLbz4FfiXZ3tutahU8412tzI7HzDgMURsIyT1P1Cb74c1kCNvLeYv27mx
 QwmNCO+wHhFmJXxs/ed+nIPj80Cd005/8FYbZmM1UpGLbRKH59RDMw4ju10mpg==
Date: Sat, 11 Mar 2023 19:02:06 +0100
Message-ID: <20230311190206.GD20567@HIDDEN>
From: Emmanuel Beffara <manu@HIDDEN>
To: bug-guix@HIDDEN
Subject: enable LVM in Grub
References: 
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
Received-SPF: none client-ip=217.70.183.195; envelope-from=manu@HIDDEN;
 helo=relay3-d.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, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01,
 SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: submit
X-Mailman-Approved-At: Sun, 12 Mar 2023 03:16:56 -0400
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

Hello Guix,

Unless I missed something in the configuration process, the `grub.cfg`
generated by `guix system reconfigure` does not enable LVM, even if the store
is in an LVM volume. The immediate consequence is that Grub cannot load its
data files nor boot the system. The fix is as simple as adding `insmod lvm` in
`grub.cfg` before any `search` command, which I do by hand on each
`reconfigure`, but obviously Guix itself should do that.

I looked at `grub.scm` to see where things happen, and I see no mention of LVM
in this file. This surprises me because I am probably not the only one using
it. Actually, I use LVM on LUKS for full-system encryption, but this is
probably not rare either.

-- 
Emmanuel




Acknowledgement sent to Emmanuel Beffara <manu@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-guix@HIDDEN. Full text available.
Report forwarded to bug-guix@HIDDEN:
bug#62140; Package guix. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Mon, 13 Mar 2023 14:00:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.