So far as I can see, these are the possible reasons why the cryptroot
hook may silently fail to generate the configuration file:
- /etc/crypttab is missing
- The root device specified in /etc/fstab is not defined by LABEL or
UUID and is not under /dev/mapper/
- The root device is not listed in /etc/crypttab (after conversion of
LABEL= and UUID= to /dev/disk/... and sym-link resolution)
- dmsetup ls returns an empty list of backing devices
- dmsetup table says the backing devices are not encrypted

Quite a few possibilities there!

Could you try adding " -x" to the first line of
/usr/share/initramfs-tools/hooks/cryptroot ?  This will turn on tracing
in that script and would help to show where it's going wrong, the next
time it goes wrong.

Ben.

-- 
Ben Hutchings
All extremists should be taken out and shot.

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to