ISO: pureos-8.0-gnome-live_20190504-amd64.hybrid.iso
Calamares: 3.2.7
State before beginning installation:
Device Boot Start End Sectors Size Id Type /dev/nvme0n1p1 2048 524290047 524288000 250G 83 Linux root@pureos:~# blkid /dev/nvme0n1p1 /dev/nvme0n1p1: UUID="f87cbc1a-fdb3-4ff8-b135-e7da1a639629" LABEL="pureos" TYPE="crypto_LUKS" PARTUUID="de043f60-01"
Case 1)
LUKS not opened:
root@pureos:~# ls /dev/mapper control
Select manual partitioning.
No option in installer to open the existing LUKS volume, only to replace/format or delete it.
Case 2)**
LUKS opened manually on command line, existing LVM VG and LVs to install onto
root@pureos:~# cryptsetup open /dev/nvme0n1p1 nvme0n1p1 Enter passphrase for /dev/nvme0n1p1: root@pureos:~# ls /dev/mapper/ control nvme0n1p1 pureos-pureos--home pureos-pureos--root pureos-pureos--swap
Select manual partitioning.
Installer shows /dev/nvme0n1p1 as LVM PV even though it is clearly a LUKS volume and /dev/mapper/nvme0n1p1 is the PV.
Select storage device "pureos (/dev/pureos)" from drop-down.
Configure the 3 existing LVs for /, /home and swap (Edit -> Format ->...).
There is no way to specify the order in which you want them to be placed (creation order doesn;t matter, it places them... whereever)
Continue with installation.
Installer says it will "Delete partition /dev/pureos/pureos-root", etc. even though it is a LVM Logical Volume and not partition and it doesn't need to delete the LVs, just format them.
Continue with installation.
Throws error:
The installer failed to delete partition /dev/pureos. ========================================================================================== Delete partition ‘/dev/pureos/pureos-root’ (25.00 GiB, unknown) ========================================================================================== ========================================================================================== Job: Delete file system on ‘/dev/pureos/pureos-root’ ========================================================================================== ========================================================================================== Job: Delete the partition ‘/dev/pureos/pureos-root’ ========================================================================================== ========================================================================================== Command: lvm lvremove --yes /dev/pureos/pureos-root ========================================================================================== Volume group "pureos" not found Cannot process volume group pureos
The LUKS volume is clearly closed:
root@pureos:~# ls /dev/mapper/ control
If I reopen it, the LVs are still there:
root@pureos:~# cryptsetup open /dev/nvme0n1p1 nvme0n1p1 Enter passphrase for /dev/nvme0n1p1: root@pureos:~# ls /dev/mapper/ control nvme0n1p1 pureos-pureos--home pureos-pureos--root pureos-pureos--swap
Case 3)
as case 2, but only LVM VG installing alongside existing LVs:
Before installation:
root@pureos:~# lvs LV VG Attr LSize Pool Origin Data% Meta% Move Log Cpy%Sync Convert existing-test pureos -wi-a----- 25.00g
Select /dev/pureos from "Storage device" drop-down as before.
Select "Free space", click "Create".
Installer erroneously reports "Partition Type: GPT" even though this is a LVM LV.
Proceed with installation.
Installer throws error:
The installer failed to create partition on disk 'pureos'. ========================================================================================== Create a new partition (31.00 GiB, ext4) on ‘/dev/pureos’ ========================================================================================== ========================================================================================== Job: Create new partition on device ‘/dev/pureos’ ========================================================================================== ========================================================================================== Command: lvm lvcreate --yes --extents 7936 --name root pureos ========================================================================================== Volume group "pureos" not found Cannot process volume group pureos
LUKS volume is closed, same as case 2, when reopened, all is unchanged:
root@pureos:~# ls /dev/mapper/ control nvme0n1p1 pureos-existing--test