help with init not found error

Tosif Ahmed tosifahamed at gmail.com
Sat Apr 21 05:49:52 UTC 2007


I am still not able to get past this particular error, the following
messages are coming on the screen

VFS: mounted root (romfs filesystem) Read only
Freeing unused kernel memory : 120k freed
Failed to execute /bin/msh. Attempting defaults ...
Kernel panic - not syncing: no init found. Try passing init=option to kernel

this is how i went abut making my filesystem

1.) I did a make gconfig in busybox directory

2.) I chose to statically build busybox, and i opted for a standalone shell
and msh as my default shell, and opted other utilities i wanted in my
system. Then i just did a make

3.) I then made a seperate directory(mysys), and made all the system
directories like bin, etc, dev, etc... in it

4.) then i copied the busybox executable from the busybox directory in the
bin directory, and made links to busybox executable by execting ln busybox
ls, ln busybox cp ...

5.) after making all the links and putting the startup scripts in etc

6.) I made the romfs filesystem with genromfs -d mysys -f filesys, then i
compressed this filesystem

7.) After this i installed the syslinux bootloader in the USB disk, copied
the kernel the filesystem in the USB disk.and also the syslinux.cfg file
with the contents

TIMEOUT 20
DEFAULT linux
LABEL linux
    KERNEL linux
    APPEND initrd=filesys.gz root=/dev/ram0 init=/bin/msh

After all this i booted the USB and ot the error i mentioned above.

Can anyone plzz tell mr where i am going wrong or wat i am missing?? I am
new to all this, so i know i am making a stupid mistake but really not able
to figure out wat the mistake is.

-- 
Tosif Ahmed
AIT, Pune
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.busybox.net/pipermail/busybox/attachments/20070421/d02620b7/attachment-0001.htm 


More information about the busybox mailing list