Return-Path: Received: from smtp.konfrerie.net (smtp.konfrerie.net [87.98.179.77]) by mail.saout.de (Postfix) with ESMTP for ; Thu, 27 Aug 2009 17:11:14 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by smtp.konfrerie.net (Postfix) with ESMTP id 1D47229943 for ; Thu, 27 Aug 2009 17:11:03 +0200 (CEST) Received: from smtp.konfrerie.net ([127.0.0.1]) by localhost (netbsd77.konfrerie.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id jBb5BhsCA9KN for ; Thu, 27 Aug 2009 17:11:02 +0200 (CEST) Received: from webmail.kapps.fr (smtp.konfrerie.net [87.98.179.77]) (Authenticated sender: jo) by smtp.konfrerie.net (Postfix) with ESMTPSA id D87452993E for ; Thu, 27 Aug 2009 17:11:01 +0200 (CEST) Message-ID: In-Reply-To: <20090827144732.GA24973@resivo.wgnet.de> References: <20090827144732.GA24973@resivo.wgnet.de> Date: Thu, 27 Aug 2009 17:11:02 +0200 From: "Jacques-Olivier KAPPS" MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit Subject: Re: [dm-crypt] volume unrecognized List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: dm-crypt@saout.de > hey, > > On 27/08/2009 Jacques-Olivier KAPPS wrote: >> I have a single encrypted partition which contains my data, /home. I >> just >> installed a new system (ubuntu karmic/alternate cd) over my other clear >> system partitions, and I tried to use the setup program to point my >> /home >> directory to my existing and crypted /home partition. Though, it >> eventually wanted to format it and I canceled the whole operation. >> >> Now I can map the device with luksOpen, but the volume itself is >> unrecognized. >> >> I certainly can open the device with luksOpen because I choosed the same >> password in the installation process, but my guess is that the ubuntu >> installer erased and replaced the luks headers of my partition by new >> ones, what do you think? Or maybe is just erased the table partition >> headers and it can't recognized the filesystem? > > according to your description, you entered a new luks passphrase for the > encrypted device at ubuntu installation, right? to my knowledge ubuntu > installation doesn't support management of existing encrypted devices > yet. for that reason i fear that you reformatted the device (luksFormat) > during installation process. i hope that you do have backups in that > case as your data will be lost. > > even using the same passphrase doesn't help. the passphrase is only used > to decrypt the luks masterkey, and that masterkey is generated from > random data at luksFormat. > > please keep in mind that encrypted storage devices don't have backdoors > implemented. if the masterkey is destroyed/overwritten, the data is > irrevocably lost by design. > > you really should do regular backups of sensitive data, and even more so > if the data is stored on encrypted devices! > > greetings, > jonas > Thanks for the explanation, My bad! I assumed that the ubuntu installer would open the existing encrypted device, and I didn't think anything was permanently done before the final "Are you sure you want format those partitions?". Luckily I have some backups, but not really up to date. I am going to miss my summer photo shots! regards, J.O.