View previous topic :: View next topic |
Author |
Message |
fangorn Veteran


Joined: 31 Jul 2004 Posts: 1886
|
Posted: Sun Mar 25, 2007 3:47 pm Post subject: [Solved] cryptsetup luksFormat not working on AMD64 |
|
|
Hi,
I tried all day getting cryptsetup to work. I have tested kernel 2.6.19 and 2.6.20, compiled the crypt options as modules or into the kernel, all I get is this
Code: | -> /bin/cryptsetup -c blowfish-cbc-essiv:sha256 -y -s 256 luksFormat /dev/sde1
WARNING!
========
This will overwrite data on /dev/sde1 irrevocably.
Are you sure? (Type uppercase yes): YES
Enter LUKS passphrase:
Verify passphrase:
Unable to obtain sector size for /dev/sde1Failed to setup dm-crypt key mapping.
Check kernel for support for the blowfish-cbc-essiv:sha256 cipher spec and verify that /dev/sde1 contains at least 258 sectors.
Failed to write to key storage.
Command failed.
-> cryptsetup luksFormat /dev/sde1
WARNING!
========
This will overwrite data on /dev/sde1 irrevocably.
Are you sure? (Type uppercase yes): YES
Enter LUKS passphrase:
Verify passphrase:
Unable to obtain sector size for /dev/sde1Failed to setup dm-crypt key mapping.
Check kernel for support for the aes-cbc-essiv:sha256 cipher spec and verify that /dev/sde1 contains at least 133 sectors.
Failed to write to key storage.
Command failed. |
Does cryptsetup-luks even work on AMD64? What am I missing?
I am seriously stuck here.
Thanks in advance for any hint.
fangorn _________________ Video Encoding scripts collection | Project page
Last edited by fangorn on Sat Mar 31, 2007 7:47 am; edited 1 time in total |
|
Back to top |
|
 |
Nylan n00b


Joined: 14 Jun 2003 Posts: 38
|
|
Back to top |
|
 |
fangorn Veteran


Joined: 31 Jul 2004 Posts: 1886
|
Posted: Sat Mar 31, 2007 7:46 am Post subject: |
|
|
Sorry I didnt post back.
I solved the problem. Seems to have been a kernel problem. As soon as I compiled ALL the crypto options into the kernel it worked. Strange. I loaded all the modules by hand and it didnt work.  _________________ Video Encoding scripts collection | Project page |
|
Back to top |
|
 |
|