* Johann Schmitz <[EMAIL PROTECTED]> wrote:

Hi,

> Enrico Weigelt schrieb:
> | BTW: I've tried to start some services within the sysroot, but that
> | tried to mount/check the rootfs and of course failed :(
> | Should I trick init.d to think these services were already started ?
> 
> NO! Doing this will cause that spooky things happen!

Yep, it's tricky, eg. some service script tend to do simply nothing.
I'll still have to hack some bit to trick the init.d stuff ;-o

> Here is a working gentoo-sources kernel config for a DS 3000:
> http://files.j-schmitz.net/2.6.24-gentoo-r3.config

Thx. I'll have a try. 

But I the kernel doesnt seem to be the (only) blocker. 
My current configuration is: 

* Hetzner's debian image on sda 
* gentoo on sdb (root: sdb1)

If I try the debian kernel w/ /dev/sdb1 as root, nothing comes up, 
even not a single write on disk (also tweaked to /sbin/rc to touch
a file, but that doesnt happen).

Then I tried another init program on the debian system - it's just
a little script which does a few mounts and touches and then 
calls /sbin/init. With the debian system, perfectly fine, but 
chroot'ing to the gentoo system doesnt seem to work.

For example, the script contains a line:

chroot /gentoo ls -la / 2>&1 > /FOO

that file is created, but empty.

hmm, perhaps I'll have to use absolute pathes ... ;-o


cu
-- 
---------------------------------------------------------------------
 Enrico Weigelt    ==   metux IT service - http://www.metux.de/
---------------------------------------------------------------------
 Please visit the OpenSource QM Taskforce:
        http://wiki.metux.de/public/OpenSource_QM_Taskforce
 Patches / Fixes for a lot dozens of packages in dozens of versions:
        http://patches.metux.de/
---------------------------------------------------------------------
-- 
gentoo-user@lists.gentoo.org mailing list

Reply via email to