From: David Huggins-Daines <dhuggins@cs.cmu.edu>
To: openembedded-devel@openembedded.org
Subject: /linuxrc link to /bin/busybox causes booting to fail (sysvinit should be used instead)
Date: Fri, 03 Apr 2009 16:44:57 -0400 [thread overview]
Message-ID: <49D67549.7040001@cs.cmu.edu> (raw)
Hi,
When booting base-image or minimal-image from a ramdisk, I get errors
like the following:
RAMDISK: Compressed image found at block 0
VFS: Mounted root (ext2 filesystem) on device 1:0.
init started: BusyBox v1.13.2 (2009-04-03 15:54:42 EDT)
Bad inittab entry at line 5
can't open /dev/si: No such file or directory
can't open /dev/~~: No such file or directory
can't open /dev/l0: No such file or directory
can't open /dev/l1: No such file or directory
can't open /dev/l2: No such file or directory
can't open /dev/l3: No such file or directory
can't open /dev/l4: No such file or directory
can't open /dev/l5: No such file or directory
can't open /dev/l6: No such file or directory
can't open /dev/z6: No such file or directory
can't open /dev/S: No such file or directory
process '/sbin/sulogin' (pid 167) exited. Scheduling for restart.
process '/sbin/getty 57600 ttyAM0' (pid 168) exited. Scheduling for restart.
This is because, even though /sbin/init points to /sbin/init.sysvinit,
there is also a /linuxrc -> /bin/busybox link, which the kernel uses in
preference, causing busybox to run as 'init'. The problem is that
busybox init uses a different syntax from sysvinit.
I think this problem might have started when inittab support was added
to busybox...
Is there a good reason for that /linuxrc link? And if not, where is it
coming from, so that I can remove it?
Thanks!
next reply other threads:[~2009-04-03 21:58 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-04-03 20:44 David Huggins-Daines [this message]
2009-04-03 23:03 ` /linuxrc link to /bin/busybox causes booting to fail (sysvinit should be used instead) Denys Dmytriyenko
2009-04-04 6:36 ` Koen Kooi
[not found] <mailman.55349.1238837263.4692.openembedded-devel@lists.openembedded.org>
2009-04-07 14:37 ` /linuxrc link to /bin/busybox causes booting to fail, " David Huggins-Daines
2009-04-07 17:24 ` Denys Dmytriyenko
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=49D67549.7040001@cs.cmu.edu \
--to=dhuggins@cs.cmu.edu \
--cc=openembedded-devel@lists.openembedded.org \
--cc=openembedded-devel@openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox