All of lore.kernel.org
 help / color / mirror / Atom feed
From: Milan Broz <mbroz@redhat.com>
To: Giovanni Di Stasi <gdistasi@gmail.com>
Cc: dm-crypt@saout.de
Subject: Re: [dm-crypt] loop file with partition problems
Date: Wed, 29 Feb 2012 17:41:28 +0100	[thread overview]
Message-ID: <4F4E5538.3000007@redhat.com> (raw)
In-Reply-To: <4F4E519B.3030504@gmail.com>

On 02/29/2012 05:26 PM, Giovanni Di Stasi wrote:

Here you are creating plain container (did you mean luksFormat in fact?)
> # sudo cryptsetup -y create crypt .encrypted

and here you are trying to open LUKS...
> # cryptsetup luksOpen .encrypted crypt

so try
sudo cryptsetup -y create crypt .encrypted

which will just recreate the mapping (create just set up mapping,
it doesn't format anything)

Milan

  parent reply	other threads:[~2012-02-29 16:41 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-02-29 16:26 [dm-crypt] loop file with partition problems Giovanni Di Stasi
2012-02-29 16:40 ` Arno Wagner
2012-02-29 16:41 ` Milan Broz [this message]
2012-02-29 17:57   ` Giovanni Di Stasi
2012-02-29 18:44     ` 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=4F4E5538.3000007@redhat.com \
    --to=mbroz@redhat.com \
    --cc=dm-crypt@saout.de \
    --cc=gdistasi@gmail.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.