PDA

View Full Version : Command not found



44kia244
2014-09-24, 13:21
Device : Nexus 5
base ROM : Stock 4.4.4
Recovery : MultiROM-TWRP
Root Access : SuperSU
BusyBox : Stephen Sericson

All Option in Kali Launcher has Command not found errror. (bootkali, kalimenu, killkali, start-wifite)
Webserver Start & Stop have no effect. (still cannot find server)

Am I missed anything during installation ?

Sorry for my english.
thank

muts
2014-09-25, 23:09
Hard to know without additional info. Make sure busybox is installed well, and perhaps try to provide more informative debugging info, or any observations you make while looking at the problem.

awesomo4000
2014-09-28, 12:02
I get a similar problem (nexus 2013 wifi) . When loading the kali terminal:
chroot: can't execute '/bin/bash': No such file or directory

bash is nowhere on the filesystem. Where should it be installed from?

vulneraman
2014-09-28, 18:07
I have the same problem, it seems that the chroot is not working. When launching the terminal "chroot: can't execute '/bin/bash': No such file or directory, also can't run sudo.

My device is Nexus 7 2012 Wifi and the Busybox 1.22.1 is working fine.

eskim
2014-09-29, 11:43
Have same problem.

chroot: can't execute '/bin/bash': No such file or directory

At first I thought it was because busybox was installed at /xbin but after reinstall at /bin I got same error.

Nexus 7 2012 4.4.4
Unlocked
Rooted
TWRP

eskim
2014-09-29, 20:47
I have the same problem.

"cmd not found"

Maybe "setup guide" is based on fresh install of stock ROM?

hucky
2014-09-30, 02:59
Hi, i have the same problem. Nexus 5, 4.4.4

binkybear
2014-09-30, 06:09
Could you verify that the kernel you are using is the kali one in settings?

muts
2014-09-30, 08:23
And make sure that busybox is installed well. Just to be sure, go back to the BusyBox app, and let it finish scanning...then press "install".

hucky
2014-09-30, 13:29
Yep,

The kernel version is 3.4.95-furnace-1.3.6
root@kali #1

By the way, I test every way to Busybox setting and not solve the problem.
I test to switch : ART -> Dalvik, no way.

eskim
2014-10-01, 21:08
Any solution?

hcac
2014-10-22, 17:51
Try this:

export SDCARD=/sdcard
export ROOT=$SDCARD/debian#Change This
export PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:$PATH
export HOME=/root
for f in dev dev/pts proc sys ; do mount -o bind /$f $ROOT/$f ; done
chroot $ROOT /bin/bash -l
This is the way I chroot to Debian
*Dont forget to change the ROOT variable.(e.g.: export ROOT=$SDCARD/kali-linux)
I think the problem is PATH variable (I guess).

Regards :D

clone
2015-01-07, 23:58
I got this today. From 1.09 I had no problem and did the fix earlier posted here for the issue with sdcard and captures.
Issued commands from chroot:
wget https://github.com/offensive-security/kali-nethunter/master/blob/menu/kalimenu -O /usr/bin/kalimenu
chmod +x /usr/bin/kalimenu and it broke. Figuring it was time to upgrade/flash anyway, I used the Windows Nethunter installer up to current. Kali menu in terminal is now broken as reported. One odd thing, I flashed the N7 expecting it to be wiped completely as the installer previously did. Everything updated but it retained all non-Nethunter data. Has this been fixed yet? I couldn't find a fix thread for it.
[edited] Restored to stock with NRT and reflashed NH 1.16 and everything is updated,looking clean! and working properly.