On Fri, 5 Mar 1999, Moran Cohen wrote:

>
>
>I have been playing with my linux lately, and decided to
>
>have a little fun and try build a linux partition that can go as far
>
>as
>
>at least running a shell.
>
>so, i compiled a kernel on my Slackware partition, compiled sysvinit,
>
>copied whatever was needed to the new partition
>
>(libc with which init was compiled, agetty, /etc/*, ld.so, basic
>commands
>
>like mount mv cp rm ls)
>
>after i did all the above, I ran lilo and booted into the partition.
>
>the kernel booted OK but it wouldn't find /sbin/init (which was there
>
>with all permissions ok)
>
>Where was i wrong ???
>Bye,
>  Moran Cohen

afait you did everything right, except copy the required libraries there.
Try this to find them:

find /the/mounted.new.partition -type f -exec ldd {} \; \
sort | uniq | tee required_libs.txt | less

Then copy all these libs into the /lib directory of the new partition. You
also need to adjust ld.so.conf to match. Please read the manual ld.so(8)

;)

        Peter

Reply via email to