[dm-crypt] Is partial LUKS recovery possible?
Milan Broz
mbroz at redhat.com
Thu Dec 2 18:04:01 CET 2010
On 12/02/2010 05:28 PM, Mario 'BitKoenig' Holbe wrote:
> Milan Broz <mbroz at redhat.com> wrote:
>> On 12/02/2010 04:45 PM, Mario 'BitKoenig' Holbe wrote:
>>> It is not easy to check if your dm-crypt mapping is correct (i.e. feeded
>>> with the correct key, the correct device offset, etc.) if, like in your
>>> case, there is damage in the beginning of the partition - that decrypts
>> If you know, that there was an fs, it is easy, just run
>> blkid -p /dev/mapper/<cryptdevice>
>> and it should detect fs signature.
>
> Nope. blkid just probes the primary superblock, which is damaged if the
> beginning of the partition is damaged.
Ah so, I should read it properly.
You can probably use offset option in blkid, so it scans for backup superblock
but that is not so easy.
Milan
More information about the dm-crypt
mailing list