[Bug 58102] Re: cryptsetup / LUKS won't work

Joolz joolz at xs4all.nl
Tue Aug 29 14:08:13 UTC 2006


I seem to get a bit further with luksformat, but now there's problems
when opening:

###############################
kiar at kiar:~ $ sudo luksformat  /dev/sda2
Password:
Creating encrypted device on /dev/sda2...

WARNING!
========
This will overwrite data on /dev/sda2 irrevocably.

Are you sure? (Type uppercase yes): YES
Enter LUKS passphrase:
Verify passphrase:
Command successful.
Please enter your passphrase again to verify it
Enter LUKS passphrase:
key slot 0 unlocked.
Command successful.
mkfs.vfat 2.11 (12 Mar 2005)
unable to get drive geometry, using default 255/63
kiar at kiar:~ $ cryptsetup luksOpen /dev/sda2 sda2
Enter LUKS passphrase:
Failed to setup dm-crypt key mapping.
Check kernel for support for the aes-cbc-essiv:sha256 cipher spec and verify that /dev/sda2 contains at least 133 sectors.
Failed to read from key storage
Enter LUKS passphrase:
Failed to setup dm-crypt key mapping.
(etc.)
kiar at kiar:~ $ cryptsetup luksOpen /dev/sda2 cryptodisk
Enter LUKS passphrase:
Failed to setup dm-crypt key mapping.
Check kernel for support for the aes-cbc-essiv:sha256 cipher spec and verify that /dev/sda2 contains at least 133 sectors.
Failed to read from key storage
Enter LUKS passphrase:
Failed to setup dm-crypt key mapping.
(etc.)

-- 
cryptsetup / LUKS won't work
https://launchpad.net/bugs/58102




More information about the kernel-bugs mailing list