From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.saout.de ([127.0.0.1]) by localhost (mail.saout.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id bNuS5VoX808n for ; Wed, 29 Feb 2012 17:41:31 +0100 (CET) Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by mail.saout.de (Postfix) with ESMTP for ; Wed, 29 Feb 2012 17:41:31 +0100 (CET) Message-ID: <4F4E5538.3000007@redhat.com> Date: Wed, 29 Feb 2012 17:41:28 +0100 From: Milan Broz MIME-Version: 1.0 References: <4F4E519B.3030504@gmail.com> In-Reply-To: <4F4E519B.3030504@gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [dm-crypt] loop file with partition problems List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Giovanni Di Stasi Cc: dm-crypt@saout.de 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