Bug#394136: LVM root on multiple dm-crypt partitions
Package: partman-crypto
Hi,
I installed rom today's i386 netinst (20061016) with the following
setup:
/dev/hda1 16MB /boot
/dev/hda2 500MB physical volume for encryption
/dev/hdb1 516MB physical volume for encryption
Both crypto partitions were setup for dm-crypt. On the top of these
two partitions LVM was created with one big logical partition for /.
Everything went fine up to the reboot to the new system.
I was asked for the first passphrase, after which the boot process
failed to setup the lvm device (of course, the second partition was
still locked) and I was dropped to the initramfs shell:
Begin: Mounting root file system... ...
Begin: Running /scripts/local-top ...
Volume group "vg" not found
Enter LUKS passphrase:
key slod 0 unlocked.
Command succesfull.
Couldn't find device with uuid 'DZ9wMr-ECxI-boX4-wmr8-v07z-Ni2E-bb30fy'.
Couldn't find all physical volumes for volume group vg.
Couldn't find device with uuid 'DZ9wMr-ECxI-boX4-wmr8-v07z-Ni2E-bb30fy'.
Couldn't find all physical volumes for volume group vg.
Volume group "vg" not found
/scripts/local-top/cryptroot: failed to setup lvm device
Done.
Begin: Waiting for root file system... ...
Done.
Check root= bootarg cat /proc/cmdline
or missing modules, device: cat /proc/modules ls /dev
ALERT! /dev/mapper/vg-ROOT does not exist. Dropping to a shell!
Content of /conf/conf.d/cryptroot:
CRYPTOPTS="target=hdb1_crypt,source=/dev/hdb1,lvm=vg-ROOT"
--
Miroslav Kure
Reply to: