Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I have a Linux machine that has no GUI with an external hard drive containing an ext4 partition on it. I have installed truecrypt but cannot figure out how to encrypt the ext4 partition located on /dev/sda1 from the command line. Any pointers to examples of how to do this would be appreciated.

share|improve this question
What commands have you tried so far? –  Ramhound Sep 19 '13 at 12:33

1 Answer 1

up vote 1 down vote accepted

Here is a great tutorial to encrypt a physical volume on commandline.

That should answer your question.

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.