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 used truecrypt volume until now, because the space limitation I looked for other solution to encrypt my data. This is what I found. My question is what is the different between cryptsetup and truecrypt. Is cryptsetup as safe as truecrypt? What is the best way to encrypt an LVM partition?

share|improve this question
up vote 4 down vote accepted

cryptsetup is part of the main Ubuntu archive, which means that it's officially support by Ubuntu developers and Canonical. It's specific to Linux, and provides block device encryption at the kernel level.

Truecrypt is not part of the Ubuntu package archive (due to licensing reasons) and is offered as an additional package that you can add to your Ubuntu system. Truecrypt does its encryption and decryption in userspace, rather than within the Linux kernel, which actually allows it compatibility clients for Windows and MacOS.

share|improve this answer

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.