found bugnumber 362564 thanks Hi David and Jonas,
Sorry I did not respond earlier when there where updated scripts available. (Busy with work and university stuff). Thanks for adding the support for initramfs lvm-on-cryptroot to cryptsetup. I just upgraded and found to little bugs. First of all the lvm option is not saved in the hook script. After I fixed that it still would not work for me because I actually have *lvm2-on-cryptroot* and fstype gives FSTYPE=lvm2 on my machine. I have included two small patches which should fix this and took the liberty to reopen the bug for now. Greetings Arjan p.s. If you have anymore questions/remarks I will try to respond more quickly.
diff -Naur cryptsetup-1.0.3.orig/debian/initramfs-cryptroot-hook cryptsetup-1.0.3/debian/initramfs-cryptroot-hook --- cryptsetup-1.0.3.orig/debian/initramfs-cryptroot-hook 2006-05-24 02:25:35.000000000 +0200 +++ cryptsetup-1.0.3/debian/initramfs-cryptroot-hook 2006-05-24 02:27:21.000000000 +0200 @@ -79,6 +79,9 @@ size=*) echo -n ",$opt" ;; + lvm=*) + echo -n ",$opt" + ;; *) # Presumably a non-supported option ;;
--- cryptsetup-1.0.3/debian/initramfs-cryptroot-script 2006-05-24 02:28:59.000000000 +0200 +++ cryptsetup-1.0.3.orig/debian/initramfs-cryptroot-script 2006-05-24 02:25:35.000000000 +0200 @@ -136,7 +136,7 @@ if [ $? -eq 0 ] && fstype < "$NEWROOT" > /conf/param.conf; then . /conf/param.conf - ([ "$FSTYPE" = "lvm" ] || [ "$FSTYPE" = "lvm2" ]) && setup_lvm "$cryptlvm" + [ "$FSTYPE" = "lvm" ] && setup_lvm "$cryptlvm" [ "$FSTYPE" != "unknown" ] && break fi
signature.asc
Description: Dit berichtdeel is digitaal ondertekend

