[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#247213: installation-reports: doesn't install kernel if root is on LVM



On Fri, May 07, 2004 at 12:56:50AM +0100, Martin Michlmayr wrote:
> 
> > Setting up kernel-image-2.6.3-1-i386 (2.6.3-2) ...
> > /usr/bin/mkinitrd: constituent device /dev/rootvg/rootlv does not exists
> > Failed to create initrd image.
> > [...]

Someone needs to make sure that /dev/rootvg/rootlv exists in the chroot.
You can do this by either copying the device from the real root, or
by mounting devfs.

> Herbert, can I get you to comment on this.  What happens is this:
> debian-installer uses devfs, we create some LVM devices and they show
> up in /dev/.  Then, we install the base system into /target, chroot in
> there to install the kernel.  This fails because the LVM devices don't
> exist in the chroot.  So I thought we should just install lvm1 or lvm2
> before installing the kernel, but this fails with "VGDA in kernel and
> lvmtag are NOT consistent".
> 
> Any idea?

Not really.  Perhaps some devices they need are missing? Try talking to
the respective maintainers.
-- 
Debian GNU/Linux 3.0 is out! ( http://www.debian.org/ )
Email:  Herbert Xu ~{PmV>HI~} <herbert@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt



Reply to: