Installer: Destructive Behaviour When Using Prepared LVM Volumes on LUKS

Manjaro version: manjaro-xfce-20.0.3-200606-linux56.iso

Wanted to go for a custom partioning:

  • 2 harddisks in Proxmox VM (QEMU, 2GB RAM, 2 cores).
  • Harddisks should be LUKS encrypted and use LVM on top for flexibility.
  • Harddisk #1: GPT; 8MB BIOS BOOT; 32 GB LUKS > LVM VG vg1 > volumes: 27GB lvol1 / ext4, 5GB lvol2 swap
  • Harddisk #2: GPT; 500GB LUKS > LVM VG vg2 > volumes: 500GB lvol3 /home ext4

Before Installer:

[manjaro ~]# lsblk
sda               8:0    0    32G  0 disk  
├─sda1            8:1    0     8M  0 part  
└─sda2            8:2    0    32G  0 part  
  └─sda2-crypt  254:0    0    32G  0 crypt 
    ├─vg1-lvol1 254:1    0    27G  0 lvm   
    └─vg1-lvol2 254:2    0     5G  0 lvm   
sdb               8:16   0   500G  0 disk  
└─sdb1            8:17   0   500G  0 part  
  └─sdb2-crypt  254:3    0   500G  0 crypt 
    └─vg2-lvol3 254:4    0   500G  0 lvm   

Installer:

  • Used manual partioning
  • Assigned mount points for volumes lvol1 as / with ext4, lvol2 as swap and lvol3 as /home with ext4.
  • Marked all to be formatted accordingly.
  • When continuing, the installer killed the LUKS partition including volumes lvol1 to lvol3 and failed to format them of course.

After Installer:

[manjaro ~]# lsblk
NAME   MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT
sda      8:0    0    32G  0 disk 
├─sda1   8:1    0     8M  0 part 
└─sda2   8:2    0    32G  0 part 
sdb      8:16   0   500G  0 disk 
└─sdb1   8:17   0   500G  0 part 

Error message:
grafik

This observation fits into the picture that the installer is very sensible if not shaky, when multiple drives are involved in the installation. Any correction of a drive even without going back to a previously assigned hard drive breaks the installer and it end always with formatting issues.

The manual HD configuration with more than one drive needs a serious review to fix this problematic behavior.

Calamares is a distribution independent installer used by many distributions.

Please report issues at the Github issue tracker.

This is not supported!

You can find more issues regarding lvm or luks.

In general LVM is .. I'll just say "not our cup of tea" and something we would have to bring up with at the KPMCore level; We think we have enough trouble at other partitioning / FS levels in Calamares not to want to jump all over something even more complicated.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.

Forum kindly sponsored by