Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I've been using truecrypt for several years now. Today I upgraded to 11.10 and mounting with truecrypt failed with this message:

Error: device-mapper: reload ioctl failed: Invalid argument

On some googling I found that this could be a problem if the Kernel is not compiled with XTS support and the solution was to use "-m=nokernelcrypto" option. This works for me but this is less than ideal since there will be a performance hit.

Can anyone tell me how to get the stock 7.1 version of Truecrypt to work on Ubuntu 11.10 natively, seems like this should be a major issue if Truecrypt support was pulled from Ubuntu.

share|improve this question

closed as off topic by belacqua, James May 23 '12 at 17:32

Questions on Ask Ubuntu are expected to relate to Ubuntu within the scope defined by the community. Consider editing the question or leaving comments for improvement if you believe the question can be reworded to fit within the scope. Read more about reopening questions here.If this question can be reworded to fit the rules in the help center, please edit the question.

XTS (if anyone is wondering) is a mode of operation that allows you to use the block cipher repeatedly with a single key. It's currently the default in TrueCrypt.

I'm using kernal 3.0.0-12-generic in 11.10 (64-bit) and as far as I can tell TrueCrypt (7.1) is using XTS on my install. (according to the volume property page)

Also - I don't think Ubuntu ever supported TrueCrypt directly in the first place - it's not available through the Ubuntu Software Center and Unity ignores the application's notification icon which is critical for novice users (if they close the main TrueCrypt window). Bug 109701 (on launchpad) also suggests that licensing may be preventing better support commitment.

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.