Hmmm, I think you need /sbin/init also. Just copy /sbin/init from same distro. Dont forget to check libs with ldd. BTW, the process is like this. When you start loadlin, kernel is loaded in ram and control is transferred to kernel. The kernel does hardware detection and starts /sbin/init. If any parameter is passed to init, then it is executed, else init looks for /etc/inittab and runs as per configuration. You can pass a shell script to init, which can launch a single application like apache. Never tried but should work. Regards, Mukund Deshmukh Beta Computronics Pvt. Ltd. Web site - http://betacomp.com
-----Original Message----- From: Pat <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] <[EMAIL PROTECTED]> Date: Thursday, January 24, 2002 4:08 PM Subject: [LIH] Re: Intermixing Binaries > > >From: "mukund" <[EMAIL PROTECTED]> > > >NO, > >you only need a device entry in /dev where your >linux > >partiton would be like /dev/hda1 > >you can crate it with mknod also > >mknod X Y /mnt/tmp/dev/hda4 > > >where /mnt/tmp/ is the partiton you are creating >and X > > and Y are the numbers you get when you run > >ls -al /dev/hda4 > >Mukund, I did followed above step, but there must be >something terribly missing from either you or me. > >I deleted the /dev/hda4 partition & again followed yr >instructions carefully. Would you kindly check yr >steps please ? What linux distro you used for creating >the small distro ? May be some problem with Debain >libs etc...? > >By the way when I used "mknod X Y /mnt/tmp/dev/hda4" >as suggested by you, it flashed the error - "Wrong No. >of >arguments - Check 'mknod --help' for more details " > >"ls -al /dev/hda4" gave me : > >brw-rw---- 1 root dsik 3, 4 Nov 30 2000 /dev/hda4 > > >So I tried this successfully :- > >mknod /mnt/tmp/hda4 b 3 4 > >Is it OK - i.e. "b 3 4" ? > _______________________________________________ linux-india-help mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/linux-india-help
