Live CD - luks - lvm2 -- Can't mount encrypted lvm2 logical volume via Live CD

John Himpel jwhimpel at gmail.com
Wed Nov 10 12:29:23 UTC 2010


On Wed, Nov 10, 2010 at 5:53 AM, Michael Schwendt <mschwendt at gmail.com>wrote:

> On Wed, 10 Nov 2010 10:58:34 +0100, Michael wrote:
>
> > On Tue, 9 Nov 2010 21:47:04 -0500, John wrote:
> >
> > > Good evening,
> > >
> > > While running rawhide, I can no longer boot using rawhide packages from
> > > 11/06/2010.  I keep getting asked for the LUKS passphrase.  After I
> enter
> > > two characters, it says the passphrase is invalid.  My passphrase is
> about
> > > 30 characters in length.
> > >
> > > In my efforts to "keep all the pieces", I'm trying to access the lvm
> logical
> > > volume that is encrypted to save at least some of the pieces.  :-)
> > >
> > > I perform the following steps:
> > > 1) Boot the live CD (F14) (X64)
> > > 2) Open a terminal window
> > > 3) su -l root
> > > 4) modprobe dm-crypt
> > > 5) sudo cryptsetup luksOpen /dev/sda6 crypt1 (sda6 is the encrypted
> LVM)
> >
> > /dev/sda6 is a logical partition, not a LV.
>
> Second thought before I'm afk: If you meant to say that sda6 is an
> encrypted PV (which builds VG dubby), do you get the same problem for
> lv_home? And what does dumpe2fs say about the LV's filesystems?
>


[root at localhost ~]# dumpe2fs /dev/sda6
dumpe2fs 1.41.12 (17-May-2010)
dumpe2fs: Bad magic number in super-block while trying to open /dev/sda6
Couldn't find valid filesystem superblock

/dev/sda6 is the encrypted PV.  It holds VG_dubby.


> --
> test mailing list
> test at lists.fedoraproject.org
> To unsubscribe:
> https://admin.fedoraproject.org/mailman/listinfo/test
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.fedoraproject.org/pipermail/test/attachments/20101110/b073ea6c/attachment.html 


More information about the test mailing list