[Pkg-cryptsetup-devel] Bug#428725: initramfs-tools: please provide hook to initialize LVM before mounting crypto-root

Marc Haber mh+debian-bugs at zugschlus.de
Fri Jun 15 22:23:40 UTC 2007


On Fri, Jun 15, 2007 at 05:48:33PM +0200, maximilian attems wrote:
> On Wed, 13 Jun 2007, Marc Haber wrote:
> > I have my root filesystem on an encrypted LV:
> > 
> > $ grep root /etc/crypttab
> > root              /dev/vg0/c_root      none  luks,keyscript=/etc/keyscript_scyw00225
> > $ grep root /etc/fstab
> > /dev/mapper/root /              ext3    defaults,errors=remount-ro 0 1
> > $
> > 
> > In this setup, the initrd does not start the LVM before trying to
> > unlock the crypto filesystem. From my diagnosis, it looks like
> > scripts/local-top/lvm2 looks whether the file system given to the
> > kernel on its command line is directly on an LV and only starts the
> > appropriate VG in this case. It does not seem to detect the
> > possibility of the root FS being on an encrypted LV.
> 
> 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.

Greetings
Marc

-- 
-----------------------------------------------------------------------------
Marc Haber         | "I don't trust Computers. They | Mailadresse im Header
Mannheim, Germany  |  lose things."    Winona Ryder | Fon: *49 621 72739834
Nordisch by Nature |  How to make an American Quilt | Fax: *49 3221 2323190




More information about the Pkg-cryptsetup-devel mailing list