cryptsetup: source device not found during boot
Binary package hint: linux-image-
After dist-upgrading from Gutsy i386 to Hardy beta, my encrypted-root system no longer boots. Instead it displays an error "cryptsetup: source device /dev/hda2 not found"
I guessed (correctly) that the device paths for IDE were changed to /dev/sd?? and so re-worked my initramfs to point to /dev/sda2 instead. But now cryptsetup says source /dev/sda2 not found.
Four or five minutes later I'll get a busybox shell and can see that /dev/sda is there, but apparently the HD device nodes are being created too late.
This is not a LUKS setup, using plain dmcrypt instead. This arrangement worked fine under Gutsy.
If I manually execute a 'cryptsetup create cr-root /dev/sda2 -v -c aes-cbc-
Changing /etc/crypttab to use sda2 then re-building with 'update-initramfs -c -k $(uname -r)' has not helped.
Another user is getting this error. See this thread for discussion: http://
Here is my crypttab:
# <target name> <source device> <key file> <options>
cr-root /dev/sda2 none cipher=
swap /dev/sda1 /dev/random swap,cipher=
|Changed in linux:|
|status:||New → Confirmed|