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 iDTbenuqBiiX for ; Wed, 29 Feb 2012 19:00:37 +0100 (CET) Received: from mail-bk0-f50.google.com (mail-bk0-f50.google.com [209.85.214.50]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mail.saout.de (Postfix) with ESMTPS for ; Wed, 29 Feb 2012 19:00:36 +0100 (CET) Received: by bkuw11 with SMTP id w11so4130429bku.37 for ; Wed, 29 Feb 2012 10:00:36 -0800 (PST) Message-ID: <4F4E670D.2020208@gmail.com> Date: Wed, 29 Feb 2012 18:57:33 +0100 From: Giovanni Di Stasi MIME-Version: 1.0 References: <4F4E519B.3030504@gmail.com> <4F4E5538.3000007@redhat.com> In-Reply-To: <4F4E5538.3000007@redhat.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: Milan Broz Cc: dm-crypt@saout.de 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