We lose USB Flash drives all the time, so if you hold any sensitive or personal stuff, you’d better have it encrypted, just in case.
- This works only on Linux, won’t work on Windows or MAC
- Before you start the encryption, make sure to backup all your existing data on the flash drive, because the process will wipe it.
- You won’t be able to read your data on Windows or MAC
- If you lose your password, forget about your data
Let’s get going then. The steps are pretty simple:
- Open the “Disks” application:
- Select your flash drive (mine is the SanDisk Ultra USB 3.0 above)
- Press Ctrl + Shift + F to start the formatting process
- In the Type field, choose “Encrypted”
- Fill in the remaining fields, e.g.
- Click “Format”
- Confirm by clicking “Format” again
- That’s it. You’re Done!
Now, whenever you insert and try to mount your flash drive in any Linux computer, the following dialogue will automatically appear:
Enter your password and then you will be able to use the flash drive.
Tested on Linux Mint 18.1 (based on Ubuntu 16.04 LTS).