[dm-crypt] loop file with partition problems
arno at wagner.name
Wed Feb 29 19:44:20 CET 2012
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
and refer to the man-page.
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)
> Worked!! Thanks!!
> But I was asked the password twice... how come?
> What if I type a different password?
> dm-crypt mailing list
> dm-crypt at saout.de
Arno Wagner, Dr. sc. techn., Dipl. Inform., CISSP -- Email: arno at 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
More information about the dm-crypt