--- /boot/initrd-tree/init 2007-04-17 23:18:59.000000000 +0200 +++ init 2007-05-26 22:54:54.000000000 +0200 @@ -82,6 +82,10 @@ /sbin/vgchange -ay fi +# Make encrypted partitions available: +# The useable device will be under /dev/mapper/ +until /bin/cryptsetup -y luksOpen ${ROOTDEV} root; do :; done + # Switch to real root partition: echo 0x0100 > /proc/sys/kernel/real-root-dev mount -o ro -t $ROOTFS $ROOTDEV /mnt