KI 2084 How to encrypt external storage media - Linux
f you have a relatively new version of Linux it’s even possible to set it up so that you don’t need to enter a password each time.
So if you’re handling data that is sensitive you need to remember to encrypt the USB stick before you put the data on it. How? Read on…
Before you start: make sure the external drive is empty and does not contain any data. This process will delete all data on the drive so if there’s anything there it will be deleted. Make sure it’s not your only copy or your data will be lost forever!
- Open Disks (or similar for your distribution).
- Insert the memory stick in the normal way. You should see it appear in the Disks interface on the left.
- Select your memory stick. You’re now going to format the device. Make sure you’ve selected the main (biggest) partition, right click and select Format Partition…, then select more options > Format disk.
- Give your device am appropriate name (here we’ve used Kryptert but you can use whatever you like).
- Make sure Erase is selected, this securely deletes all data that is already on the device.
You need to select Internal disk for use with Linux systems only as the Type.
Check the Password protect volume option.
- Enter a password. Ideally use a password manager such as KeePass or 1Password to generate and store the password and make it a password that you don’t use for anything else.
If you lose the password we have no way of recovering the data so make sure you keep it safe!
- Click Format. It can take a little while to format a large drive so maybe grab a coffee.
When completed you can use the device in the normal way to save files and work and move it between (Linux) computers.
Next time you insert it into a new computer you’ll need to enter the password to be able to access the device.