All of lore.kernel.org
 help / color / mirror / Atom feed
From: Felix Wagner <felix@wagner-felix.com>
To: Milan Broz <gmazyland@gmail.com>
Cc: Ondrej Kozina <okozina@redhat.com>, dm-crypt@saout.de
Subject: Re: [dm-crypt] help
Date: Thu, 25 Feb 2016 18:49:39 +0100	[thread overview]
Message-ID: <20160225184939.2644e098@othir.localdomain> (raw)
In-Reply-To: <56CF37F7.5060501@gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1045 bytes --]

I do have one more question. I recently updated my arch system and now
whenever I luksOpen the mapped dev gets mounted automatically. Is this
arch specific or cryptsetup?

Sincerely
Felix



On Thu, 25 Feb 2016 18:20:55 +0100
Milan Broz <gmazyland@gmail.com> wrote:

> On 02/25/2016 06:05 PM, Felix Wagner wrote:
> > Hello,
> > 
> > thanks for your replies. Yea, any of those files DO NOT exist
> > anywhere on my fs (I checked with find). I think the process didn't
> > really start.
> > 
> > How do I continue then?  
> 
> ok, it is possible that you find a nasty bug...
> (using /dev/disk/uuid path seems to be not working).
> 
> Try this (replace <LUKS_device> and <backup_file> appropriately):
> 
> 1) backup current (invalidated) header to some file (just to be sure)
> 
> dd if=<LUKS_device> of=<backup_file> bs=512 count=2056
> 
> 2) recover magic string
> 
> echo -n -e 'LUKS\xba\xbe' | dd of=<LUKS_device> bs=1 seek=0
> conv=notrunc
> 
> ...
> and try to luksDump it, then luksOpen.
> 
> Milan


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 473 bytes --]

  parent reply	other threads:[~2016-02-25 17:49 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-02-25 15:08 [dm-crypt] help Felix Wagner
2016-02-25 16:18 ` Ondrej Kozina
2016-02-25 17:25   ` Ondrej Kozina
2016-02-25 16:37 ` Milan Broz
2016-02-25 17:05   ` Felix Wagner
2016-02-25 17:20     ` Milan Broz
2016-02-25 17:35       ` Felix Wagner
2016-02-25 17:49       ` Felix Wagner [this message]
2016-02-25 17:55         ` Milan Broz
2016-02-25 17:58           ` Felix Wagner
  -- strict thread matches above, loose matches on Subject: below --
2016-02-25 14:50 Felix Wagner
2016-01-10 17:07 Eugen Rogoza
2012-04-20 15:58 [dm-crypt] Help Simon Bing
2012-04-22  8:59 ` 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=20160225184939.2644e098@othir.localdomain \
    --to=felix@wagner-felix.com \
    --cc=dm-crypt@saout.de \
    --cc=gmazyland@gmail.com \
    --cc=okozina@redhat.com \
    /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.