Reply to comment

Cryptsetup

I hit a snag early in the process at:
V. LUKS Format the encrypted partition

It states to enter:
cryptsetup luksFormat /dev/sda2
When I enter that it gives me this error:
anthrax:~/crypt# cryptsetup luksFormat /dev/sda2

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

Are you sure? (Type uppercase yes): YES
Enter LUKS passphrase:
Verify passphrase:
Unable to obtain sector size for /dev/sda2Failed 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 write to key storage.
Command failed.anthrax:~/crypt#

Now I am using a thumbdrive, but it is an SD card thumbdrive. The ones that can be inserted into a phone, but also have a little tab that comes of and makes it a usb drive. I am wondering if this is the problem or if I have set something up wrong.

an example of the USB key is here:
http://www.ocztechnology.com/products/flash_drives/ocz_secure_digital_du...

Thanks for the great tutorial though! I can't wait to get it finished.

Reply

  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.
  • You can enable syntax highlighting of source code with the following tags: <code>, <blockcode>. Beside the tag style "<foo>" it is also possible to use "[foo]".

More information about formatting options