[dm-crypt] Variable data offset for a LUKS volume that uses a detached header.
.. ink ..
mhogomchungu at gmail.com
Tue Dec 22 13:00:08 CET 2015
Happy holidays everybody,
I am trying to create a LUKS volume with a detached header that has
data offset at sector 256 and things fail with
an error that reads:
"Data offset for detached LUKS header must be either 0 or higher than
header size (4036 sectors)."
Is there a technical reason why this is so and is it possible to allow
other data offsets?
Reason for doing this is an attempt at having a detached LUKS header
capable of unlocking a VeraCrypt volume since
unlocking a VeraCrypt volume takes too long and its annoying.
Everything seems to be working except for the data offset since i cant
set it to 256 sectors through the library API.
More information about the dm-crypt