安装需要安装的
sudo apt-get install cryptsetup
创建加密分区的密码
sudo cryptsetup --verbose --verify-passphrase -c aes-cbc-plain luksFormat /dev/mapper/debian-BUILD
输入密码
创建对加密分区的映射设备
sudo cryptsetup luksOpen /dev/mapper/debian-BUILD crypt-build
加载加密分区
sudo mount /dev/mapper/crypt-build /mnt
关闭加密分区
sudo cryptsetup luksClose crypt-build