From: "pelzflorian (Florian Pelz)" <pelzflorian@pelzflorian.de>
To: David Lecompte <david.lecompte@metani.info>
Cc: help-guix@gnu.org
Subject: Re: Install Guix System in a logical volume
Date: Sat, 27 Nov 2021 12:24:15 +0100 [thread overview]
Message-ID: <20211127112343.d3dlqfxtkead2og2@pelzflorian.localdomain> (raw)
In-Reply-To: <0f0a207a2ae90b5c258ae660d9d2e69ea9cd9c31.camel@metani.info>
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
next prev parent reply other threads:[~2021-11-27 11:24 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-11-24 21:15 Install Guix System in a logical volume David Lecompte
2021-11-26 4:37 ` pelzflorian (Florian Pelz)
2021-11-26 4:41 ` pelzflorian (Florian Pelz)
2021-11-28 0:24 ` Denis 'GNUtoo' Carikli
2021-11-27 11:24 ` pelzflorian (Florian Pelz) [this message]
2021-11-28 0:37 ` Denis 'GNUtoo' Carikli
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20211127112343.d3dlqfxtkead2og2@pelzflorian.localdomain \
--to=pelzflorian@pelzflorian.de \
--cc=david.lecompte@metani.info \
--cc=help-guix@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.