From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id SM8fFNBKHGTlZQEASxT56A (envelope-from ) for ; Thu, 23 Mar 2023 13:49:20 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id cGoMFNBKHGR6pwAA9RJhRA (envelope-from ) for ; Thu, 23 Mar 2023 13:49:20 +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 137893A68F for ; Thu, 23 Mar 2023 13:49:19 +0100 (CET) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=nkBfz7Yw; 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=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1679575760; 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=6K4nx2aBuMp0k7wAFlXjb0WR+7ZyQPN3BJ1cVIV6Qi0=; b=iold61CpVI/jlOBik2Toy94JRHDLizE49TnZs1zPl1MDLy75I08xGZBu23lhGgnI9EZnVC tGUPAfbpl1LCpNY2X1bfu8yxykqeDqs7UMNkbwJOOsnSbqdfVfLNhrn+2aio7GlF00xIcZ OFm9PeYKdwMvr2GQ/my7ww2o6jfB927DufHYLpqmAm1ChkheA+UfnrnPgvk1ULY6EhgYmK 3zT6RhS0aEXIjNr/1k2RtgS6HMVGg0V95rROiFX4VRbTcruvIdjfCTJtBee5dk5tkfVts/ oLOKDgXZESugFmX3ILFMwqQC57kj8nGoTFf4OGi/YM73Mckd+Qz/Q/bSX47d9A== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1679575760; a=rsa-sha256; cv=none; b=PgipEnK5QVaSNR4l/QpVwxp+H03oNrc3/Mz1BEKJBq3Wfu8tD37GpLEcxzbEFcJClfBdIa HYFdQ14+d7e7kgomws/x0GFxDZfOXF+yylSv9MFxOlx3nXJETcVolss4KICNhxVreteq9x 106CC/IjJPCj4xf2fW8VRQC+asJIc0OotNGCFaG4VaXnk8oCXjUVwyoA5ZSLSEK/nYbWyS POnryJJ7pMUu7uOWE7LeqMbszkFMJcPdcJj8BbotnMjsB/wDYZa7Znoy+h4Y+22mvsA7vZ KNuY4TSQoDrgOVHF0W0GA8EHd1/Nch4b3nAIP50vKErMelOsExI0bOxzvzQOyg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=nkBfz7Yw; 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=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pfKNM-0004pD-Fb; Thu, 23 Mar 2023 08:49:04 -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 1pfKNK-0004oq-Qa for bug-guix@gnu.org; Thu, 23 Mar 2023 08:49:02 -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 1pfKNK-0004am-IN for bug-guix@gnu.org; Thu, 23 Mar 2023 08:49:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pfKNK-0006Hh-Eo for bug-guix@gnu.org; Thu, 23 Mar 2023 08:49:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#44877: bug#62140: enable LVM in Grub Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Thu, 23 Mar 2023 12:49:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 44877 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Emmanuel Beffara Cc: 62140@debbugs.gnu.org, Michael Rohleder , 44877@debbugs.gnu.org Received: via spool by 44877-submit@debbugs.gnu.org id=B44877.167957573624137 (code B ref 44877); Thu, 23 Mar 2023 12:49:02 +0000 Received: (at 44877) by debbugs.gnu.org; 23 Mar 2023 12:48:56 +0000 Received: from localhost ([127.0.0.1]:37479 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pfKND-0006HF-Lf for submit@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 ) 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 References: <20230311190206.GD20567@beffara.org> <87sfe8n4ao.fsf@rohleder.de> <20230314222628.GE14391@beffara.org> Date: Thu, 23 Mar 2023 08:48:46 -0400 In-Reply-To: <20230314222628.GE14391@beffara.org> (Emmanuel Beffara's message of "Tue, 14 Mar 2023 22:26:28 +0100") Message-ID: <87v8ireiq9.fsf@gmail.com> 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-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: 137893A68F X-Spam-Score: -1.94 X-Migadu-Spam-Score: -1.94 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: 8oPf/LAdcLVX Hi, Emmanuel Beffara 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