Encrypt the partition with cryptsetup
Warning: this is a private study note only. There is no guarantee of the correctness of the contents. 1. prepare a USB pen drive 2. check its label with lsblk [jerry@jerrycc_laptop ~]$ lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT sda 8:0 0 465.8G 0 disk ├─sda1 8:1 0 200M 0 part ... sdb 8:16 1 1.9G 0 disk 3. Create new partition with fdisk : For example, you'll get a partition called /dev/sdb1 4. Format the partition with LUKS format: > sudo cryptsetup -y luksFormat /dev/sdb1 5. Open the partition and create the name for the mapper: > sudo cryptsetup luksOpen /dev/sdb1 myEncryptDisk 6. Format the partition with regular file system formats: Note that yo...