> Hey everyone
> I am making a very small system that fits on a 128MB CF card, and think I
> have it in a almost bootable state. This morning was the first time I
> tried booting it on the SBC that I am using, and it starts loading up, but
> I get the following message:
> Bad inittab entry: id:3:initdefault:
> Bad inittab entry: rc::bootwait:/sbin/rc boot
> I am using busybox if that might have anything to do with it.
It might very well be. The init command contained in busybox understands
just a tiny subset of what is possible with the ordinary version.
If you look into the comments of my inittab-file you see, that
"initdefault" and "bootwait" are not in the list of supported actions.
Where did you get your /etc/inittab file from?
Can you just post your /etc/inittab ?
Quote:> Also, I
> couldnt figure out how to cross compile it, since I dont want to use
Why not? uclibc allows for pretty small systems. In my case I have only
4Mb of memory and the system fits into just about 2MB. This already
includes a webserver and the ability to communicate via tcp/ip.
Quote:> When I select cross compilation in the config, it defaults to
> uClibc. I do not know how to compile it for i386, so it is compiled for
In any case you need a properly configured gcc-toolchain with your desired
target compiled in.
PS: The /etc/inittab o my SBC looks like this:
# modifiziert for lara -<(kmk)>-
# Note: BusyBox init doesn't support runlevels. The runlevels field is
# completely ignored by BusyBox init. If you want runlevels, use
# Format for each entry: <id>:<runlevels>:<action>:<process>
# id == tty to run on, or empty for /dev/console
# runlevels == ignored
# action == one of sysinit, respawn, askfirst, wait, and once
# process == program to run
# main rc script
# main setup program
# convenience shell
# set up stuff for logging
null::sysinit:/bin/dmesg > /dev/tty4
#tty3::respawn:/usr/bin/tail -f /var/log/messages
#tty4::respawn:/usr/bin/tail -f /proc/kmsg
# Stuff to do for the 3-finger salute
# Stuff to do before rebooting
null::shutdown:/bin/umount -a -r