Installing chroot fails: no `/sdcard/kali-chroot.img` and `/bin/bash`
rhlobo opened this issue · 1 comments
rhlobo commented
Device: nexus 5
|| ROM: LineageOS 16
|| Android Version: 9.0
|| Magisk: 19.3
- Installing KaliNethunter module went OK
- On the
Nethunter app
>>Kali Chroot Manager
>>Install Kali Chroot
--Download
does not work, given error:no valid pins found in chain
--From sdcard
seems to work at first, log shows no errors after extraction, but (after rebooting)install & update
andkali terminal
both fail. Recorded the screen to get the errors:
Mounting kali chroot...
mount: mounting /sdcard/kali-chroot.img on /data/local/nhsystem/kali-armhf failed: No such file or directory
[+] mounted /dev
[+] mounted /dev/pts
mount: mounting tmpfs on fdata/local/nhsystem/kali-armhf/dev/shm failed: No such file or directory
[+] mounted /proc
[+] mounted /sys
[+] mounted /system mount: mounting /system/lib/modules on /data/local/nhsystem/kali-armhf/lib/modules failed: No such file or directory
sysctl: error: 'kernel.shmmax' is an unknown key
sysctl: error: 'kernel.shmmax' is an unknown key
Which leads to:
chroot: can't execute '/bin/bash': no such file or directory
Terminal closes afterwards.
Tryed with several kali-full.tar.xz
, but always have the same problem.
I am able to test other things, but need a direction.
Any help will be appreciated...
rhlobo commented
Minimal Chroot did the job, terminal opens, but phone crashes when trying to use some tools, or even apt-get install kali-linux-nethunter
(updated before).
Will reinstalling everything from zero.