FOSS4.ORG links blogs about contact

Creating a LUKS encrypted USB drive using debian CLI

Plug in your USB flash drive and get it's device name:
sudo fdisk -l | grep /dev/sd
You should see /dev/sda or /dev/sdb, like this
Disk /dev/sdb: 243.99 GiB, 257394027615 bytes, 463947243 sectors
Format USB with LUKS:
sudo cryptsetup luksFormat /dev/sdb
Open LUKS encrpted USB drive:
sudo cryptsetup open /dev/sdb my_encrypted_disk
Create filesystem inside of LUKS encrypted USB drive:
sudo mkfs.ext4 /dev/mapper/my_encrypted_disk
Create mount point for LUKS encrypted USB drive:
sudo mkdir /mnt/my_encrypted_disk
Mount LUKS encrypted USB drive:
sudo mount /dev/mapper/my_encrypted_disk /mnt/my_encrypted_disk
Go to LUKS encrypted USB directory:
cd /mnt/my_encrypted_disk
Unmounting your LUKS USB drive:
sudo umount /mnt/my_encrypted_disk
Note
For more info
man cryptsetup
Sometimes you'll mount/umount the LUKS usb directory under /media/ instead
Our Onion:
http://owzfedcosfvkk7tucoaubwugb7fwpdjszfpllby5bwihrevzhykdwtid.onion
Donate XMR:
84KYcPkoxZ7JFy9KBKRqYCM3HtqTiGSR48VSpx8B6nH179344iqyijGYQZtmmzdFFSfGUYuDZeiZs7oMZCrWsGuiR3sfq45
We need Monero. Please donate now.