cryptsetup
By jeltsch on Sun, 01/25/2009 - 22:15I switched already quite a while ago from the old cryptoloop technology to the newer cryptsetup technology. However, I still forget how to manually create and mount encrypted volumes, because I do this rarely. Here are the commands:
cryptsetup create cryptovolume /dev/mapper/logical_volume
mount /dev/mapper/cryptovolume /mountpoint
In this case I mapped a logical volume, but of course you can map physical volumes, too:
cryptsetup create cryptovolume /dev/sdb1
mount /dev/mapper/cryptovolume /mountpoint