From: Moji <lordmoji@gmail.com>
To: dm-crypt@saout.de
Cc: Jacques-Olivier KAPPS <jo@kapps.fr>
Subject: Re: [dm-crypt] volume unrecognized
Date: Thu, 27 Aug 2009 10:44:24 -0500 [thread overview]
Message-ID: <4A96A9D8.4070904@gmail.com> (raw)
In-Reply-To: <b4d823ce8e84f1061d96c95ec41087da.squirrel@webmail.kapps.fr>
Yes using dd and cryptsetup. The wiki has an explanation of why you
might not want to do that, in addition to outlining the steps. But if
you want to here are the steps.
cryptsetup luksDump $DEVICE
Find the payload number
dd if=$DEVICE of=luks_header_bakup count=$PAYLOAD
To restore them just reverse if and of in dd
dd if=$luks_header_backup of=$DEVICE count=$PAYLOAD
-MJ
Jacques-Olivier KAPPS wrote:
> <quote who="Heinz Diehl">
>> On 27.08.2009, Jacques-Olivier KAPPS wrote:
>>
>>> Now I can map the device with luksOpen, but the volume itself is
>>> unrecognized.
>> Maybe the underlying filesystem got corrupted.
>>
>>> I certainly can open the device with luksOpen because I choosed the same
>>> password in the installation process, but my guess is that the ubuntu
>>> installer erased and replaced the luks headers of my partition by new
>>> ones, what do you think?
>> That would explain the whole situation. When the partition gets prepared
>> via LUKS/dmcrypt, the filesystem is gone, and you'll have to format again.
>>
>>> Do you have any advice?
>> Recreate the partition by using the latest backup. You have one, right?
>>
>> _______________________________________________
>> dm-crypt mailing list
>> dm-crypt@saout.de
>> http://www.saout.de/mailman/listinfo/dm-crypt
>>
>
> I do have partial backups, it's better than nothing!
>
> Okay my partition is just garbage now. So I am asking myself, is that
> possible to backup those critical headers/master key of my new formated
> partition?
>
> Regards,
>
> J.O.
>
> _______________________________________________
> dm-crypt mailing list
> dm-crypt@saout.de
> http://www.saout.de/mailman/listinfo/dm-crypt
>
next prev parent reply other threads:[~2009-08-27 15:44 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-08-27 14:31 [dm-crypt] volume unrecognized Jacques-Olivier KAPPS
2009-08-27 14:47 ` Jonas Meurer
2009-08-27 15:11 ` Jacques-Olivier KAPPS
2009-08-27 15:45 ` Moji
2009-08-27 14:57 ` Heinz Diehl
2009-08-27 15:20 ` Jacques-Olivier KAPPS
2009-08-27 15:44 ` Moji [this message]
2009-08-27 16:28 ` Jonas Meurer
2009-08-27 17:03 ` Milan Broz
2009-08-27 18:39 ` Jonas Meurer
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=4A96A9D8.4070904@gmail.com \
--to=lordmoji@gmail.com \
--cc=dm-crypt@saout.de \
--cc=jo@kapps.fr \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox