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.
I have a recent need to have a USB flash drive that needs to be used on both linux and windows machines, and I have chosen to use truecrypt to do so. I installed it well and fine, encrypted the drive perfectly in windows. Now, im back here on my linux machine and again, installed it perfectly, but its giving me errors:
Code:
# truecrypt /dev/sde1
Enter password for '/dev/sde1':
FATAL: Module truecrypt not found.
truecrypt: Failed to load TrueCrypt kernel module
# modprobe truecrypt
FATAL: Module truecrypt not found.
# modprobe tcrypt
FATAL: Module tcrypt not found.
After some research, I was seeing people have sucess with modprobeing both "truecrypt" and "tcrypt" so I tried both, but as you can see it did not work too well. Can anyone help?
locate crypt | less -S # try this 1st
locate tcrypt | less -S # else,
locate truecrypt | less -S # try these
(The "-S" option for less unfolds long lines, really helpful w/ locate.)
2nd, you need to make sure they are in the place that modules belong. If this is not obviously so from the results of (1), and you don't already know where modules belong on your system; then I would run lsmod, followed by a locate on 1 of the found modules:
Code:
locate <module> | less -S
It it's as simple as modules out of place (we can hope ), then just copy, move, or link the modules to the right place.
It seems like the modules don't exist at all, theirs another package called kmod-truecrypt which contains the kernel modules apparently, it should have come up as a dependency but for some reason did not. So I attempted to build from source, and now its telling me that it can't do it:
Code:
# ./build.sh
Checking build requirements...
Linux kernel (2.6.18-1.2849.fc6) source directory [/usr/src/linux]: /usr/src/kernels/2.6.18-1.2849.fc6-i686
Error: Kernel source code is incomplete - drivers/md/dm.h not found.
#
What the hell??? I used this same kernel source when I installed Ndiswrapper, why is it saying things are missing? I went to drivers/md and "dm.h" truely is not there...so what can I do about this?
Well, essentially, all I want to be able to do is to be able to have an encrypted file I can carry with me, that I can mount as a filesystem on both windows and linux. When you google this, Truecrypt comes up first, but is there another way maybe?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.