Is there a way to install clear linux on LVM partition?

Can I install CLear Linux on LVM partition?

short answer: No, the rootfs should be in a raw partition.

long answer: You can add LVM partition to CL.

As an example, my setup is as follow:

NAME                                          MAJ:MIN RM   SIZE RO TYPE  MOUNTPOINT
nvme0n1                                       259:0    0 238.5G  0 disk  
├─nvme0n1p1                                   259:1    0   512M  0 part  
├─nvme0n1p2                                   259:2    0   512M  0 part  
├─nvme0n1p3                                   259:3    0    40G  0 part  
│ └─luks-8796afd4-111b-44d8-8f61-dc9424d5695d 252:0    0    40G  0 crypt /
└─nvme0n1p4                                   259:4    0 197.5G  0 part  
  └─lvm                                       252:1    0 197.5G  0 crypt 
    ├─clr-home                                252:2    0   115G  0 lvm   /home
    ├─clr-win                                 252:3    0    60G  0 lvm   
    ├─clr-fedora                              252:4    0   6.5G  0 lvm   
    └─clr-swap                                252:5    0    16G  0 lvm   [SWAP]

Here you can see /boot (ESP) at p1, / at p3 which is an encrypted partition (the rootfs), and p4 as another encrypted partition, and inside it a LVM.

1 Like

Thank you very much! :smile: