On Sun, Oct 23, 2005 at 12:20:04PM +0200, Tino Keitel wrote: > my root partition is located in a LVM2 on a dm-crypt device. vgchage > doesn't find any VGs during boot. > > The reason is that vgchange doesn't look for VGs on other device mapper > devices per default. To enable this, this line has to be added to > /etc/lvm/lvm.conf: > > types = [ "device-mapper", 1 ] > > I modified /etc/yaird/Templates.cfg and added the line > > FILE "/etc/lvm/lvm.conf" > > which contains the types option above, and now the initrd finds the VG. > However, it bails out later with "usr/lib/yaird/exec/run_init: opening > console: No such file or directory", but that's another story.
Hmm, I'm reluctant to add /etc/lvm/lvm.conf to the boot image. It's possible to put stuff in that config file that makes no sense on a boot image. That said, I don't see a more robust approach. I'll test it on a box with lvm and no dm-crypt for 0.0.12. --erik -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

