This blog is about Java (advanced Java topics like Reflection, Byte Code transformation, Code Generation), Maven, Web technologies, Raspberry Pi and IT in general.

Freitag, 20. Juli 2012

Truecrypt armhf executable for Raspberry Pi (raspbian/wheezy)

Because Truecrypt it's a bit of a work and takes so long to compile I uploaded the compiled binary file

12 Kommentare:

  1. That file unfortunately doesn't work on my RaspberryPi using latest Raspbian.
    It always says
    root@raspberrypi ~ # ./truecrypt
    -bash: ./truecrypt: Datei oder Verzeichnis nicht gefunden
    which means "File or directory not found" - While the truecrypt binary is in the folder and has all necessary execute flags:
    -rwxrwxrwx 1 root root 3,5M 8. Aug 21:25 truecrypt

    Any suggestions? When I tried to compile it myself, it failed on wxWidgets (after like 20 min of compiling).

    AntwortenLöschen
    Antworten
    1. I installed a fresh copy of the latest Raspbian ( 2012-07-15-wheezy-raspbian) and downloaded the truecrypt binary file. For me everything worked fine. All I did was to execute these three commands:

      wget http://dl.dropbox.com/u/19380950/blog/truecrypt
      sudo chmod u+x truecrypt
      ./truecrypt

      If you try to run an executable which is compiled for another architecture then you would get an error like this:
      -bash: ./truecrypt: cannot execute binary file

      But your system couldn't find the file at all. So there is something else going on. My only guess is that you are in the wrong directory. Try to execute the three commands from above. Hopefully it will work.

      Löschen
    2. Dieser Kommentar wurde vom Autor entfernt.

      Löschen
    3. Oh my, I think I found the reason :((
      I downloaded Raspbian in April and installed THAT image in June, so I'm using an outdated Raspbian/Squeeze and probably not everything is running fine. Hell I even doubt armhf works properly there.

      Thank you for all your help!

      Löschen
  2. It works on latest Raspbian/Wheezy, cheers.

    AntwortenLöschen
  3. Dieser Kommentar wurde vom Autor entfernt.

    AntwortenLöschen
    Antworten
    1. You need to add the -m=nokernalcrypto flag to the command. My typical command looks like this.

      ./truecrypt -m=nokernelcrypto /dev/sda1 /media/tc

      I hope it will work for you, too.

      Löschen
  4. Works perfect with my new wheezy image!
    THX for saving the compile time ;)
    Cheers,
    Mike

    AntwortenLöschen
  5. I get a "restricted" error when trying to download, is there a backup of some sort?

    AntwortenLöschen
    Antworten
    1. Thanks for the notification that the link is broken!

      It seems that dropbox changed something. I have uploaded the file now to skydrive and updated the link. Sadly skydrive doesn't support direct links. So you have first to open the skydrive page and then download the file. Do you know a better service?

      Löschen
  6. Thanks for the binary file. I got the previous dropbox one working successfully, but now I want to install it on another Pi, and I can't figure out how to run it from the SkyDrive link. Please help!

    AntwortenLöschen
    Antworten
    1. Yeah, it's very annoying that SkyDrive doesn't support direct download links. Sadly I don't know a service that does. So you have download it from your computer (browser) and than transfer it to you Pi yourself. Sorry that I can't support you more.

      Löschen