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 wKvlkevAtwnh for ; Tue, 23 Aug 2011 14:00:04 +0200 (CEST) Received: from mout.perfora.net (mout.perfora.net [74.208.4.195]) by mail.saout.de (Postfix) with ESMTP for ; Tue, 23 Aug 2011 14:00:04 +0200 (CEST) Message-ID: <4E539634.9090504@mousecar.com> Date: Tue, 23 Aug 2011 07:59:48 -0400 From: ken MIME-Version: 1.0 References: <4E4BFE0C.3040703@mousecar.com> <4E526C56.7080202@mousecar.com> <1314030003.2065.9.camel@scapa> <4E52D93A.10802@mousecar.com> <4E52DDD3.8000904@redhat.com> In-Reply-To: <4E52DDD3.8000904@redhat.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [dm-crypt] recovering forgotten passwords for 2 LVs Reply-To: dm-crypt List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: dm-crypt@saout.de Cc: Milan Broz On 08/22/2011 06:53 PM Milan Broz wrote: > On 08/23/2011 12:33 AM, ken wrote: >> > .... Because "cryptsetup luksOpen ..." didn't work, I didn't think the rest of the commands you mentioned would work. But it seems they do, even when "cryptsetup luksOpen ..." fails. So... > > 4) paste here output of "blkid /dev/mapper/*" # blkid /dev/mapper/* /dev/mapper/VolGroup00-LogVol00: UUID="aa98849e-f2fe-42b5-b28e-6df9230ebac8" TYPE="ext3" /dev/mapper/VolGroup00-LogVol01: TYPE="swap" > Maybe you can add also "blkid /dev/sd*" so we can be sure what's > type of partitions you have there - the grub entry you mentioned > does not match the device on /dev/sda5. # blkid /dev/sd* /dev/sda1: SEC_TYPE="msdos" LABEL="DellUtility" UUID="07D4-0612" TYPE="vfat" /dev/sda2: TYPE="ntfs" /dev/sda3: LABEL="/boot" UUID="3043a9bc-cee8-4e8f-8f96-5725ad0a5db1" SEC_TYPE="ext2" TYPE="ext3" /dev/sda5: UUID="074c3369-bd66-4afa-97ad-973769aeb208" TYPE="crypt_LUKS" Here's that grub menu entry again... in case someone no longer has that email: title CentOS (2.6.18-238.12.1.el5) root (hd0,2) kernel /vmlinuz-2.6.18-238.12.1.el5 ro root=/dev/mapper/luks-3d723b4f-0184-438d-9cb9-9ebff16e683a rhgb quiet initrd /initrd-2.6.18-238.12.1.el5.img I can think of no reason for the mismatch. As said, all of this booted and ran fine until one evening when I put the system into hibernate; when I brought it back out of hibernate and was prompted for the two passphrases, I couldn't remember them. That was a week or so ago. > > (I would say paste here output of "lsblk -f" but this command is not > yet in CentOS5.) Is it in RH6/CentOS6? Thanks, Milan