Hans a écrit : > >> Also, is it normal that fstab and crypttab contain the same UUIDs ? >> AFAIK, fstab should contain filesystem UUIDs whereas crypttab should >> contain LUKS UUIDs. I think that at least one file contains the wrong > UUIDs. > Thanks for the info, but it did not work.
What did not work ? > However, I found out, that the problem > is the initrd and it looks like initramfs-tools is the problem. It looks like > the needed modules aes-x86-x64, dm-crypt, dm-mo and sha256 are not > correctly added into the initrd. If you know which modules are required you can list them in /etc/initramfs-tools/modules (or so) as a workaround and rebuild the initramfs with update-initramfs -u. > So, of course, everything I do with encrypted filesystems will never work at > the moment! Not "everything". Only / and /usr are mounted by the initramfs (from Jessie ; up to Wheezy, only / was). Other filesystems are mounted later by the init system. Chances are it would work if /usr was not encrypted.