1 |
* Johann Schmitz <johann@×××××××××.net> wrote: |
2 |
|
3 |
Hi, |
4 |
|
5 |
> Enrico Weigelt schrieb: |
6 |
> | BTW: I've tried to start some services within the sysroot, but that |
7 |
> | tried to mount/check the rootfs and of course failed :( |
8 |
> | Should I trick init.d to think these services were already started ? |
9 |
> |
10 |
> NO! Doing this will cause that spooky things happen! |
11 |
|
12 |
Yep, it's tricky, eg. some service script tend to do simply nothing. |
13 |
I'll still have to hack some bit to trick the init.d stuff ;-o |
14 |
|
15 |
> Here is a working gentoo-sources kernel config for a DS 3000: |
16 |
> http://files.j-schmitz.net/2.6.24-gentoo-r3.config |
17 |
|
18 |
Thx. I'll have a try. |
19 |
|
20 |
But I the kernel doesnt seem to be the (only) blocker. |
21 |
My current configuration is: |
22 |
|
23 |
* Hetzner's debian image on sda |
24 |
* gentoo on sdb (root: sdb1) |
25 |
|
26 |
If I try the debian kernel w/ /dev/sdb1 as root, nothing comes up, |
27 |
even not a single write on disk (also tweaked to /sbin/rc to touch |
28 |
a file, but that doesnt happen). |
29 |
|
30 |
Then I tried another init program on the debian system - it's just |
31 |
a little script which does a few mounts and touches and then |
32 |
calls /sbin/init. With the debian system, perfectly fine, but |
33 |
chroot'ing to the gentoo system doesnt seem to work. |
34 |
|
35 |
For example, the script contains a line: |
36 |
|
37 |
chroot /gentoo ls -la / 2>&1 > /FOO |
38 |
|
39 |
that file is created, but empty. |
40 |
|
41 |
hmm, perhaps I'll have to use absolute pathes ... ;-o |
42 |
|
43 |
|
44 |
cu |
45 |
-- |
46 |
--------------------------------------------------------------------- |
47 |
Enrico Weigelt == metux IT service - http://www.metux.de/ |
48 |
--------------------------------------------------------------------- |
49 |
Please visit the OpenSource QM Taskforce: |
50 |
http://wiki.metux.de/public/OpenSource_QM_Taskforce |
51 |
Patches / Fixes for a lot dozens of packages in dozens of versions: |
52 |
http://patches.metux.de/ |
53 |
--------------------------------------------------------------------- |
54 |
-- |
55 |
gentoo-user@l.g.o mailing list |