[1.16.2] "reboot" -> "No such file or directory"?

Ed W lists at wildgooses.com
Fri Jul 1 07:41:24 UTC 2011


On 30/06/2011 16:19, Gilles wrote:
> However when I run /bin/reboot, I get this:
> ================
> root:/bin> ./reboot
> reboot: No such file or directory
> ================

I might be on the wrong track, but just a heads up:

You get this error message when you run some script which a shebang that
points to (say) bash (#!/bin/bash).

So it's possible that reboot binary is trying to execute some shell
script which either doesn't exist or has a broken reference to
bash/perl/python or some other interpretor which isn't installed.

This has baffled me enough in the course of building my little distro
that I'm starting to remember what it means when I see it now.
Confusingly it can occur a few layers down in the execution order and be
tricky to figure out...

Good luck

Ed W


More information about the busybox mailing list