I'm wondering, if I can store the passphrase of an encrypted disk in /etc/crypttab encrypted - and only possible to decrypt that by that OS, where I created. Is it possible?
(because, I want auto mount the disk after a restart, but I don't want to allow to read that password from the file with a simple live disk)
Thanks
First, add a keyfile to each encrypted volume then, simply edit your crypttab [/etc/crypttab] to include your extra encrypted volumes.
Make a key:
Add a key
Add to crypttab: