Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
rhlobo opened this issue Jul 7, 2019 · 1 comment
Open

Comments

@rhlobo
Copy link

rhlobo commented Jul 7, 2019

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 and kali 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 rhlobo changed the title Install chroot fails: no /sdcard/kali-chroot.img and /bin/bash Installing chroot fails: no /sdcard/kali-chroot.img and /bin/bash Jul 8, 2019
@rhlobo
Copy link
Author

rhlobo commented Jul 8, 2019

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant