Gentoo Archives: gentoo-embedded

From: Kfir Lavi <lavi.kfir@×××××.com>
To: gentoo-embedded@l.g.o
Subject: Re: [gentoo-embedded] /sbin/init don't work
Date: Thu, 23 Dec 2010 09:08:04
Message-Id: AANLkTi=87HPqtRyNw79-64BjWR31By+Qb-v0f2Gwg_AJ@mail.gmail.com
In Reply to: Re: [gentoo-embedded] /sbin/init don't work by David Ford
1 On Thu, Dec 23, 2010 at 1:31 AM, David Ford <david@×××××××××.org> wrote:
2
3 > does /dev/console exist? is /sbin/init statically compiled? if it's a
4 > shell script, does /bin/sh (or /bin/bash etc) exist?
5 >
6 > On 12/22/2010 01:41 PM, Kfir Lavi wrote:
7 > > Hi,
8 > > I have created a small cross filesystem.
9 > > I have /sbin/init but the kernel is stuck in:
10 > > Freeing unused kernel memory: 284k freed
11 > >
12 > > I created a init script for testing and this init script work.
13 > > Why this /sbin/init don't work for me.
14 > >
15 > > I'm using baselayout 2 and openrc.
16 > >
17 > > Thanks,
18 > > Kfir
19 >
20 > Hi David,
21 Thanks for your replay.
22 I have bash, so if I run bash from the script bash will open a session.
23 I did a compilation of /sbin/init statically.
24 I don't have /dev/console, because udev didn't kickstart. My /dev is empty.
25 Maybe this is the problem. :-P
26 Is there a gentoo article that describe the must for loading a system?
27
28 Regards,
29 Kfir

Replies

Subject Author
Re: [gentoo-embedded] /sbin/init don't work Jan Kobler <eng1@×××××××××××××.de>
Re: [gentoo-embedded] /sbin/init don't work Arkadi Shishlov <arkadi.shishlov@×××××.com>