HOWTO: Putting cryptoloop back in Debian

Update 2010-11-20: It has been pointed out to me that dm-crypt can handle cryptoloop volumes. Thus, you may choose to ignore this HOWTO in favor of one on how to do that.


For reasons detailed in Debian Bug #559961 the cryptoloop module has been dropped from the Debian kernel as of the 2.6.32-trunk binary packages. I've filed a complaint at that bug. I know what I'm doing, and am unhappy that the Debian kernel maintainers have taken it upon themselves to gratuitously delete functionality from the Linux kernel image…

In the meantime, here's how you put cryptoloop back.

If all goes well, you should be cryptolooping again. Remember that until Debian is (hopefully) fixed you will have to rebuild cryptoloop.ko whenever you upgrade your kernel. The cryptoloop.c source is unlikely to change, but you might want to check first.

Have fun. (B)