DM-Crypt Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Arno Wagner <arno@wagner.name>
To: dm-crypt@saout.de
Subject: Re: [dm-crypt] yet another header reconstruction question
Date: Wed, 24 Feb 2016 17:24:55 +0100	[thread overview]
Message-ID: <20160224162454.GA7961@tansi.org> (raw)
In-Reply-To: <trinity-1c7f488e-6327-4124-970d-b05eb5a52dfb-1456303382695@3capp-webde-bap40>


Excellent. Also, thank you for the feedback!

Regards,
Arno



On Wed, Feb 24, 2016 at 09:43:02 CET, Florian Dotzer wrote:
> 
>  
> On 02/18/2016 02:51 AM, Florian Dotzer wrote:
> >> I tried dd on files to replace the first 512 bytes of a file , but
> >> the target file was completely replaced with this command :
> >>
> >> dd if=512_bytes_with_fixed_header of=file_with_first_64_MB_of_md0 bs=512 count=1
> 
> > When the target is a file, you need to include "conv=notrunc" so
> > that the file will not be truncated to zero length when it is
> > opened. That is not an issue when the target is a block device,
> > but there is no harm in using "conv=notrunc" there, too.
> 
> Thanks to Bob , Arno , Sven and all others. I was able to remount
> with the corrected LUKS Header . 
> 
> Now I have a backup of the header and a backup of the key. 
> 
> currently I am backing  up all data 
> 
> Please enjoy a virtual drink of your choice ;-)) 
> 
> 
> Sorry  lsblk command was not available so I cannot report any output of that. 
> 
> best wishes to all , Florian
> _______________________________________________
> dm-crypt mailing list
> dm-crypt@saout.de
> http://www.saout.de/mailman/listinfo/dm-crypt

-- 
Arno Wagner,     Dr. sc. techn., Dipl. Inform.,    Email: arno@wagner.name
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

  reply	other threads:[~2016-02-24 16:24 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.1.1455879602.30698.dm-crypt@saout.de>
2016-02-24  8:43 ` [dm-crypt] yet another header reconstruction question Florian Dotzer
2016-02-24 16:24   ` Arno Wagner [this message]
     [not found] <mailman.1.1455706801.5962.dm-crypt@saout.de>
2016-02-18  8:51 ` Florian Dotzer
2016-02-18  9:34   ` Michael Kjörling
2016-02-18 10:26     ` Sven Eschenberg
2016-02-18 12:53   ` Robert Nichols
2016-02-16 11:32 Florian Dotzer
2016-02-16 12:01 ` Michael Kjörling
2016-02-16 15:01 ` Arno Wagner
2016-02-16 19:41   ` Sven Eschenberg
  -- strict thread matches above, loose matches on Subject: below --
2016-02-15 16:07 [dm-crypt] Yet " Florian Dotzer
2016-02-15 17:04 ` Arno Wagner

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=20160224162454.GA7961@tansi.org \
    --to=arno@wagner.name \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox