use entire disk with lvm/encrypted partitioning fails to boot
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cryptsetup (Ubuntu) |
Fix Released
|
High
|
Martin Pitt | ||
pkgsel (Ubuntu) |
Fix Released
|
Undecided
|
Martin Pitt |
Bug Description
Binary package hint: debian-installer
Gutsy 20070924 alternate CD. I chose the "use entire disk with lvm/encrypted" partitioning option. The installation process went fine, but the system does not boot. After 60 seconds I get an initramfs prompt. /dev/mapper/ is empty (except for control).
Since this mode has /boot on a normal partition (/sda1 here), and a luks-encrypted second partition (sda5) which contains the LVM with swap and root, this has to be unlocked first:
(initramfs) cryptsetup luksOpen /dev/sda5 mylvm
this creates /dev/mapper/
It is a bit inconvenient that later in the boot process (at /etc/init.
description: | updated |
Changed in cryptsetup: | |
importance: | Undecided → High |
Moving to cryptsetup, since this is a bug in cryptsetup's initramfstools hooks.