[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



* Giuseppe Sacco <giuseppe@eppesuigoccas.homedns.org> [2004-05-03 22:40]:
> d-i downloaded all base packages and selected kernel 2.6.3-1-i386
> but then it stopped for thid problem:
> 
> 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.
> [...]

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?
-- 
Martin Michlmayr
tbm@cyrius.com



Reply to: