On Tue, May 02, 2006 at 12:21:25AM +0200, Jonas Meurer wrote: > how about this from README.initramfs, also from the svn repository: > > 5. LUKS support > > --------------- > > If you are using the LUKS feature of cryptsetup, the above recipe should > > still work without any changes. However, you can then remove the cipher, > > size and hash arguments in /etc/crypttab as they will be automatically > > derived from the information stored in the luks header on-disk. > i don't know the initramfs implementation very well, David Härdeman has > done all the work. but at least the documentation sounds like exactly > what you suggested is already done.
If you remove cipher and hash arguments from /etc/crypttab, the initramfs hook script will not copy the cipher and hash kernel modules to initramfs. That is what my patch fixes. cryptsetup itself does not need cipher/hash as command line parameters, but the kernel needs the modules badly.