On Wed, Mar 04, 2020 at 03:24 PM, rohini chahar said:
> I copied a new Busybox binary to /bin path and from then
> onwards not able to do anything. No LINUX commands are working.

You've given us precious little information to help you diagnose
or fix this problem.  

1) One generic solution is to boot the system with a live-usb or
live-cd/dvd and use the live system to fix the problem, perhaps
by restoring /bin/busybox.

2) If you can't boot live then another generic solution is to
remove the hard drive, install it in an external enclosure or
directly into another system and then repair it from there.

If /bin/busybox does not have execute permissions and you are
relying on it for most of your commands then this could be a
problem.  The two generic solutions I gave may be the only ways
out of this situation but there are a few of other possibilities:

3) If there is a working version of busybox on your system or
available to your system then you could try to use that version
to do repairs.  For example:

   /path/to/working/busybox chmod --help

4) If your busybox is dynamically linked then you can try running
it with this command:

  /lib/ld-linux-x86-64.so.2 /bin/busybox chmod --help 

The name of the ld-linux file may be different on your machine.

Good luck!


Be kind, James

    Listen, whatever you see and love--
    that's where you are.
                         -- Mary Oliver
_______________________________________________
busybox mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/busybox

Reply via email to