LVM on LUKS cancels installation



I was trying to install a lvm’s on a luks container over the installer-menu, but reaching the ‘setup lvm’ point and choosing ‘create lvg and vg’s’ canceled the whole process and ended me up on desktop again.

Best regards,



Yea a few others have had this issue as well, I’m looking into and have found where the problem is.

Will have a fix out a.s.a.p, thanks for reporting on this it helps a lot finding issues



If you’re willing to change a line or two of code in the installer it can be easily fixed manually

When querying the size of the LV non-digits are getting caught, mucking the math we’ll need to do on it’s size LV_VG_MB=$((VG_SIZE * 1000)), causing an error as you cant multiply <237

Solution is to strip any non-digits from the string defined on Line 1111.

# change this line
VG_SIZE=$(vgdisplay "$LV_VG" | grep 'VG Size' | awk '{print $3}' | sed 's/\..*//')

# to this
# Strip additional non-digits from the string
VG_SIZE=$(vgdisplay "$LV_VG" | grep 'VG Size' | awk '{print $3}' | sed 's/\..*//' | sed 's/[^0-9]*//g')