On Tue, 2003-01-21 at 23:04, Michael Sternberg wrote: > Hello > I'm trying to make kernel to start a different > application instead of /sbin/init. So, I passing > init=/bin/sh in kernel command line. I actually > can see this setting in messages emitted by kernel. > But from some reason the kernel starts a real > /sbin/init and ignores my setting. > > Last strings from kernel were: > > VFS: Mounted root (jffs2 filesystem). > Freeing unused kernel memory: 52k init > > and then the real init starts. > > What can be the problem ?
Are you sure that you are booting straight into the *real* root file system and not going though initrd? Because if you are going through initrd, the kernel will run /linuxrc regardless of init settings (and rightfully so - it's not init).If Busybox is invoked via /linuxrc it will behave as init, I believe. Try passing "noinitrd" as a boot parameter and see what's happens. Gilad ================================================================= To unsubscribe, send mail to [EMAIL PROTECTED] with the word "unsubscribe" in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]