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 ZwrCvifXn6lA for ; Wed, 17 Aug 2011 19:44:55 +0200 (CEST) Received: from mout.perfora.net (mout.perfora.net [74.208.4.195]) by mail.saout.de (Postfix) with ESMTP for ; Wed, 17 Aug 2011 19:44:55 +0200 (CEST) Message-ID: <4E4BFE0C.3040703@mousecar.com> Date: Wed, 17 Aug 2011 13:44:44 -0400 From: ken MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: [dm-crypt] recovering forgotten password Reply-To: gebser@mousecar.com List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: dm-crypt@saout.de Having searched through the archives and read the FAQ list, I know this isn't going to be easy, but I have to give it a try anyway. Yes, I'm yet another guy who forgot his LUKS password. And I encrypted both the system and data LVs (when I first installed CentOS/Linux). After a couple days trying out various passphrases (going through my three chances and then having to shut down and restart the machine to get another three chances) and not succeeding, I removed the drive and put it into a drive enclosure, then attached it (via USB) to an older but working system. Now I can read only the /boot partition of that drive.... Now, when I run cryptsetup, it won't let me specify the device name: # cryptsetup status luks-3[...]683a /dev/sda3 /dev/mapper/luks-3[...]683a does not exist. I also tried for device /dev/sda ... still no go. Or is there a better way to input my passphrase guesses...? tnx.