[dm-crypt] Is partial LUKS recovery possible?

Mario 'BitKoenig' Holbe Mario.Holbe at TU-Ilmenau.DE
Thu Dec 2 17:28:17 CET 2010


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.


regards
   Mario
-- 
It is a capital mistake to theorize before one has data.
Insensibly one begins to twist facts to suit theories instead of theories
to suit facts.                   -- Sherlock Holmes by Arthur Conan Doyle



More information about the dm-crypt mailing list