Re: Restored luks2 header to wrong drive!

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Not so fast!

ext2/3/4 does several superblock backups over the whole drive and
the directories are also distributed (but not replicated). 
As the LUKS2 header is not that large, most data and structure 
should be recoverable.

First step: Make a sector-image of the drive. Only work on the copy.
Second step: Find out how to recover an ext4 with overwritten start.
     -> This is not the right mailing-list for that question.  
        But there should be fairly generic instruction out there.
        Maybe there is an ext2/3/4 FAQ or recovery HOWTO?   

Regards,
Arno

On Tue, May 05, 2020 at 15:39:07 CEST, Default User wrote:
>    Well, thank you for your reply Michael.
>    Now I guess there is nothing left to do but grieve.
>    It is too late for me, but maybe someday, computer backups and
>    encryption will be "less art and more science".
>    Just a note: maybe LUKS could someday add a feature that would check
>    before restoring a luks2 header, and alert the user that they are
>    trying to restore to a different disk than the header was backed up
>    from, or to a disk that does not appear to contain LUKS encrypted
>    data.
>    : (

> _______________________________________________
> dm-crypt mailing list
> dm-crypt@xxxxxxxx
> https://www.saout.de/mailman/listinfo/dm-crypt


-- 
Arno Wagner,     Dr. sc. techn., Dipl. Inform.,    Email: arno@xxxxxxxxxxx
GnuPG: ID: CB5D9718  FP: 12D6 C03B 1B30 33BB 13CF  B774 E35C 5FA1 CB5D 9718
----
A good decision is based on knowledge and not on numbers. -- Plato

If it's in the news, don't worry about it.  The very definition of 
"news" is "something that hardly ever happens." -- Bruce Schneier
_______________________________________________
dm-crypt mailing list
dm-crypt@xxxxxxxx
https://www.saout.de/mailman/listinfo/dm-crypt



[Index of Archives]     [Device Mapper Devel]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Packaging]     [Fedora SELinux]     [Yosemite News]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux