From: tesla1@gmx.net
To: dm-crypt@saout.de
Subject: Re: [dm-crypt] Formated Device
Date: Thu, 03 Jun 2010 00:13:46 +0200 [thread overview]
Message-ID: <20100602221346.143490@gmx.net> (raw)
In-Reply-To: <20100601231348.GA2588@tansi.org>
> > you probably receive often such mails: How can I rescue my data?
>
> Indeed. Short answer if the LUKS header is damaged, you typically
> cannot (in the cryptographically strong sense).
Thank you for your helpful answer you gave anyway.
> Finding the LUKS header is not that hard, I described it some time
> ago on this list.
Good point.
Just browse tha archives, or look at the header
> fedinition, there is a magic number in there suitable for searching.
I couldn't find the archives, that's why I wrote a new mail. Now I found it after clicking a link that I got after the subscription[1], after that clicking on "Overview of all saout.de mailing lists" in the lower left corner, after that on "dm-crypt". Sorry, that's too obvious, I should have found that earlier.
> If you care for that data, get an 1.5TB or 2 TB disk before messing
> with this any further and use that disk to make a full, sector-level
> backup.
I could do some foo with the first few sectors. My sector size is usually 512 Bytes. Here is how they look like:
root@arpa:~# dd if=/dev/sdb of=block.img bs=512 count=260
260+0 Datensätze ein
260+0 Datensätze aus
133120 Bytes (133 kB) kopiert, 0,0174116 s, 7,6 MB/s
root@arpa:~# hexdump block.img
0000000 b8fa 1000 d08e 00bc b8b0 0000 d88e c08e
0000010 befb 7c00 00bf b906 0200 a4f3 21ea 0006
0000020 be00 07be 0438 0b75 c683 8110 fefe 7507
0000030 ebf3 b416 b002 bb01 7c00 80b2 748a 8b01
0000040 024c 13cd 00ea 007c eb00 00fe 0000 0000
0000050 0000 0000 0000 0000 0000 0000 0000 0000
*
00001b0 0000 0000 0000 0000 044c 0006 0000 0180
00001c0 0001 fe0c ffff 003f 0000 5982 7470 0000
00001d0 0000 0000 0000 0000 0000 0000 0000 0000
*
00001f0 0000 0000 0000 0000 0000 0000 0000 aa55
0000200 0000 0000 0000 0000 0000 0000 0000 0000
*
0020000 d29d 5309 832c e806 74d8 c9e4 95f3 9521
0020010 914c 01bd 2fb1 0fd8 cdb8 dacd 84d1 c210
0020020 9c4a a1ce 4784 a4d1 8f5c ce60 3d59 cb62
...
[* STAR stands for repeat last line]
and
root@arpa:~# dd if=/dev/sdb1 of=partition.img bs=512 count=100
100+0 Datensätze ein
100+0 Datensätze aus
51200 Bytes (51 kB) kopiert, 0,0112693 s, 4,5 MB/s
root@arpa:~# hexdump partition.img
0000000 0000 0000 0000 0000 0000 0000 0000 0000
*
0018200 d29d 5309 832c e806 74d8 c9e4 95f3 9521
...
=>1581056 Bytes are empty.
Something tells me there is no LUKS header any more (no LUKS MAGIC L). So I am the happy owner of an empty 1024GByte backup medium now!
Again, thanks for your help.
[1] http://www.saout.de/mailman/options/dm-crypt/
--
GRATIS für alle GMX-Mitglieder: Die maxdome Movie-FLAT!
Jetzt freischalten unter http://portal.gmx.net/de/go/maxdome01
prev parent reply other threads:[~2010-06-02 22:13 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-06-01 20:58 [dm-crypt] Formated Device tesla1
2010-06-01 21:56 ` Christoph Anton Mitterer
2010-06-01 23:13 ` Arno Wagner
2010-06-02 22:13 ` tesla1 [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20100602221346.143490@gmx.net \
--to=tesla1@gmx.net \
--cc=dm-crypt@saout.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.