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
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).
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:
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.
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.
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?
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!
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.
That file unfortunately doesn't work on my RaspberryPi using latest Raspbian.
AntwortenLöschenIt 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).
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:
Löschenwget 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.
Dieser Kommentar wurde vom Autor entfernt.
LöschenOh my, I think I found the reason :((
LöschenI 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!
It works on latest Raspbian/Wheezy, cheers.
AntwortenLöschenDieser Kommentar wurde vom Autor entfernt.
AntwortenLöschenYou need to add the -m=nokernalcrypto flag to the command. My typical command looks like this.
Löschen./truecrypt -m=nokernelcrypto /dev/sda1 /media/tc
I hope it will work for you, too.
Works perfect with my new wheezy image!
AntwortenLöschenTHX for saving the compile time ;)
Cheers,
Mike
I get a "restricted" error when trying to download, is there a backup of some sort?
AntwortenLöschenThanks for the notification that the link is broken!
LöschenIt 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?
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öschenYeah, 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