-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Thomas Ilnseher escribió:
> Ittay Dror wrote:
>> can i please get more assistance investigating this?
>>
>> how do initng and initrd interact? my initrd 'init' script finishes
> with 'switchroot'. is this the point when initng is run? can i exit
> after this?
> i don't think that initng interacts with your initrd (aka initramfs).
> 
> commonly, an initramfs does stuff like loading the appropriate drivers,
> and mounts the root filesystem.
> after this, it does something like this:
> 
> chroot /path/to/real/root
> exec /sbin/initng

Well, not exactly, there's a system call (pivot_root), that does the
job.
(busybox provides a command called pivot_root that makes use of it)

The sencuence should be:
  cd /path/to/real/root
  pivot_root . put/old/root/somewhere
  exec chroot . /sbin/initng


But there are other ways, like using linuxrc on the initrd, let it do
it's job, and then exit. The boot process continues like if no
initrd was there :), that's the best way, imho.

> your initscript is dead and buried once initng starts.

It should be...

> i've always used an initramfs together with initng, and never had
> trouble. but i'm running on an fairly old version of initng now.

It's not initng's fault. The problem may be related to nash or to his
initrd setup...

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (GNU/Linux)

iD8DBQFFr30n/mxY0+yOXJoRAkEOAJ95+nI8G0HjXhtIPG6YfDvER7aBjACfYbj+
PAQpEZahiHjWJQQlKVg/CS8=
=2qiW
-----END PGP SIGNATURE-----
-- 
_______________________________________________
Initng mailing list
[email protected]
http://jw.dyndns.org/mailman/listinfo/initng

Reply via email to