Hi Gabriel, 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. Regards, Arno 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. > > Gabriel > _______________________________________________ > dm-crypt mailing list > dm-crypt@xxxxxxxx > http://www.saout.de/mailman/listinfo/dm-crypt -- Arno Wagner, Dr. sc. techn., Dipl. Inform., Email: arno@xxxxxxxxxxx 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 _______________________________________________ dm-crypt mailing list dm-crypt@xxxxxxxx http://www.saout.de/mailman/listinfo/dm-crypt