From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id 4JWEN3kVomGdBAAAgWs5BA (envelope-from ) for ; Sat, 27 Nov 2021 12:24:41 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id WCkZM3kVomF7FgAAbx9fmQ (envelope-from ) for ; Sat, 27 Nov 2021 11:24:41 +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 59C9434EA6 for ; Sat, 27 Nov 2021 12:24:41 +0100 (CET) Received: from localhost ([::1]:54216 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mqvou-0008JM-GV for larch@yhetil.org; Sat, 27 Nov 2021 06:24:40 -0500 Received: from eggs.gnu.org ([209.51.188.92]:57422) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mqvoh-0008JC-Us for help-guix@gnu.org; Sat, 27 Nov 2021 06:24:28 -0500 Received: from pelzflorian.de ([5.45.111.108]:59988 helo=mail.pelzflorian.de) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mqvog-0005Un-57 for help-guix@gnu.org; Sat, 27 Nov 2021 06:24:27 -0500 Received: from pelzflorian.localdomain (unknown [5.45.111.108]) by mail.pelzflorian.de (Postfix) with ESMTPSA id 0AE223606B4; Sat, 27 Nov 2021 12:24:23 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=pelzflorian.de; s=mail; t=1638012263; bh=Bl83n/nVstSXJ1mqqH/xabZVNqR+iEpVyZbOATHDPoo=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=kQ33fefots52iaLdS97NRJLjRlE5sn+WmIHEJlkd554Kc26K1wFjQi/XAQQk61AW9 5j5CvcTKf/dwjzjqEHq+BIxC5wTB0/bpYgHl0oWHJ+OPzDL59kYPxmV85q0zAMeJtJ QQ11AdJlZ9wnwYU7lyiAlOrND3DGfk4eX23HCnyk= Date: Sat, 27 Nov 2021 12:24:15 +0100 From: "pelzflorian (Florian Pelz)" To: David Lecompte Subject: Re: Install Guix System in a logical volume Message-ID: <20211127112343.d3dlqfxtkead2og2@pelzflorian.localdomain> References: <0f0a207a2ae90b5c258ae660d9d2e69ea9cd9c31.camel@metani.info> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <0f0a207a2ae90b5c258ae660d9d2e69ea9cd9c31.camel@metani.info> Received-SPF: pass client-ip=5.45.111.108; envelope-from=pelzflorian@pelzflorian.de; helo=mail.pelzflorian.de 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, SPF_HELO_NONE=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=1638012281; 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: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=WCxqZdGh5w5UrJ3a7x9AWoVLJdVPgCxyPLDMMFmn7hQ=; b=uopq0a/N4TWdvbHO0P/8zpsOiDLZ1yKdr5GUbnIQkJSGszRxP1HFJHoAtaHhtxl+7lfchj 9Novrazf50PBV54cD5hlhXQqit2/1sUfquzf84tm0CC7z+I2dSCGK+IhdGBq1c4YW/AXzy p+k6G61R/BLneZQsztoIf/+Hrj/nJ9VMcvmTyb4DG1i5dY3XhZsrPJBWZOxCr2E0diuPDT Pa1oLKz6eI2Vf/biLNqF3XWUfgiTl93x/dzsXAv8PozyJzizlAwnTrr4aF5zRqEz3KNG10 h8Iz6qSsaEURaaNf+U44Koj5n/b7Cno+JZzlb/o9PSFghWYEG1blOhYMpPn3pQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1638012281; a=rsa-sha256; cv=none; b=dO6fIgDDXFytDhUNxokpC9ZcfWg1NODfiqWr1mtMJusTtRUzVW+3Cq2sTNW5nM6s3ofJUZ raC6cM4pJ6S2LDCy/26Xbk2Q2lQeKOlZ6urWGUNdvmFEEMg+XxfuiHyA8Wo7ffl7H7iYHa fZJcRqoWhZSfKMvNYHRb7yvIfITjvJJ8naAGVM86XTznH8Fr2dL8aUx78KPJLq6QQSv4uR UO64FxVziEHKIuE3yL1ThVYrKUYd6aTeBRYQ1pQd2k6mBEAklKYB8Fbfqb4EPh3gYQMMGC 7f1sPhKvRTAw8H/+XXY4w7P98szfKoY/6mi+KIuSO9QO5mPzek4an2nuwlzcQQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=pelzflorian.de header.s=mail header.b=kQ33fefo; 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: -1.91 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=pelzflorian.de header.s=mail header.b=kQ33fefo; 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: 59C9434EA6 X-Spam-Score: -1.91 X-Migadu-Scanner: scn0.migadu.com X-TUID: hJYJweu9TfsF 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? I shouldn’t answer in a hurry. As of November 2021, the GNU Guix repo contains a file gnu/tests/install.scm which contains a line ;; Since LVM support in guix currently doesn't allow root-on-LVM we use /home on LVM In theory it would be possible though. It seems the grub package in Guix supports LVM2 (you can see it in the code when running `guix edit grub`). So first you would need to adapt the grub.cfg of Guix System to insmod lvm like Debian does and copy the search line from Debian’s grub.cfg. That you would either do manually every time you run `guix system reconfigure` to upgrade the system, or you would need to adapt the grub bootloader script in Scheme. Now you want to keep your old bootloader on your /boot partition and chainload from it the Guix LVM root partition. Is that possible? I don’t know. This is getting too finicky. Don’t do it. Regards, Florian