[dm-crypt] loop file with partition problems

Milan Broz mbroz at redhat.com
Wed Feb 29 17:41:28 CET 2012

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)


More information about the dm-crypt mailing list