I have a small capacity SSD drive on my laptop, to compensate I got a 32GB SD card in my laptop which goes in /media/usr/... and I want to store files and stuff on it. The problem would be if someone take out the SD card from laptop they can access the content. So how can I encrypt the SD card in a way that it only works on my laptop and nothing else?
2 Answers
You create an LUKS container on a partition or your whole SD card.
I give you the GUI version:
Open up Disks, choose your SD card, click on the wheel and choose Format. For Type, choose Crypted compatible with linux, enter a passphrase and choose Format.
You will be asked for this passphrase when you mount your SD card. Don't forget it.
Caution: You will loose all the data on the SD card.
2The accepted answer did not worked for me:
Source: