@Colin Watson: Your tip works only halfway. Setting up the partition as "physical volume for encryption" makes it visible to the installer as an encrypted partiton, then going into "Configure encrypted volumes" and choosing "Finish" asks for the passphrase. The problems start there...
The passphrase is asked twice, as if the installer wants to initilialize the crypt partion instead of merely opening the existing crypted data in the partition. Back in the main manual partitioning menu, the encrypted partition in shown to be formatted as an ext4 filesystem. The partiton *should* contain a LVM physical volume. Even setting the encrypted partition to LVM does not work, as the previous content (one volumegroup named "system" containing several logical volumes) is not recoverable. Please see attached screenshot "cryptpart-wrong.png". Workaround: ========== * Run the installer until asked to choose a name for the system. Do not enter it yet! * Change to virtual console 2 (Alt-F2) and press Enter to activate it. * Enter "cryptsetup luksOpen /dev/sda5 sda5_crypt" and enter correct passphrase. * Enter "vgscan", system should detect LVM VG in PV /dev/sda5_crypt. * Enter "vgchange -ay" to activate the VG and getting access to the LVs in the VG. * Change back to virtual console 1 running the installer (Alt-F1). * Choose a system name. * Choose "Manual" as partitioning method. * You should see the decrypted partition containing the LVM VG and the LVs. But note that /dev/sda5 is still not shown as an encrypted partition! Please take a look at "cryptpart-almostright.png". ** Attachment added: "Screenshot of installer after having reinitialized a crypted partition" https://bugs.launchpad.net/ubuntu/+source/debian-installer/+bug/285890/+attachment/1870379/+files/cryptpart-wrong.png -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/285890 Title: Does not show encrypted partition -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
