LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Problems with truecrypt (https://www.linuxquestions.org/questions/linux-software-2/problems-with-truecrypt-536660/)

Cereal765 03-11-2007 07:44 PM

Problems with truecrypt
 
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?

archtoad6 03-12-2007 09:32 AM

1st, you need to locate (literally) your modules:
Code:

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.

Cereal765 03-12-2007 02:46 PM

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?

archtoad6 03-13-2007 07:17 AM

Sorry, you've reached my limit. There's nothing to do but hope someone else has an answer.

Cereal765 03-13-2007 01:59 PM

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?


All times are GMT -5. The time now is 05:05 AM.