I have a debian based server at home using banana-pro. One of its functions is being a backup/owncloud/nas. There is a sata drive attached to it and I want it to be encrypted. I know that for a pc I could use truecrypt. I'd like this drive to automount and unencrypt on bootup with server. It would be also really nice if I could plug it into another computer and access the files on it with a password. Is something like this easily doable?
1 Answer
If you want to encrypt a disk, you would want to use LUKS.
I will leave you the relevant page:
http://www.cyberciti.biz/hardware/howto-linux-hard-disk-encryption-with-luks-cryptsetup-command/
-
Thanks. Will I be able to access this drive later on with another OS'es? Prefferably Mac and maybe Windows?– fulaphexCommented Nov 20, 2015 at 17:47
-
Last time I check, in OS/X only within a Linux VM. No idea about support for Windows. Commented Nov 20, 2015 at 17:56
/boot
or wherever). Or you could put the key on a USB stick and leave it plugged in; then you can take the USB stick away whenever you want real security.