[Pkg-cryptsetup-devel] Bug#428725: Bug#428725: initramfs-tools: please provide hook to initialize LVM before mounting crypto-root
Jonas Meurer
jonas at freesources.org
Sat Jun 16 15:11:55 UTC 2007
On 16/06/2007 Marc Haber wrote:
> On Sat, Jun 16, 2007 at 10:22:07AM +0200, maximilian attems wrote:
> > On Sat, 16 Jun 2007, Marc Haber wrote:
> > > > hmmm i certainly know that cryptoroot works with initramfs-tools.
> > >
> > > It works with the way that d-i uses, with an encrypted PV. My setup
> > > uses an encrypted LV.
> >
> > afaik you can set up an encrypted partition on top of an lvm2 LV in d-i.
> >
> > as this has been tested i still assume a bug in your setup.
>
> What do you want to know about my setup to find out?
David Härdeman mentioned, that you need to use /dev/mapper/vg0-c_root
instead of /dev/vg0/c_root in /etc/crypttab.
I guess that this is the real bug in your configuration.
David wrote further on:
> Then regenerate the initramfs and it should work automagically. The
> /dev/VG/LV nodes are not supported by initramfs-tools and they won't be
> either (this is bug #378332 which is WONTFIX and I agree with Maks on
> that one).
greetings,
jonas
More information about the Pkg-cryptsetup-devel
mailing list