Problems with Luks and LVM

Bug #1074653 reported by Renegade22
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
ubiquity (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

I have following configuration (Desktop): (ubuntu64)

/dev/sdd2 ext4 -> /boot
/dev/sdd1 extended
/dev/sdd5 LUKS Encryption
/dev/mapper/sdd5_crypt LVM2 -> /dev/SSD
/dev/sdc1 LUKS Encryption
/dev/mapper/sdc1_crypt LVM2 -> /dev/Private
/dev/sdb1 extended
/dev/sdb5 LUKS Encryption
/dev/mapper/sdb5_crypt LVM2 -> /dev/Private

/dev/SSD/Home ext4
/dev/SSD/System ext4
/dev/Private/Documents ext4

sdc1_crypt and sdb5_crypt can be unlockt via a derived key from sdd5_crypt.

This was always hard to set up under ubuntu especially /etc/crypttab wasn't creating itself. But with the alternat insatller it was possible to set up Linux this way. With the new isntaller in 12.10 it doesn't work anymore. I needed to go back one release and update, but this makes my system Instabil.
Once I tried the Fedora Installer, it recognized all of my LUKS Devices and LVMs and displayed them in a way one can understand it. Even easier then the alternate installer in 12.04. The Installer even created /etc/crypttab with
# sdb5_crypt UUID=xxx sdd5_crypt luks,keyscript=/lib/cryptsetup/scripts/decrypt_derived
which I allways hat to create manually in Ubuntu after the Installation was done.

So with 12.10, even if I get the encrypted volumes to work with the installer (thats not easy) the installed Ubuntu afterwards wont start.
At least the functionality of the alternate installer for 13.04 would be nice, but even nicer would be an installer as easy as the fedora one for crypt+lvm.

I have following configuration (Netbook): (ubuntu32)

/dev/sda1 ext4 -> /boot
/dev/sda2 extended
/dev/sda5 LUKS Encryption
/dev/mapper/sda5_crypt LVM2 -> /dev/netbook

/dev/netbook/System ext4
/dev/netbook/Home ext4

With this configuration I couldn't even unlock the encrypted volume to get to the LVM to mount one of my drives "System" or "Home". This also was set up using the alternate installer and now its not possible to make a clean installation with 12.10 (which I would because upgrade broke my wireless, just a fact on the side).

Hopefully this confiuration details can help you reproducing my bugs.

Revision history for this message
Dimitri John Ledkov (xnox) wrote :

You can get the alternate installer back if you boot via mini.iso. See https://help.ubuntu.com/community/Installation/MinimalCD

Revision history for this message
Renegade22 (robert-meier-gmx) wrote :

@Dmitrijs
Thx for the workaround.

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

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

Changed in ubiquity (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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