Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I know the volume works as I can mount it on my Ubuntu box.
I compiled Truecrypt on the Vector box, reading the Readme I have only come up with a device-mapper issue but I have kernel 2.6.27.12. which should mean I don't need a kernel patch. Any suggestions?
you need to add XTS and/or LRW support in the kernel. See Requirements.
If you are positive that you have XTS and/or LRW support in the kernel but still get the above error, it may be necessary to disable kernel cryptographic services when mounting altogether:
truecrypt -m=nokernelcrypto volume mountpoint
Of course you may add any other necessary option on the commmand line as well. Note that truecrypt will have decreased performance when using this option.
Distribution: Ubuntus, Fedora, openSUSE, and Vector Lite 6.0
Posts: 46
Original Poster
Rep:
Simon, thx. Your reply made me recompile my kernel with LRW support. XTS was already included in my current kernel.
What I did find out was that I could create a volume with Truecrypt which used XTS and that worked fine on my VL box as well as my Windoz (I have to keep one for work).
Could you explain, or rather point me to some resources that could explain the difference between LRW and XTS, how they function eg, do they pass data to the encryption algorithm or do they do the processing etc. Naturally I'll google myself.
I noted that when a volume was created with XTS it says Secondary Key size (XTS Mode) 512 bits and with LRW there is no secondary key but a Tweak Key Size(LRW Mode) 128 bits. Also the primary key size is smaller with LRW. Is XTS preferable for that reason? Is XTS inherently better?
Last edited by mikepeters76; 07-30-2009 at 10:49 PM.
Reason: //spelling
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.