Bug#358452: [Pkg-cryptsetup-devel] Bug#358452: initramfs cryptroot functionality

Riku Voipio riku.voipio at iki.fi
Wed May 3 15:07:53 UTC 2006


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. 




More information about the Pkg-cryptsetup-devel mailing list