hey, On 03/09/2009 Linus Lüssing wrote: > Yes, I'm having the same problem here. I updated cryptsetup yeseterday to > 2:1.07-2 and now I can't boot my usual 2.6.30-1-amd64 anymore. > My other kernels on this machine seem unaffected, just my usual > kernel-image does not boot. So I can select/boot 2.6.30-1-686, > 2.6.29-2-amd64 or 2.6.29-2-686 with grub-pc for example.
please try the attached (yet untested) patch, and see whether that fixes the bug for you. you'll need to update the initramfs after applying the patch. greetings, jonas
--- /usr/share/initramfs-tools/hooks/cryptroot.orig +++ /usr/share/initramfs-tools/hooks/cryptroot @@ -301,6 +301,15 @@ dev=$(readlink -e "$dev") fi + if [ "x${dev%/dev/dm-*}" = "x" ]; then + # try to detect corresponding symlink in /dev/mapper/ + for dmdev in /dev/mapper/*; do + if [ "$(readlink -e "$dmdev")" = "$dev" ]; then + dev="$dmdev" + fi + done + fi + altdev="${dev#/dev/mapper/}" if [ "$altdev" != "$dev" ]; then echo "$altdev"
signature.asc
Description: Digital signature