sudo apt-get install -y cryptsetup
Encrypting the USB drive
Look it’s that simple to create a secure USB drive on Ubuntu. Now every time you plug your USB flash drive into a Linux system, it will ask a password to get unlocked, allowing you to use it just as easily as before. Now if you lose your flash drive, your content is safe as no one will be able to access it without running Linux and knowing your secure passphrase.