[Top] [All Lists]

Re: Executing Programs from initrd

To: Patrick Fisher <>
Subject: Re: Executing Programs from initrd
From: Keith M Wesolowski <>
Date: Fri, 4 May 2001 20:00:51 -0700
In-reply-to: <019801c0d50c$32024fb0$2dd75b82@serendipity>; from on Fri, May 04, 2001 at 10:36:31PM -0400
References: <019801c0d50c$32024fb0$2dd75b82@serendipity>
User-agent: Mutt/1.2.5i
On Fri, May 04, 2001 at 10:36:31PM -0400, Patrick Fisher wrote:

>     However, I can't run any binaries other than this one and the shell.  I
> wrote an additional Hello World program in C, compiled it for mipsel, and
> put it in the ramdisk.  The executable is definitely there when I boot on
> the nino - I can send it all to the serial console and see that it exists.
> However, any attempt to execute it returns "No such file or directory".

Did you compile with -static?  If not, the system will attempt to load
it with /lib/  Do you have that file?  Is it executable?  What
about libc?

If you have a file starting with

#! /bin/fux0r

and /bin/fux0r does not exist, the execution will fail with that exact
error.  In fact from the system's point of view it's the same thing
with /lib/ instead of /bin/fux0r.

Keith M Wesolowski <>
------(( Project Foobazco Coordinator and Network Administrator ))------
        "Nothing motivates a man more than to see his boss put
         in an honest day's work." -- The fortune file

<Prev in Thread] Current Thread [Next in Thread>