[Pkg-cryptsetup-devel] Bug#398429: Add resume partition setup to initramfs

Marcus Better marcus at better.se
Sun Jan 7 19:21:31 CET 2007


> /etc/crypttab

# <target device> <source device> <key file> <options>
root    /dev/mapper/kelev-root none             luks
swap    /dev/hda6  root  keyscript=/lib/cryptsetup/scripts/decrypt_derived
home    /dev/mapper/kelev-home  /etc/keys/home  luks
var     /dev/mapper/kelev-var   /etc/keys/var   luks
varlog  /dev/mapper/kelev-varlog        /etc/keys/varlog        luks
varcache /dev/mapper/kelev-varcache     /etc/keys/varcache      luks
tmp     /dev/mapper/kelev-tmp   /etc/keys/tmp   luks

> /conf/conf.d/cryptroot from the initramfs image,

target=root,source=/dev/mapper/kelev-root,key=none
target=swap,source=/dev/hda6,key=root,keyscript=/keyscripts/decrypt_derived

> Also, as a workaround, try specifying hash=ripemd160 in the relevant
> entry in the /etc/crypttab file and regenerate the initramfs image.

Will try.

Marcus
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/pkg-cryptsetup-devel/attachments/20070107/dfa021fb/attachment.pgp


More information about the Pkg-cryptsetup-devel mailing list