Magisk-Modules-Repo / KaliNethunter

KaliNethunter
304 stars 59 forks source link

Installing chroot fails: no `/sdcard/kali-chroot.img` and `/bin/bash` #8

Open rhlobo opened 5 years ago

rhlobo commented 5 years ago

Device: nexus 5 || ROM: LineageOS 16 || Android Version: 9.0 || Magisk: 19.3

    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 5 years ago

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.