All of lore.kernel.org
 help / color / mirror / Atom feed
From: Milan Broz <mbroz@redhat.com>
To: dm-crypt@saout.de
Subject: Re: [dm-crypt] Problem recovering encrypted partitions
Date: Sun, 15 Jan 2012 15:13:06 +0100	[thread overview]
Message-ID: <4F12DEF2.4040403@redhat.com> (raw)
In-Reply-To: <20120114211722.GA31590@tansi.org>

On 01/14/2012 10:17 PM, Arno Wagner wrote:

> first thing is to check that the LUKS headers are still there:
>
>    cryptsetup isLuks<device>

Just nitpicking - I would better suggest to use

blkid -p <device>

It will also detect crypto but also it will print if
there is some other signature.

You should see something like

# blkid -p /dev/sda2
/dev/sda2: UUID="..." VERSION="1" TYPE="crypto_LUKS" USAGE="crypto" ...

(-p means bypass cache, for old blkid just remove this switch
if not supported)

Milan

  parent reply	other threads:[~2012-01-15 14:13 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-01-14 20:40 [dm-crypt] Problem recovering encrypted partitions Luis P. Mendes
2012-01-14 21:17 ` Arno Wagner
2012-01-14 23:00   ` Luis P. Mendes
2012-01-14 23:15     ` Arno Wagner
2012-01-14 23:46       ` Luis P. Mendes
2012-01-15  1:03         ` Arno Wagner
2012-01-15 11:08           ` Luis P. Mendes
2012-01-15 14:13   ` Milan Broz [this message]
2012-01-15 14:23     ` 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=4F12DEF2.4040403@redhat.com \
    --to=mbroz@redhat.com \
    --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.