Calamares crashes when using LVM
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Calamares |
New
|
Unknown
|
|||
calamares (Ubuntu) |
Confirmed
|
High
|
Unassigned |
Bug Description
Hi,
I was just trying to install another machine (32GB RAM, 1TB nvme ssd, Core i5-6200U), absolutely fresh nvme ssd (just replaced an old one), all zeros, with Lubuntu 23.10, using it's official installation image and calameras installer.
In contrast to my usual installation, I've chosen the manual installation instead of just using the full disk, since I wanted to have an encrypted disk with several LVM partitions inside (for LXD and other uses).
Therefore
- chose manual partition
- created new partition table (GPT)
- created an 800MB FAT32 Partition (set boot label)
- created an lvm2-pv partition from all the remaining free space and checked "encryption". It asks for the password and creates it
- created a new volume group with the function button, selected the lvm-physical volume just created, gave it a name, pressed OK
- calamares then completely crashes here, reproducibly, every time. For a fraction of a second, it shows a little new, but empty windows, and then it's all gone.
This should really be fixed for Ubuntu 24.04, since applications like LXD and other virtualization methods do run much better with their own partition logic instead of just using a regular directory.
regards
Changed in calamares (Ubuntu): | |
importance: | Undecided → High |
Changed in calamares: | |
status: | Unknown → New |
summary: |
- Lubuntu 23.10 calamares installer crashes during installation + Calamares crashes when using LVM |
I think the LVM stuff is broken sadly (it's broken in the last 24.04 Calamares I tried, though in a different way than you describe). We definitely want to look into this. In the mean time, you might be able to do a manual install of Lubuntu into just the first portion of the drive and leave the balance of the drive unallocated, then run updates, then finish partitioning with your desired LVM setup. It's far less than ideal since you won't be able to put your whole installation into an LV with this, but it might work as a stop gap.