Received: (at 44877) by debbugs.gnu.org; 24 Apr 2025 05:17:59 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Thu Apr 24 01:17:59 2025 Received: from localhost ([127.0.0.1]:33612 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1u7oyF-0000JL-8R for submit <at> debbugs.gnu.org; Thu, 24 Apr 2025 01:17:59 -0400 Received: from mail-yb1-xb2a.google.com ([2607:f8b0:4864:20::b2a]:56745) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from <benibilme@HIDDEN>) id 1u7dGW-0001Ud-TN for 44877 <at> debbugs.gnu.org; Wed, 23 Apr 2025 12:48:06 -0400 Received: by mail-yb1-xb2a.google.com with SMTP id 3f1490d57ef6-e637edaa652so53276.1 for <44877 <at> debbugs.gnu.org>; Wed, 23 Apr 2025 09:48:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1745426879; x=1746031679; darn=debbugs.gnu.org; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=WJ7Ae30Q5rxFZYabKisKPTOvHXXrQBReDUUUqPR91Ic=; b=WrRC/OEQZhks7ktDSTBnldCQwWl5SplAWmVRJ16U+mpTAzTSBYwFQZf74rzHV2S9jc 3R1B8NhMLXDx2KmjJrIdzunMxqIrmgzr72FhR6JOeuRBWmhYQ0xkfssbyG4Shj/ubNSq fXZBPgDQR/d+471GSRfFOmEZg0/MFGgxDnVxtw34plijatmJflmySh4NXKhtYccJOkyH uoyfUOEKnFywsWu90Ppk4dqoB3GC8HnjnIAd691t7Kv31h+1ZHgDKLqVBKK3Y3wEd/mL i56moBKtFsDs4Q8T7cbVYzi7V3A5iZDU/6qBrGtHx2XdtXRHM3+Z20FGowjMoxCttXtx mhMg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1745426879; x=1746031679; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=WJ7Ae30Q5rxFZYabKisKPTOvHXXrQBReDUUUqPR91Ic=; b=e+1O8GkpC7xhXr0rEgHtpjQM5pDbXZOfavFBX39e6kXoIp8IhIO40gwz5abzX3X+ef AKD9IfGN4u4Xpz1FC658wq3wfSCvkBdjmEUd+6XLHjs0Vbf/aJsS+2c1PuPTT8zJwzPj AIcPCNx0m2cMu0bAXq5iP8NIqn0FX/U60DTF+X3qLZcpP1urBIQngVR67vPEOySw7L8R oqtkKvyDyTQJSmKnrE5KkISiCB/gdC3PEttVrW9qlSlOJxfoiJ2yXU5Xew4ql2RPhyy+ F1SXfpQM9HuTQBWha8ysMjpd89zm5S0w7B51UTa+pwDTcfpSSiBU0o9xEdG5PiGFqqin 8Chw== X-Gm-Message-State: AOJu0YzdhdRAzfKWE2yybRiMeQWXKzGINe5VPNSJkWru3LQzAZpViKmE dKpabLj0WzH5xtUaylzS9W5YoSoGvw6G2TrsdR6dXJVjOtTfZZhXajGTSyF/Q7sf/7ExA/Ow8Vb GW2KCiitLzFbslJrEDK0OXi9B+YMTZQ== X-Gm-Gg: ASbGncv+deOanuOoPnAr1Nxkdm0weA5rx0UclU6YXwE5XKQiC3Tya6BBn2C3ebW+OAD PLsjoUqZoxz3Sg9E32gTGl7UKixIjtcA5riZOem5vHMAdB33MI6KksX5Er4Am0Cyf8xp7SnRvZj G5o8awnL0chej2t/hBOake+Q== X-Google-Smtp-Source: AGHT+IFr2sGJ72rMlOlnd+6vYtpMExrN6Lwb5YJ8jdtH8HEcGBExXxS9u3J+onwD4tJVh2p/ggqaHGPQ1opoQHaHewY= X-Received: by 2002:a05:6902:1008:b0:e72:bb4d:7d6b with SMTP id 3f1490d57ef6-e72bb4d7f37mr18634504276.1.1745426878708; Wed, 23 Apr 2025 09:47:58 -0700 (PDT) MIME-Version: 1.0 From: Bilinmek Istemiyor <benibilme@HIDDEN> Date: Wed, 23 Apr 2025 19:47:47 +0300 X-Gm-Features: ATxdqUH_3-2uCWIYiSzCCg6QpLp9vjAoX000jUV6y76oT1aEfo47BtgmM6v5b3k Message-ID: <CAB=HgN15FLRzta64G+DETjhb6qrpUuZUyhKgBi+FJyrZ_i9fCg@HIDDEN> Subject: I can not believe that this issue is still open after four years. To: 44877 <at> debbugs.gnu.org Content-Type: multipart/alternative; boundary="00000000000016467c063374dd3d" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 44877 X-Mailman-Approved-At: Thu, 24 Apr 2025 01:17:57 -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: -1.0 (-) --00000000000016467c063374dd3d Content-Type: text/plain; charset="UTF-8" Hello, I am newbie to guix and have been trying to install it for the first time with my usual setup with root on luks + lvm + btrfs. For a week, I thought that there was something wrong with my config.scm until being aware of by user ruther in guix channel of libera.chat. Basically in my case grub can open luks, in grup command prompt, I can see the lvm devices by ls command and but load kernel somehow. I am really frustrated that such a important feature is neglected for years. This is truly a show stopper for me. Please do something about this. --00000000000016467c063374dd3d Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><div>Hello,</div><div><br></div><div>I am newbie to guix a= nd have been trying to install it for the first time with my usual setup wi= th root on luks=C2=A0+ lvm + btrfs.=C2=A0 For a week, I thought that there = was something wrong with my config.scm until being aware of by user ruther = in guix channel of libera.chat. =C2=A0</div><div><br></div><div>Basically i= n my case=C2=A0 grub can open luks, in grup command prompt, I can see the l= vm devices by ls command and but load kernel somehow. <br></div><div><br></= div><div>I am really frustrated that such a important feature is neglected = for years. This is truly a show stopper for me. Please do=C2=A0 something a= bout this. <br></div><div><br></div><div><br></div><div><br></div><div><br>= </div></div> --00000000000016467c063374dd3d--
bug-guix@HIDDEN
:bug#44877
; Package guix
.
Full text available.Received: (at 44877) by debbugs.gnu.org; 8 Jun 2024 16:18:22 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sat Jun 08 12:18:22 2024 Received: from localhost ([127.0.0.1]:39289 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1sFylm-0002F0-FF for submit <at> debbugs.gnu.org; Sat, 08 Jun 2024 12:18:22 -0400 Received: from anamika.lostca.se ([65.21.75.227]:49950) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <ashish.is@HIDDEN>) id 1sFylk-0002Eg-DN for 44877 <at> debbugs.gnu.org; Sat, 08 Jun 2024 12:18:17 -0400 Received: from sofia.home.inet6.fi (62.red-81-34-40.dynamicip.rima-tde.net [81.34.40.62]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: abbe) by anamika.lostca.se (Postfix) with ESMTPSA id 14C70FF4C; Sat, 8 Jun 2024 16:17:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lostca.se; s=anamika; t=1717863443; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=pDrzKV624eJ3Yw2Bwrt4LRRbcXBXlqoD8MYjUwd0EiM=; b=XW8Aw3oo04krihPq8wW20g4gN6pcfriGcK/TeEXmlm/OAcdHaeQ1r9CG0v14TEUrIpr5Nh zfdfRdrAYVwBQFd8H8BbuBekaPEKxnVCRp8sdTZld0mJrPElQEg9aK9e4mfOQyXxpGNhqk wG9TnXv5LYv37Lj18U7T8/ZcDiiA/N0= From: ashish.is@HIDDEN To: 44877 <at> debbugs.gnu.org Subject: [PATCH] gnu: grub: load lvm grub module. Date: Sat, 8 Jun 2024 18:13:36 +0200 Message-ID: <8eb817a7e3e7a6033b2f102d55c0095f2b7a075a.1717863216.git.ashish.is@HIDDEN> X-Mailer: git-send-email 2.45.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 44877 Cc: Ashish SHUKLA <ashish.is@HIDDEN> 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 (-) From: Ashish SHUKLA <ashish.is@HIDDEN> * gnu/bootloader/grub.scm (make-grub-configuration): load lvm grub module when generating configuration for cryptodisks setup. Change-Id: I1dbb0c7dbf68a5f93db76dc29793a1f73be49ee2 --- Hi, I have a Guix setup which has a LUKS2 partition containing a LVM volume group on which kernels and initrds reside. I think this is one of the common setups in which folks uses disk-encryption on GNU/Linux. Since in Guix the kernels/initrd don't get copied to /boot it requires GRUB to be able to unlock the LUKS2 volume, and look inside the LVM partitions to find initrd, and kernel. The former part is already there, this patch enables the latter part, so folks like me who use LVM on top of LUKS be able to boot, otherwise it requires going to grub command-line, and running "insmod lvm" prior to selecting a boot option. Thanks, Ashish gnu/bootloader/grub.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gnu/bootloader/grub.scm b/gnu/bootloader/grub.scm index 2723eda5f4..a4ca0bc217 100644 --- a/gnu/bootloader/grub.scm +++ b/gnu/bootloader/grub.scm @@ -445,7 +445,7 @@ (define* (make-grub-configuration grub config entries ;; Other type of devices aren't implemented. #~())) (let ((devices (map crypto-device->cryptomount store-crypto-devices)) - (modules #~(format port "insmod luks~%insmod luks2~%"))) + (modules #~(format port "insmod luks~%insmod luks2~%insmod lvm~%"))) (if (null? devices) devices (cons modules devices)))) base-commit: 580d77d0fb12448ef1621699cc0c56e787e2aadb -- 2.45.2
bug-guix@HIDDEN
:bug#44877
; Package guix
.
Full text available.Received: (at 44877) by debbugs.gnu.org; 28 Mar 2023 14:10:46 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Tue Mar 28 10:10:46 2023 Received: from localhost ([127.0.0.1]:50345 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1phA2A-00022y-6f for submit <at> debbugs.gnu.org; Tue, 28 Mar 2023 10:10:46 -0400 Received: from mail-qt1-f172.google.com ([209.85.160.172]:36504) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <maxim.cournoyer@HIDDEN>) id 1phA29-00022i-5N; Tue, 28 Mar 2023 10:10:45 -0400 Received: by mail-qt1-f172.google.com with SMTP id hf2so11982170qtb.3; Tue, 28 Mar 2023 07:10:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1680012639; h=content-transfer-encoding:mime-version:user-agent:message-id :in-reply-to:date:references:subject:cc:to:from:from:to:cc:subject :date:message-id:reply-to; bh=g4yGCBBGK/wjlUSZJbhXOcl46KKBl5wauDk4Mb/oYzk=; b=LgDmgJlNkr/h01aQ93BzicECmVfKU4GWxQ0FoCalGwEycLPamPpFw9172z3mttRuHs CYOmaZcZsje0xy7Pd/HhLJbH3FkQVCCFqAuDSq917Xci0Mbk9Bf8B8LgKgdoX+3cJg9s v8ZcksVtSpfI+ItlxbH5TRD/Fsm+QnBzJKN1sQL/63l+MYAh+AngLt+lrK1bzgRmBPOW tDwEaackmci6KWQ9X4v09K5ywf9HY/OmSQfqxPICobS6HKa4iFBrrQ1h4y6u7wMBReBS e3cW9Pz0tuE+LVNNokFK5wm5ZsF0c/pFpG3uNMBErTgPsvmhOYXmo++0vyU/1HK0Nowm evBw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680012639; h=content-transfer-encoding:mime-version:user-agent:message-id :in-reply-to:date:references:subject:cc:to:from:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=g4yGCBBGK/wjlUSZJbhXOcl46KKBl5wauDk4Mb/oYzk=; b=GNn5Fm4QUptBe417LRm+dhNRCsFmfaQgJALnBB28agX6hduKcXlmuEAvxE0E/VqwNL k2SZB2L8erwtcx054fmOi37Y0nzTUIDRcpDZ/LBy51cCxzV87AD1VQtAUvlRe3tpl8Fc 5iLFjwVZej9PxzzjoB9hbu/pF3j7qFThsrSCfCbbA2G8dHUdn2b7zc1PCtqyoR3S0ybi Q/uDp4f/ZleY0d0aMkTBp/LG3PEjZbuG5CpBTkf6ct13HeWUMIjCwbKghtbzI+LW8UA3 B4rxSvHgglOoaiNeIxKbwdaEcgQSH/0BdJ+RA5uHszo1b/0wsKIIoz2oXOn9rjSmHIgG 1bRA== X-Gm-Message-State: AO0yUKVK8NkXFX3T6RGCWLBfWe7jz3fFKp2rVsnAINAr93MOApCKez6K IiKq+/gSltHHDxA2sX2KpHVRmcSvwVM= X-Google-Smtp-Source: AK7set8rvDOJD/F+N+KeW4ss/afTpYCrKze9Scy82OR6ka1Z7la2a1JNiIDKCVcyqbWWszIindtNVg== X-Received: by 2002:ac8:5e0c:0:b0:3bf:c3be:758e with SMTP id h12-20020ac85e0c000000b003bfc3be758emr27752413qtx.16.1680012639172; Tue, 28 Mar 2023 07:10:39 -0700 (PDT) Received: from hurd (dsl-205-151-56-156.b2b2c.ca. [205.151.56.156]) by smtp.gmail.com with ESMTPSA id 11-20020a37030b000000b00745a55db5a3sm11966435qkd.24.2023.03.28.07.10.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 28 Mar 2023 07:10:38 -0700 (PDT) From: Maxim Cournoyer <maxim.cournoyer@HIDDEN> To: Emmanuel Beffara <manu@HIDDEN> Subject: Re: bug#62140: enable LVM in Grub References: <20230311190206.GD20567@HIDDEN> <87sfe8n4ao.fsf@HIDDEN> <20230314222628.GE14391@HIDDEN> <87v8ireiq9.fsf@HIDDEN> <20230323155819.GC5268@HIDDEN> <87edpe1gn5.fsf@HIDDEN> <20230328143236.GD1964@HIDDEN> Date: Tue, 28 Mar 2023 10:10:37 -0400 In-Reply-To: <20230328143236.GD1964@HIDDEN> (Emmanuel Beffara's message of "Tue, 28 Mar 2023 14:32:36 +0200") Message-ID: <87v8ilnezm.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 44877 Cc: 62140 <at> debbugs.gnu.org, Michael Rohleder <mike@HIDDEN>, 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 (-) Hi, Emmanuel Beffara <manu@HIDDEN> writes: > Hi, > > De Maxim Cournoyer le 24/03/2023 =C3=A0 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 eff= ect > on my system. Thanks for testing it! > 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-mkcon= fig` > to generate a `grub.cfg`, but the code in Guix assembles a Grub configura= tion > file itself and never calls `grub-mkconfig`. The same applies to the vari= able > `GRUB_ENABLE_CRYPTODISK`, by the way. Maybe the way `grub.cfg` is produce= d has > changed at some point in history ? I'm not sure, but I agree it's confusing to have extraneous setenv there if they serve no purpose (and my understanding is the same as yours: I don't see how that'd work). > 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=3D...` to `grub-ins= tall` > would have this effect, but I'm not sure it is the right approach. Since we already generate a custom grub.cfg, the right approach is probably to add any needed directive directly to it. --=20 Thanks, Maxim
bug-guix@HIDDEN
:bug#44877
; Package guix
.
Full text available.Received: (at 44877) by debbugs.gnu.org; 28 Mar 2023 12:32:48 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Tue Mar 28 08:32:48 2023 Received: from localhost ([127.0.0.1]:49128 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1ph8VL-0007eJ-Uf for submit <at> 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 <manu@HIDDEN>) id 1ph8VJ-0007e2-RM; Tue, 28 Mar 2023 08:32:46 -0400 Received: (Authenticated sender: manu@HIDDEN) 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@HIDDEN> From: Emmanuel Beffara <manu@HIDDEN> To: Maxim Cournoyer <maxim.cournoyer@HIDDEN> Subject: Re: bug#62140: enable LVM in Grub In-Reply-To: <87edpe1gn5.fsf@HIDDEN> References: <20230311190206.GD20567@HIDDEN> <87sfe8n4ao.fsf@HIDDEN> <20230314222628.GE14391@HIDDEN> <87v8ireiq9.fsf@HIDDEN> <20230323155819.GC5268@HIDDEN> <87edpe1gn5.fsf@HIDDEN> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 44877 Cc: 62140 <at> debbugs.gnu.org, Michael Rohleder <mike@HIDDEN>, 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.7 (-) 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
bug-guix@HIDDEN
:bug#44877
; Package guix
.
Full text available.Received: (at 44877) by debbugs.gnu.org; 24 Mar 2023 16:30:13 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Fri Mar 24 12:30:13 2023 Received: from localhost ([127.0.0.1]:41257 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1pfkIv-0006Zj-0O for submit <at> debbugs.gnu.org; Fri, 24 Mar 2023 12:30:13 -0400 Received: from mail-ua1-f53.google.com ([209.85.222.53]:45872) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <maxim.cournoyer@HIDDEN>) id 1pfkIq-0006YI-KG; Fri, 24 Mar 2023 12:30:12 -0400 Received: by mail-ua1-f53.google.com with SMTP id x33so1770290uaf.12; Fri, 24 Mar 2023 09:30:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1679675403; h=content-transfer-encoding:mime-version:user-agent:message-id :in-reply-to:date:references:subject:cc:to:from:from:to:cc:subject :date:message-id:reply-to; bh=OQa7D/mlEsd+FSBfoZWGlsX3gw9kCPH5EoIxvX5g0jI=; b=TIC6Da20RxX5VKecMhHIicUEgCNsMjlV8rICa8QQ6smh02z/ZQcKpbHeG2V94sOQfX RJtuhFb4J236zA2KeGaXy4TVL4tenEM+BSpSMaYT2RB0LVR2Xmae1zYUGrzNiFM0yBsh Atb7LFfawiMapgjEsdAcDj6Q/vofOYV/5nrSExFeEj54iCcnonyMyGCMtsZLyn3lpqU3 h9nLyX3rj6ES4ZPHJZDdZHLGz4X3kxhZalZpS1k0fcVCHQD+sPUvj5d8Aglnum3oFU0f JXMcwUNqkfhiTNb+Dz41eT+5yzNcHYAjxawWFthlXWNfCA7vTeWgwOZhF31vZ+3bC0pV QUmg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1679675403; h=content-transfer-encoding:mime-version:user-agent:message-id :in-reply-to:date:references:subject:cc:to:from:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=OQa7D/mlEsd+FSBfoZWGlsX3gw9kCPH5EoIxvX5g0jI=; b=H9jdgN6Xud49m3Vmspqg6GatJd85DANKDFZGcugauNpVFUWcE2xyJVoCm36VUWHEG3 0sOBrwX8lLNKfnoROldFdnXz2Dirr9lcbgcTqcLbO0MUVYBiAcZ1DAdCktT39B6WgmIA KjAoJUxtTU9KIqed/kuFkbXziEZeagdVGP8HdrbINezG1hm3AkIGKB484fs3N5ytat4W lxtGiRaDvTnm04A4zTJA/8lXy5zCFGIh2XZMyBRtmZo+yQnxTUspT4pfozszNIg8Nx+u Dc5j3cTXUqn2x5aFHpnNzhLNZNT2vUKkVnpicoiMI8/yKax5yBb/f0CgHhBO1HqMaxux xYiQ== X-Gm-Message-State: AAQBX9fDL2auE1bO+D/bj7DXwEQTu9lYGQZzmFQ0rjriF2dlQtDir3fs rz2TVeuF/INRZZEUEWfP8kb80OHXqdm/Yg== X-Google-Smtp-Source: AKy350aBtz/pFIJ7bBe0k8W+f1BLIPfMqzyZMwChTEVCSK/nwLPqtX6IVMQwgJL5p5XQU+Pj/IWjRg== X-Received: by 2002:ac8:59cf:0:b0:3e4:d889:bc64 with SMTP id f15-20020ac859cf000000b003e4d889bc64mr460059qtf.5.1679660671625; Fri, 24 Mar 2023 05:24:31 -0700 (PDT) Received: from hurd (dsl-155-54.b2b2c.ca. [66.158.155.54]) by smtp.gmail.com with ESMTPSA id q21-20020a05620a0c9500b007422fa6376bsm14115400qki.77.2023.03.24.05.24.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 24 Mar 2023 05:24:31 -0700 (PDT) From: Maxim Cournoyer <maxim.cournoyer@HIDDEN> To: Emmanuel Beffara <manu@HIDDEN> Subject: Re: bug#62140: enable LVM in Grub References: <20230311190206.GD20567@HIDDEN> <87sfe8n4ao.fsf@HIDDEN> <20230314222628.GE14391@HIDDEN> <87v8ireiq9.fsf@HIDDEN> <20230323155819.GC5268@HIDDEN> Date: Fri, 24 Mar 2023 08:24:30 -0400 In-Reply-To: <20230323155819.GC5268@HIDDEN> (Emmanuel Beffara's message of "Thu, 23 Mar 2023 15:58:19 +0100") Message-ID: <87edpe1gn5.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 44877 Cc: 62140 <at> debbugs.gnu.org, Michael Rohleder <mike@HIDDEN>, 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 (-) Hi, Emmanuel Beffara <manu@HIDDEN> writes: > Hello, > > De Maxim Cournoyer le 23/03/2023 =C3=A0 13:48: >> It seems to me that since we produce grub.cfg ourselves if there's somet= hing >> to add there for LVM support (which I'm not sure there is -- apparently = it >> already works for you ?), it should be explicitly coded in (gnu bootload= er >> grub). > > It does not work for me, that is why I reported this! The system does not= boot > unless I manually add `insmod lvm` in `grub.cfg` because Grub does not fi= nd > the partition that contains the store. > > So I agree something has to be done there. 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? --=20 Thanks, Maxim
bug-guix@HIDDEN
:bug#44877
; Package guix
.
Full text available.Received: (at 44877) by debbugs.gnu.org; 24 Mar 2023 08:23:47 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Fri Mar 24 04:23:47 2023 Received: from localhost ([127.0.0.1]:39774 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1pfciB-0006yh-4E for submit <at> debbugs.gnu.org; Fri, 24 Mar 2023 04:23:47 -0400 Received: from relay1-d.mail.gandi.net ([217.70.183.193]:44899) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <manu@HIDDEN>) id 1pfci3-0006yF-9I; Fri, 24 Mar 2023 04:23:46 -0400 Received: (Authenticated sender: manu@HIDDEN) by mail.gandi.net (Postfix) with ESMTPSA id A8503240008; Fri, 24 Mar 2023 08:23:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=beffara.org; s=gm1; t=1679646205; 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=fJJ1aQu8JY9hkYlltb1z/a2SPuXVzbW8bmNjmbgNKD4=; b=JlOH77JUQnVpbKl2mQCAVb3yz0/eDCamwkYPUNjbKkU/iRn2/3EQ22pVQjOmzM0c0dSG44 74CDIbPDkMkjGx8i0KvdmlAwZs+9MOIQ430ApZ+R6heFTxZDbBRSye7t1+DGVeNXqhZ7sH /AVmuFANq7TZ+BNbkz7687IMCiGWl9i0I/+pExtOBSZy+rmuw9/HK9JDQF8oY0uay5mfAN LCtOC7P0W39/tdWBmjJ9iIfvfBmY69KRlBiQOG3arvCrX6IscVATgfm/a9yCchHcwy9MqU uV1tTQj0sUvFGM2Czoq48n4874J8upBqSKioi829ZmAnbo5u3F8muIy319j8ag== Date: Thu, 23 Mar 2023 15:58:19 +0100 Message-ID: <20230323155819.GC5268@HIDDEN> From: Emmanuel Beffara <manu@HIDDEN> To: Maxim Cournoyer <maxim.cournoyer@HIDDEN> Subject: Re: bug#62140: enable LVM in Grub In-Reply-To: <87v8ireiq9.fsf@HIDDEN> References: <20230311190206.GD20567@HIDDEN> <87sfe8n4ao.fsf@HIDDEN> <20230314222628.GE14391@HIDDEN> <87v8ireiq9.fsf@HIDDEN> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit X-Spam-Score: 0.1 (/) X-Debbugs-Envelope-To: 44877 Cc: 62140 <at> debbugs.gnu.org, Michael Rohleder <mike@HIDDEN>, 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: -0.9 (/) Hello, De Maxim Cournoyer le 23/03/2023 à 13:48: > It seems to me that since we produce grub.cfg ourselves if there's something > to add there for LVM support (which I'm not sure there is -- apparently it > already works for you ?), it should be explicitly coded in (gnu bootloader > grub). It does not work for me, that is why I reported this! The system does not boot unless I manually add `insmod lvm` in `grub.cfg` because Grub does not find the partition that contains the store. So I agree something has to be done there. > info '(grub) Changes from GRUB Legacy' mentions that "* GRUB 2 can read > files directly from LVM and RAID devices.", so I would think there's nothing > special to do? As I understand it, this just means that Grub 2 has a module for reading LVM devices and a module for reading RAID devices. But it still has to load them somehow (unless there is a way to include them statically so they are available from the beginning). -- Emmanuel
bug-guix@HIDDEN
:bug#44877
; Package guix
.
Full text available.Received: (at 44877) by debbugs.gnu.org; 23 Mar 2023 12:48:56 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Thu Mar 23 08:48:56 2023 Received: from localhost ([127.0.0.1]:37479 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1pfKND-0006HF-Lf for submit <at> debbugs.gnu.org; Thu, 23 Mar 2023 08:48:55 -0400 Received: from mail-qt1-f179.google.com ([209.85.160.179]:37806) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <maxim.cournoyer@HIDDEN>) id 1pfKNB-0006Gw-V8; Thu, 23 Mar 2023 08:48:54 -0400 Received: by mail-qt1-f179.google.com with SMTP id r5so26311743qtp.4; Thu, 23 Mar 2023 05:48:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1679575728; h=content-transfer-encoding:mime-version:user-agent:message-id :in-reply-to:date:references:subject:cc:to:from:from:to:cc:subject :date:message-id:reply-to; bh=6K4nx2aBuMp0k7wAFlXjb0WR+7ZyQPN3BJ1cVIV6Qi0=; b=nkBfz7YwvjFEPMVrIPFUDu2V7hJqSwVmoBxrj9Dfd3oNF3SCeP+qNJ924UYexu4VRT 7kFvEOENfY2WkAK0cL2Yv4N86xDAVEjXY7TpRjKkOayk3Z4GbgjFQCquwi4CxUNdDrPC CHGTaiWM7kX6n2dtbXCaCfValgakQgOHqdycjVrsF9/m5g0f4DZ/R5lBAIVFtTf1XnDG RSqjuyW/tZkT8SiHzXryr9UtpZlpXOftH0upUlGVcpHPmrK+b/oIuwSXbtd4wvryixZp gQjMaBDjcKTSqc+8srHniZxeyCz4WJHL3rUzn21eaQ0NzSNg1K9NQs9aYi9DnPYQ0AR1 VcfQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1679575728; h=content-transfer-encoding:mime-version:user-agent:message-id :in-reply-to:date:references:subject:cc:to:from:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=6K4nx2aBuMp0k7wAFlXjb0WR+7ZyQPN3BJ1cVIV6Qi0=; b=wRFJFf8jxc3yIMK6MU9GW3VEwUcEMQ8H0ZTIL1w+hFiXv78mIONPKb+EnzrlUfAE7j v7pXxgLsIlgx5nXVzY1X0ddVU4Q5qUY44Z68EG9mE0h3wi9PppOtsrF290fNqoHD+uw5 zsW29abu3eIU0911oXZW/f4j66Oter/EUwRRiSnRlfGrVxN/7WgmfX5yZTlS4zEdBGuf 7YuCMVWy7o74nlseeR6ZXKeghbjJ+E/bscsURR9qZP2lhW8KeSVr03g9XbzwZ58DjebR wQn3rL1SDV/KOfecxKMgGLzBCFY5FmTe6hK5rQ0HhwYO7NhyKgSaiuc8vMtB4zFap/BR OAeA== X-Gm-Message-State: AO0yUKVjzUrPjscMLbtkDfzUKa239DZ8qEoBog3dnBYG7wU7FDI9CfpF LDyb2xbexHaFgHoqGabEbDWT+vnlNaB3Nw== X-Google-Smtp-Source: AK7set+WLZS1BHkRYGbYpvxIw9IQAPuMHDWiifp70k6fhKsnpUjas7OUSrotDXvJ6xH15zPyyzaslA== X-Received: by 2002:a05:622a:4:b0:3e1:78b5:7198 with SMTP id x4-20020a05622a000400b003e178b57198mr8647999qtw.8.1679575728085; Thu, 23 Mar 2023 05:48:48 -0700 (PDT) Received: from hurd (dsl-155-54.b2b2c.ca. [66.158.155.54]) by smtp.gmail.com with ESMTPSA id b2-20020ac84f02000000b003e39721fd41sm368090qte.84.2023.03.23.05.48.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 23 Mar 2023 05:48:47 -0700 (PDT) From: Maxim Cournoyer <maxim.cournoyer@HIDDEN> To: Emmanuel Beffara <manu@HIDDEN> Subject: Re: bug#62140: enable LVM in Grub References: <20230311190206.GD20567@HIDDEN> <87sfe8n4ao.fsf@HIDDEN> <20230314222628.GE14391@HIDDEN> Date: Thu, 23 Mar 2023 08:48:46 -0400 In-Reply-To: <20230314222628.GE14391@HIDDEN> (Emmanuel Beffara's message of "Tue, 14 Mar 2023 22:26:28 +0100") Message-ID: <87v8ireiq9.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 44877 Cc: 62140 <at> debbugs.gnu.org, Michael Rohleder <mike@HIDDEN>, 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 (-) Hi, Emmanuel Beffara <manu@HIDDEN> writes: > De Michael Rohleder le 13/03/2023 =C3=A0 14:56: >> Hello Emmanuel! >>=20 >> Thx for the report! >>=20 >> I think this is bug 44877, maybe we can/should merge it. >> Here [1] is a patch (and testcase). >>=20 >>=20 >> [1] https://issues.guix.gnu.org/60442 > > Indeed, it seems to be the same issue. > > However, the patch sets the value of `GRUB_PRELOAD_MODULES`, which afaik = is > used by `grub-mkconfig` to produce `grub.cfg`, but there seems to be code= in > `grub.scm` that also produces `grub.cfg`, and no call to `grub-mkconfig` > there. I'm not sure I understand how all this works anyway=E2=80=A6 Guix indeed takes care to generate the grub.cfg itself, via the make-grub-configuration procedure from (gnu bootloader grub), and grub-mkconfig is *not* used. grub-install is used though, so perhaps GRUB_PRELOAD_MODULES could be honored by it (although it's not documented so I doubt it). It seems to me that since we produce grub.cfg ourselves if there's something to add there for LVM support (which I'm not sure there is -- apparently it already works for you ?), it should be explicitly coded in (gnu bootloader grub). info '(grub) Changes from GRUB Legacy' mentions that "* GRUB 2 can read files directly from LVM and RAID devices.", so I would think there's nothing special to do? --=20 Thanks, Maxim
bug-guix@HIDDEN
:bug#44877
; Package guix
.
Full text available.Received: (at 44877) by debbugs.gnu.org; 14 Mar 2023 21:26:40 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Tue Mar 14 17:26:40 2023 Received: from localhost ([127.0.0.1]:38569 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1pcCAJ-0004Td-NT for submit <at> debbugs.gnu.org; Tue, 14 Mar 2023 17:26:39 -0400 Received: from relay11.mail.gandi.net ([217.70.178.231]:35661) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <manu@HIDDEN>) id 1pcCAH-0004TL-VJ; Tue, 14 Mar 2023 17:26:38 -0400 Received: (Authenticated sender: manu@HIDDEN) by mail.gandi.net (Postfix) with ESMTPSA id 84D6A100003; Tue, 14 Mar 2023 21:26:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=beffara.org; s=gm1; t=1678829191; 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=FtvQWVe1f0t4x8rlUEr2TOrlDGgXj5+/u6PwMu4J79U=; b=cc4ypsipy0KM1mFrBh7gDXa30L70em/KDYrjiasHlhtfpaFTJ6Ps2J6h3Um8Ol3a0h4oFP 3e+SKWhb5vvHKkKJK1vLvBVcizAaSl2KmqzyFHlV9nrA2UDxBlqKBkb2tFZhhBWla5Mmf+ C8BUCGDHkKbvTsUjA2rYIljMILx/inp8qHA3WMeMvbOpMupMYacpEEntuL+jf5RZFhQE3Q FW9tjV9aPY0AeimLFk4LkeKq/+hqWZkOPMLKuscNGWu2g5ST/R09DfXonWlNQ4cGipA2jo R1jeR4VuTaUDgaAFEDCjgebZ8p+IUbnmQcnZKPjEH3Y149QOZG+ZT4VUnAPgrg== Date: Tue, 14 Mar 2023 22:26:28 +0100 Message-ID: <20230314222628.GE14391@HIDDEN> From: Emmanuel Beffara <manu@HIDDEN> To: Michael Rohleder <mike@HIDDEN> Subject: Re: bug#62140: enable LVM in Grub In-Reply-To: <87sfe8n4ao.fsf@HIDDEN> References: <20230311190206.GD20567@HIDDEN> <87sfe8n4ao.fsf@HIDDEN> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 44877 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.7 (-) De Michael Rohleder le 13/03/2023 à 14:56: > 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 Indeed, it seems to be the same issue. However, the patch sets the value of `GRUB_PRELOAD_MODULES`, which afaik is used by `grub-mkconfig` to produce `grub.cfg`, but there seems to be code in `grub.scm` that also produces `grub.cfg`, and no call to `grub-mkconfig` there. I'm not sure I understand how all this works anyway… -- Emmanuel
bug-guix@HIDDEN
:bug#44877
; Package guix
.
Full text available.Received: (at 44877) 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]:35234 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1pbih5-0005hl-SQ for submit <at> debbugs.gnu.org; Mon, 13 Mar 2023 09:58:32 -0400 Received: from sxb1nlsmtp04.prod.sxb1.secureserver.net ([92.204.71.237]:59096) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <mike@HIDDEN>) id 1pbih3-0005hS-So for 44877 <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: 44877 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----- --=-=-=--
bug-guix@HIDDEN
:bug#44877
; Package guix
.
Full text available.Received: (at submit) by debbugs.gnu.org; 25 Nov 2020 23:53:47 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Wed Nov 25 18:53:47 2020 Received: from localhost ([127.0.0.1]:37488 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1ki4ba-0000gO-TO for submit <at> debbugs.gnu.org; Wed, 25 Nov 2020 18:53:47 -0500 Received: from lists.gnu.org ([209.51.188.17]:54130) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <tsymsh@HIDDEN>) id 1ki4bY-0000gG-Q1 for submit <at> debbugs.gnu.org; Wed, 25 Nov 2020 18:53:45 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:37040) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <tsymsh@HIDDEN>) id 1ki4bY-0006vq-Ha for bug-guix@HIDDEN; Wed, 25 Nov 2020 18:53:44 -0500 Received: from mail-lf1-x132.google.com ([2a00:1450:4864:20::132]:42704) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from <tsymsh@HIDDEN>) id 1ki4bU-0008Fg-38 for bug-guix@HIDDEN; Wed, 25 Nov 2020 18:53:44 -0500 Received: by mail-lf1-x132.google.com with SMTP id u18so5555356lfd.9 for <bug-guix@HIDDEN>; Wed, 25 Nov 2020 15:53:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=to:from:subject:message-id:date:user-agent:mime-version :content-transfer-encoding:content-language; bh=vNnIVwEtw2eeqrIbWfrLHEN4i2teXUbxOGcOd5bgJkM=; b=YtedDFCICHCrh+uDtPI1ITQigrRrrlz9aPLv2S2qZzHiIq6I/WkvKh4b3JQcW6flzu fKMvnJtTJlUhs8GjiO3nmH7uqk+v94V5aPKRaE/N7RF1AmAwUD735B5iW1rBpgG3Cm1S hLWw9FWYGUbR2Yghs1Ctyg47ThOwD34vo/8SsBe12ZM6R07xSvgpA4lF+k8SriwVgfyN jgj4JHz8eyHMhD8mVMsVbykdHhrTyqay9zV8u6Z8dhULYMvvPfkRpIjlGzxl60GkhTfA zWxR3VuuJpyKAC4j4EqBV2UYJ8aohonCDo5cenGn+xdhD4QJ1VS/0MTSPogeed645xiw pqig== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:to:from:subject:message-id:date:user-agent :mime-version:content-transfer-encoding:content-language; bh=vNnIVwEtw2eeqrIbWfrLHEN4i2teXUbxOGcOd5bgJkM=; b=LYOYYJUjhY+8M/5M6LNhGC5tEyc0HANof91sRtGwEEqhUptmJH/m9zc0cTWkLsXuip atZlL+ceTLjvX0C4riW28172RBMnQyEFlHXU3XJSWxMiAYeBaL/3moNzrX9k8bpuSuDi dWjS/1N46oyMYLNMW3LLu4ctsVv5LQe9ttc7BhWJ2xpjCQ1d+ajyYSXOJOM+ekQp5SXc touNlx/0lvXkR5B0v8+WjjeZuMk7qYrj8ycqt9euus/CVz4XjeM6ZLVUywLLuXEVNHKo LCnzCZF1U5a5oICY1lQ4vG4W7KlzcpnlKcmPfVqr8SE7rumMKGbr24FPImi2ieYNBR+L 1afw== X-Gm-Message-State: AOAM531mXD9GPHZhE6ZGbMlAp7WwglguUWO8aBuAujR38dTJ7hk1nY/2 SMqYrZXgIRfwHdVo2qPx/vy23XSW1xE= X-Google-Smtp-Source: ABdhPJzClMYhMAreSRbOvC3cc5Wk+/LuPFd5cAOGzszm74y2RUR0eX9HQ54EugeWAqosBNDWZySEZg== X-Received: by 2002:ac2:4da1:: with SMTP id h1mr252748lfe.412.1606348417192; Wed, 25 Nov 2020 15:53:37 -0800 (PST) Received: from [192.168.0.142] ([88.201.200.148]) by smtp.gmail.com with ESMTPSA id q10sm98830lfc.25.2020.11.25.15.53.36 for <bug-guix@HIDDEN> (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 25 Nov 2020 15:53:36 -0800 (PST) To: bug-guix@HIDDEN From: Mikhail Tsykalov <tsymsh@HIDDEN> Subject: Root on LVM support Message-ID: <31b2cc61-04ab-6d2b-880e-a22af5677d3f@HIDDEN> Date: Thu, 26 Nov 2020 02:53:36 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.5.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US Received-SPF: pass client-ip=2a00:1450:4864:20::132; envelope-from=tsymsh@HIDDEN; helo=mail-lf1-x132.google.com 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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit 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: -2.3 (--) Guix System in current state can't boot from lvm partition because grub can't find kernel and initrd. This also applies to systems where /gnu/store is on lvm partition. Grub has lvm support in the form of "lvm" module, but it isn't loaded currently. Making grub config generator emit "insmod lvm" before grub starts accessing stuff on /gnu/store (so immediately after initial commit) will fix this.
Mikhail Tsykalov <tsymsh@HIDDEN>
:bug-guix@HIDDEN
.
Full text available.bug-guix@HIDDEN
:bug#44877
; Package guix
.
Full text available.
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.