[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: darn bootdisk making





On Thu, 2 Mar 2000, Cloudmaster wrote:
> I'm having a problem with my bootdisk.
> 
> So, I've got a kernel that works loading a compressed filesystem from a
> single floppy, and all the binaries I'll be needing (so far) are provided by
> busybox.  Well, I also need ifconfig, route, and ipchains (which I suppose
> will eventually require me to go to libc.so.6)... Of course, I also need a
> shell.
> 
> This is where I'm having a problem.  I've got a dynamic ash linked against
> libc.so.5 ('cause it's a lot smaller than 6).  It's in /bin/sh and there's a
> hard link from /bin/ash to /bin/sh as well.  Busybox's  init works fine, but
> it gives me a no-such-file-or-directory problem when it tries to run
> /etc/init.d/rcS.  I'm presented with the same problem when it tries to run
> /bin/sh (the default shell).  I'm guessing something is going awry with my
> shell, 'cause the rcS script starts with #!/bin/sh too.  My first guess is
> that I have a problem with my libraries, but I'm not sure.
> 
> I've run ldconfig -r /tmp/mount with the image mounted on /tmp/mount, and
> /etc/ld.so.cache is being created (it looks right).  In the hopes that
> someone will see what I'm missing, here's a list of the files on that image
> (with empty dirs cut out). It's driving me mostly crazy trying to figure out
> what's going on...

I don't see what you are doing wrong, but have you tried using a
statically link ash? 

Mark


--
To unsubscribe, send email to majordomo@luci.org with
"unsubscribe luci-discuss" in the body.