Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have installed truecrypt and try it with tar.gz file, where I had some important data.
Now when I mount this file I just see empty folder, and was not able to find some solution, how to decode the file to be extractable?

Is it even possible?

Thanks for your time.

share|improve this question
you made a truecrypt file,and compress that file to tar.gz format.Is that correct? – Avinash Raj Nov 8 '13 at 15:42
Nope, when I was selecting file in truecrypt for encryption I choosed tar.gz file with some data and they now seems lost. – JTC Nov 8 '13 at 15:44
you already encrypted tar.gz file with truecrypt,but when you decrypt nothing was found. – Avinash Raj Nov 8 '13 at 15:51
I dont know how to decrypt it, for what I have found, some suggests that for encryption i should just copy files from mounted drive, but obviously I can't do that, since it is empty. – JTC Nov 8 '13 at 15:53
up vote 1 down vote accepted

If you choose a file that already exists as your Truecrypt container, that file is overwritten. You create a truecrypt volume and place the files inside that volume, you do not encrypt a file such as a tar.gz like you might do with openssl.

When you create a volume, you should get this warning:

enter image description here

Unfortunately you have lost your data, although if you manipulated the files concerned on other areas of your drive, you might be able to recover something by using recovery software. Please see this article, which details various approaches:

share|improve this answer
Thx you saved me time. – JTC Nov 8 '13 at 17:34

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.