Hi,
I'm issuing a similar problem on a similar configuration (Gentoo, /var
and /usr on LVM2, initng-0.6.7 and SVN ifiles). After some
investigation, I managed to solve the LVM problem by editing some .i
files that way:
in /etc/initng/system/mountroot.i, edit system/mountroot/check to be
like that (just move system/mountroot/lvm from 'use' to 'need'):
service system/mountroot/check {
need = system/initial system/mountroot/lvm;
use = system/mountroot/evms system/mountroot/dmsetup;
...
}
I also had to remove system/modules/lvm and system/modules/lvm-mod
from system/mountroot/lvm need since lvm is compiled in and it was
causing circular dependencies.
That way, vgscan should be run before fscking your logical volumes,
avoiding errors like '/dev/vg/pv invalid or missing'.
(maybe I also made some changes I don't remenber right now...)
The problem I'm facing right now is that agetty can't be run: I get
errors during startup stating something like "can't find a MATCH for
provide = virtual/getty/${NAME}" (I just forgot the exact message
while I was typing this mail... :| ).
Good luck,
Guillaume
2006/6/22, Bo Ørsted Andresen <[EMAIL PROTECTED]>:
> Hi
>
> I am new on this list. I am trying to get initng working on Gentoo with lvm2.
> At this point I have added among others system/net, system/mountroot and
> system/mountroot/lvm to the default runlevel.
>
> When I try to boot using initng I get a lot of messages telling me to run
> ngc -R to clear some cache. I also get messages about circular dependencies
> on system/mountroot/mountrw and missing dependencies like virtual/net and
> system/modules/lvm.
>
> I haven't figured out a way to copy the messages so therefore the lack of the
> output. I would have to type them manually. Everything except a small /
> (root) partition and /boot is on lvm2 and for the reasons above vgscan and
> vgchange doesn't get run so that makes the system pretty unuseable.
>
> When I run ngc -R after a failed boot (after having typed the root password
> for maintainance) nothing happens. When I run it after booting with init I
> get the following result:
>
> # ngc -R
> Error connecting to initng socket
>
> Any hints or help would be appreciated. I installed initng from the initng
> overlay for Gentoo and followed [1].
>
> [1] http://www.initng.org/wiki/Install_Gentoo
>
> --
> Bo Andresen
>
>
> --
> _______________________________________________
> Initng mailing list
> [email protected]
> http://jw.dyndns.org/mailman/listinfo/initng
>
>
>
>
--
_______________________________________________
Initng mailing list
[email protected]
http://jw.dyndns.org/mailman/listinfo/initng