External commands not found in initramfs

michael michael at araneidae.co.uk
Tue Feb 17 13:09:47 UTC 2009


On Tue, 17 Feb 2009, Pedro Aguilar wrote:
> After loading the initramfs, I have some external commands (not part of
> busybox) that I want to execute, but I'm getting the following error:
> 
> # /usr/bin/my_command
> sh: /usr/bin/my_command: not found
> 
> I'm sure the commands are inside the initramfs :)
> 
> Do you have any idea of what it is causing this behaviour?
> Am I missing something?

One possibility which has bitten me: is it possible that some of the 
libraries needed by my_command are missing?  That seems to be the loader's 
friendly way of saying "some random important file not found"!


More information about the busybox mailing list