From: Arno Wagner <arno@wagner.name>
To: dm-crypt@saout.de
Subject: Re: [dm-crypt] loop file with partition problems
Date: Wed, 29 Feb 2012 19:44:20 +0100 [thread overview]
Message-ID: <20120229184420.GC10925@tansi.org> (raw)
In-Reply-To: <4F4E670D.2020208@gmail.com>
The -y option is useful to use initially to make sure
you have the right password when you format.
It causes cryptsetup to ask the password twice.
For more documentation on the options, run
cryptsetup -h
and refer to the man-page.
Arno
On Wed, Feb 29, 2012 at 06:57:33PM +0100, Giovanni Di Stasi wrote:
> Il 29/02/2012 17:41, Milan Broz ha scritto:
> >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
> Worked!! Thanks!!
>
> But I was asked the password twice... how come?
> What if I type a different password?
>
> Thanks,
> Giovanni
> _______________________________________________
> dm-crypt mailing list
> dm-crypt@saout.de
> http://www.saout.de/mailman/listinfo/dm-crypt
>
--
Arno Wagner, Dr. sc. techn., Dipl. Inform., CISSP -- Email: arno@wagner.name
GnuPG: ID: 1E25338F FP: 0C30 5782 9D93 F785 E79C 0296 797F 6B50 1E25 338F
----
One of the painful things about our time is that those who feel certainty
are stupid, and those with any imagination and understanding are filled
with doubt and indecision. -- Bertrand Russell
prev parent reply other threads:[~2012-02-29 18:44 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
2012-02-29 17:57 ` Giovanni Di Stasi
2012-02-29 18:44 ` Arno Wagner [this message]
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=20120229184420.GC10925@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