PDA

View Full Version : dm-crypt / LUKS on (X)ubuntu Feisty


sjau
7th April 2007, 18:01
Hiho

I came accross a little guide on how to encrypt a whole disk drive with a steganographic system (dm-crypt / LUKS) and I thought I could try it as *buntu and debian are so close to each other...

The URL is http://www.saout.de/tikiwiki/tiki-index.php?page=EncryptedDeviceUsingLUKS

Well, I started with it... skipped Step 2 (as I have no clue so far on how to do that) and now I fail at Step 6. I get following error notice:

hyper@xubi:/dev$ sudo cryptsetup --verbose --verify-passphrase luksFormat /dev/hda1

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

Are you sure? (Type uppercase yes): YES
Enter LUKS passphrase:
Verify passphrase:
Failed to setup dm-crypt key mapping.
Check kernel for support for the aes-cbc-essiv:sha256 cipher spec and verify that /dev/hda1 contains at least 133 sectors.
Failed to write to key storage.
Command failed.
hyper@xubi:/dev$


So I guess that the (X)ubuntu Feisty 2.6.20-14-generic kernel doesn't have one of the options enabled that is being talked about in Step 2 of the howto.

So my questions are:

(1) Am I right with my assumption from that error notice?

and if so (2) how to I enable those options?

falko
8th April 2007, 16:25
Did you solve the problem? Because I've seen that yo've submitted a tutorial about this topic late last evening. :)

sjau
8th April 2007, 17:06
Yes, did solve it :) just needed to load the kernel modules :)

falko
9th April 2007, 18:08
Great! :)
I think I'll publish your tutorial on Wednesday, if that's ok for you.

sjau
9th April 2007, 18:21
That's up to you :)