From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ee0-x233.google.com (mail-ee0-x233.google.com [IPv6:2a00:1450:4013:c00::233]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mail.saout.de (Postfix) with ESMTPS for ; Fri, 14 Mar 2014 17:58:08 +0100 (CET) Received: by mail-ee0-f51.google.com with SMTP id c13so1604016eek.24 for ; Fri, 14 Mar 2014 09:58:07 -0700 (PDT) Message-ID: <5323351A.8080408@gmail.com> Date: Fri, 14 Mar 2014 17:58:02 +0100 From: Milan Broz MIME-Version: 1.0 References: <53230C34.1030901@ensslin.cc> In-Reply-To: Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: Re: [dm-crypt] Loading the LUKS header from an external source? List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: dm-crypt Cc: michael@ensslin.cc On 03/14/2014 03:30 PM, .. ink .. wrote: > On Fri, Mar 14, 2014 at 10:03 AM, Michael En=DFlin > wrote: >=20 > Hi, >=20 > is there a way of loading the LUKS header from an external file, so t= hat > 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 rando= m data? >=20 >=20 > yes,look at "--header" option in cryptsetup's documentation. >=20 > From the terminal,type "man cryptsetup" and then look for "--header" entr= y in the "OPTIONS" section. Exactly and using external header also allows to set data offset to start o= f the disk, exactly what you want. All is also described in release notes for 1.4 http://code.google.com/p/cry= ptsetup/wiki/Cryptsetup140 Milan