[dm-crypt] Loading the LUKS header from an external source?

Milan Broz gmazyland at gmail.com
Fri Mar 14 17:58:02 CET 2014

On 03/14/2014 03:30 PM, .. ink .. wrote:
> On Fri, Mar 14, 2014 at 10:03 AM, Michael Enßlin <michael at ensslin.cc <mailto:michael at ensslin.cc>> wrote:
>     Hi,
>     is there a way of loading the LUKS header from an external file, so that
>     the first sector of the hard disk will actually be the first sector of
>     the encrypted partition, and the whole disk will look like pure random data?
>  yes,look at "--header" option in cryptsetup's documentation.
> From the terminal,type "man cryptsetup" and then look for "--header" entry in the "OPTIONS" section.

Exactly and using external header also allows to set data offset to start of the disk,
exactly what you want.

All is also described in release notes for 1.4 http://code.google.com/p/cryptsetup/wiki/Cryptsetup140


More information about the dm-crypt mailing list