Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

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 a virtualized linux system (vserver) that gives me all root privileges except manipulation of kernel modules. Now I wish to have a solution similar to TrueCrypt where I can create an encrypted container that I can mount as a drive. Unfortunately TrueCrypt requires me to load kernel modules which I cannot do (also FUSE is not an option).

Which alternatives do I have to encrypt a container on a system with some standard kernel modules and no means to dynamically load any more?

share|improve this question

All solutions need kernel modules or present kernel configuration parameters. So you need to find out if your kernel has the code included.

Then there are at least two good solutions like dm-crypt and eCryptfs. Both encrypt whole file systems but in combination with a loop device you can have the file-system in a container.

share|improve this answer
So my initial fear was right :-( I was kind of hoping that there was some clever solution that could circumvent using anything kernel related (even though my understanding of encryption containers made me think otherwise). Thanks! – Stephan Sep 26 '11 at 7:40

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.