[dm-crypt] Auto mount encrypted partition with passphrase stored in a external driver
arno at wagner.name
Wed Jan 13 08:49:59 CET 2016
that really depends on what you distro does for boot-up.
Best ask there or look into its documentation.
cryptsetup is just the commandline tool, it has no connection
to the boot-up process. Some distro-specific mechanism can
call it though, e.g. from an initrd.
If there is no distro-specific mechanism, then things
get more messy.
On Wed, Jan 13, 2016 at 08:36:28 CET, Almeida, Gabriel wrote:
> Hello All,
> I would like to know how can I auto-mount an encrypted partition (LUKS)
> upon bootup. Idea is that passphrase is stored in a USB stick connected
> to the device. If passphrase is valid, the partition will be mounted upon
> bootup, if not, partition mounting will fail.
> Thx for your support.
> dm-crypt mailing list
> dm-crypt at saout.de
Arno Wagner, Dr. sc. techn., Dipl. Inform., Email: arno at wagner.name
GnuPG: ID: CB5D9718 FP: 12D6 C03B 1B30 33BB 13CF B774 E35C 5FA1 CB5D 9718
A good decision is based on knowledge and not on numbers. -- Plato
If it's in the news, don't worry about it. The very definition of
"news" is "something that hardly ever happens." -- Bruce Schneier
More information about the dm-crypt