Calamares crashes when using LVM

Bug #2048470 reported by Hadmut Danisch
18
This bug affects 3 people
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

Revision history for this message
Aaron Rainbolt (arraybolt3) wrote :

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.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in calamares (Ubuntu):
status: New → Confirmed
Changed in calamares (Ubuntu):
importance: Undecided → High
Revision history for this message
Hadmut Danisch (hadmut) wrote :

Actually, I have used Xubuntu for installation now and then installed lubuntu-desktop.

Revision history for this message
Dan Simmons (kc2bez) wrote :

This upstream bug might also be relevant https://github.com/calamares/calamares/issues/1132

Changed in calamares:
status: Unknown → New
summary: - Lubuntu 23.10 calamares installer crashes during installation
+ Calamares crashes when using LVM
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.