From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id qCe6L+TPomGvIgAAgWs5BA (envelope-from ) for ; Sun, 28 Nov 2021 01:40:04 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id uJRzK+TPomEdGgAAB5/wlQ (envelope-from ) for ; Sun, 28 Nov 2021 00:40:04 +0000 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 59228DE9 for ; Sun, 28 Nov 2021 01:40:04 +0100 (CET) Received: from localhost ([::1]:39040 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mr8Ed-0002Kr-GW for larch@yhetil.org; Sat, 27 Nov 2021 19:40:03 -0500 Received: from eggs.gnu.org ([209.51.188.92]:37888) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mr8CT-0001xl-MR for help-guix@gnu.org; Sat, 27 Nov 2021 19:37:49 -0500 Received: from cyberdimension.org ([80.67.179.20]:39966 helo=gnutoo.cyberdimension.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_CHACHA20_POLY1305:256) (Exim 4.90_1) (envelope-from ) id 1mr8CR-0000Pu-Gz for help-guix@gnu.org; Sat, 27 Nov 2021 19:37:49 -0500 Received: from gnutoo.cyberdimension.org (localhost [127.0.0.1]) by cyberdimension.org (OpenSMTPD) with ESMTP id 64b8ccdd; Sun, 28 Nov 2021 00:37:11 +0000 (UTC) Received: from primary_laptop (localhost.localdomain [::1]) by gnutoo.cyberdimension.org (OpenSMTPD) with ESMTP id 56640459; Sun, 28 Nov 2021 00:37:11 +0000 (UTC) Date: Sun, 28 Nov 2021 01:37:47 +0100 From: Denis 'GNUtoo' Carikli To: "pelzflorian (Florian Pelz)" Subject: Re: Install Guix System in a logical volume Message-ID: <20211128013747.36e81232@primary_laptop> In-Reply-To: <20211127112343.d3dlqfxtkead2og2@pelzflorian.localdomain> References: <0f0a207a2ae90b5c258ae660d9d2e69ea9cd9c31.camel@metani.info> <20211127112343.d3dlqfxtkead2og2@pelzflorian.localdomain> X-Mailer: Claws Mail 4.0.0 (GTK+ 3.24.24; i686-pc-linux-gnu) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/fVUvwbj9jTfprcTnbQZERuQ"; protocol="application/pgp-signature"; micalg=pgp-sha256 Received-SPF: pass client-ip=80.67.179.20; envelope-from=GNUtoo@cyberdimension.org; helo=gnutoo.cyberdimension.org X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-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: , Cc: help-guix@gnu.org Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1638060004; 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:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post; bh=n7I49O93gKGKhQrVOXP+c8FEVpohT7T6Fs3cpN+w2sI=; b=AwXg943bhb11eUwhdlz4ycyF5g5GJRs6U0IcIdUTy1IhvwyxM2fIvrWpsYJvy74EhIKKr4 ZZH/E/13nDsqw4hPI9gOaE8vfgy/3qdqibEAn8O3WOf2OZuzmhlT6k9rxfv+IRsvYYb99G cFu6LgM/oSwa9ILV9jdvSu0zIu8RJMmzMiTigl2bJD3wh911EQIqk/SnyLgYGxZ8a892/T sGnquPEiuvctZ5ci33/cSIBDtyb9ibKMHJnIkDT8/WB6nWd+E/FiJSBVGz48AhxzJC+Reo 8zp1pvqNXSaXgColTkTTc7e+FnKqJlFWHLLZ06S/onOr57619X2K1UOQ6jgPBA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1638060004; a=rsa-sha256; cv=none; b=i+CK0+QJuMe3vOyd8FgsB8qei1fj3wYkB4f9iaBdh4XydT5MFp0bIy2doSvDENo9CNhURW /f/b7Vw0VJTTkyIIIOn1whx7aO4qskYRFIf21puT5eZm0WYVzLGqk0FpKxSxR4ZJt0M9ct Up4qaU5nS9WgN6JRoNZyJUck6s8dbOj87T4dd1PZC2Ex61iU6bhfb/4E+Qciy6IvSN+pK0 fwzYYmSGGLsumUiu4cC0RNxkhu//g3uxvlbwEEPL15m7UAp8tDgdZIxY3LUD6xrntjHWwi dko+UU2Zjj+JhhplxNQHAD5b32e6SgNsMsvdwkgPdsZtQs6fTcF9Y35LBIoa6Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; 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" X-Migadu-Spam-Score: -4.51 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; 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" X-Migadu-Queue-Id: 59228DE9 X-Spam-Score: -4.51 X-Migadu-Scanner: scn0.migadu.com X-TUID: cUmYTbQytV4L --Sig_/fVUvwbj9jTfprcTnbQZERuQ Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Sat, 27 Nov 2021 12:24:15 +0100 "pelzflorian (Florian Pelz)" wrote: > On Wed, Nov 24, 2021 at 09:15:05PM +0000, David Lecompte wrote: > > Can I install Guix System with the whole root file system (including > > /boot) in a new logical volume that I create in the same volume > > group? =20 >=20 > I shouldn=E2=80=99t answer in a hurry. As of November 2021, the GNU Guix= repo > contains a file gnu/tests/install.scm which contains a line >=20 > ;; Since LVM support in guix currently doesn't allow root-on-LVM we > use /home on LVM >=20 > In theory it would be possible though. I'm writing this mail from a Guix system running from a roottfs in an ext4 partition that is in an lvm partition. The LVM physical volumes (PV) are encrypted with LUKS. If I recall well the limitation with LVM2 comes from the fact that there is no (standard) way to make the grub image generated by Guix support LVM2 and LUKS. In my case GRUB isn't handled by Guix and the grub image I use was built with LVM2 and LUKS support, and that works fine for me. Here's part of my system.scm for the machine that boots on an LVM rootfs: > (define %lvm-vg > (list > (mapped-device > (source (uuid "abcdef12-abcd-1234-abcd-1234abcd1234")) > (target "internal-cleartext") > (type luks-device-mapping)) > (mapped-device > (source "my_vg_name") > (targets (list "my_vg_name-guix32")) > (type lvm-device-mapping)))) [...] > (define %guix32-rootfs > (file-system > (device "/dev/mapper/my_vg_name-guix32") > (mount-point "/") > (type "ext4") > (dependencies %lvm-vg))) [...] > (mapped-devices %lvm-vg) [...] > (file-systems (append (list > %guix32-rootfs [...] Denis. --Sig_/fVUvwbj9jTfprcTnbQZERuQ Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEeC+d2+Nrp/PU3kkGX138wUF34mMFAmGiz1wACgkQX138wUF3 4mNFDQ//Vl7QPpA2Q9W3eddcJAlQ1FF/57nIktk2nZqK5D2AZH69a3o+UuFkWt5f z31oF1Q4lmNL0mPGfc3wFcQyxm3u4Y+w6onPmDAtS9fphHvsEwicRrUSdwY/cwcF MasvC4exY3zMZrdHV6fYbqFXIHmvQzt2how+QjiskOems4YzsBSgq3zEBcd75Dgo w72LUSua87QZwewb7CRIu9mKJodSoFXt2c6FbuL/zJfBlsxVOeFDTX/Mq2n5JfjQ AbG8Ppg8FzRJ1UKimPRU2004XOuOSyDbZ+8tiHdoX7lIX13zWS0LcwHelp+WyEaT +ibMLBqMHSxOzQX5FSa8I8xahF/3J2AKGXL9nG1kTTZTLWBYirCg0DrjLLTlKW47 Iif1JKkwWCgYe1+nxa4bKlEpy2JMLLo3Cpc7pXXiUFjPdtlj53/I8qflES6qbd/M jOcdjsn0E/sbQCz8B//vCmGxw6+hvSP7t0cxB8cJfgsF8ub60o8+sOO2lWV7MWvB Pyfe0iyDXEsfmsDuQBqkNk7bIs1EUcvvZCeehee9nO/mXkIt50sG0dBnGqHh5YF9 f+f1CKKDxfrFe+dTQtc8zFSUtriKLqGYYSHOlZWbGH+J91XEWLBr2xOwY0SHQt07 ScDvoLhFIX6bgrBy1cRDgd8rRlwGcRtVpbQ6JUPYWbMrAZK+wLo= =yOSU -----END PGP SIGNATURE----- --Sig_/fVUvwbj9jTfprcTnbQZERuQ--