Comment 0 for bug 144390

Revision history for this message
Martin Pitt (pitti) wrote :

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/{mylvm,ubuntu-root,ubuntu-swap_1} properly. Now I can leave the initramfs shell, and booting continues.

It is a bit inconvenient that later in the boot process (at /etc/init.d/cryptdisks time, I assume) I am asked for the luks password for sda5 a second time. After entering it, boot finishes successfully.