When root volume is in LVM over two encrypted partitions, only one is decrypted at startup

Bug #290115 reported by Adam Greig
20
This bug affects 3 people
Affects Status Importance Assigned to Milestone
debian-installer (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

I installed (K)Ubuntu 8.10 via the Alternate disk and manually configured partitions so that there would be two encrypted partitions on two hard drives. The encrypted space on both was then set as volume for LVM, and LVM then made one volume group out of the two physical partitions. The root partition was then created in the logical group, so to access it both physical partitions must be decrypted.
However, only one of the two partitions has a prompt for the passphrase for decryption at boot, and the other is not decrypted. Boot then attempts to mount the root filesystem, which is obviously impossible as the volume group doesn't yet exist.
Eventually I am dropped into a busybox shell from where I can manually decrypt the second partition using cryptsetup luksOpen /dev/sdb2 sdb2_crypt and enter the passphrase. The volume group then exists, and if I exit the busybox shell the system boots as normal and works fine.

Essentially the boot up sequence needs to check if two or more partitions are required to make up the volume group that root is in, then ask for the decryption passphrase for all of them if required.

Revision history for this message
Christian Tschabuschnig (tschaboo) wrote :

I'm certain that this is Bug #282189. I will mark this bug as a duplicate.

Revision history for this message
Christian Tschabuschnig (tschaboo) wrote :

I just saw that this bug would be hidden from the default bug listing when searching, so i won't mark is as a duplicate, since this bug is much easier to find than the other one since it says something about the symptoms, not the cause.

Changed in debian-installer:
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.