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? > > 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. 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.