meefik / linuxdeploy

Install and run GNU/Linux on Android
https://meefik.github.io/linuxdeploy
GNU General Public License v3.0
5.21k stars 679 forks source link

chroot: can't execute '/bin/su': No such file #1252

Open alix78 opened 3 years ago

alix78 commented 3 years ago

hello

i have installed the latest versions of Linux Deploy 2.6.0 & BusyBox 1.31.1 ( both from githup.com). i dont use SuperSU, my root app is Magisk on Android 8.1, and i have allowed root usage for both BusyBox and LinuxDeploy.

installing the OS ( Debian Buster ) was fine without errors.. but i can not use the app i get the following errors when i start:


[15:27:20] >>> start
[15:27:20] Checking file system ... done
[15:27:20] Mounting the container: 
[15:27:20] / ... done
[15:27:20] /proc ... done
[15:27:20] /sys ... done
[15:27:20] /dev ... done
[15:27:20] /dev/shm ... done
[15:27:20] /dev/pts ... done
[15:27:20] /dev/fd ... done
[15:27:20] /dev/tty ... done
[15:27:20] /dev/net/tun ... done
[15:27:21] ## bootstrap/rootfs : do_start
[15:27:21] ## bootstrap/debian : do_start
[15:27:21] ## core/emulator : do_start
[15:27:21] ## core/motd : do_start
[15:27:21] ## core/hosts : do_start
[15:27:21] ## core/hostname : do_start
[15:27:21] ## core/mnt : do_start
[15:27:21] :: Configuring core/mnt ... 
[15:27:21] /data/user/0/ru.meefik.linuxdeploy/files/bin/linuxdeploy: eval: line 12: can't create /data/local/mnt/etc/mtab: nonexistent directory
[15:27:21] ## core/net : do_start
[15:27:21] :: Configuring core/net ... 
[15:27:21] /data/user/0/ru.meefik.linuxdeploy/files/bin/linuxdeploy: eval: line 25: can't create /data/local/mnt/etc/resolv.conf: nonexistent directory
[15:27:21] /data/user/0/ru.meefik.linuxdeploy/files/bin/linuxdeploy: eval: line 28: can't create /data/local/mnt/etc/resolv.conf: nonexistent directory
[15:27:21] /data/user/0/ru.meefik.linuxdeploy/files/bin/linuxdeploy: eval: line 28: can't create /data/local/mnt/etc/resolv.conf: nonexistent directory
[15:27:21] ## core/timezone : do_start
[15:27:21] ## core/su : do_start
[15:27:21] ## core/locale : do_start
[15:27:21] ## core/aid : do_start
[15:27:21] ## core/profile : do_start
[15:27:21] ## core/sudo : do_start
[15:27:21] ## core/unchroot : do_start
[15:27:21] ## core : do_start
[15:27:21] ## bootstrap : do_start
[15:27:21] ## desktop/desktop-base : do_start
[15:27:21] ## extra : do_start
[15:27:21] ## desktop/dbus : do_start
[15:27:21] :: Starting desktop/dbus ... chroot: can't execute '/bin/su': No such file or directory
[15:27:21] fail
[15:27:21] ## desktop/lxde : do_start
[15:27:21] ## desktop : do_start
[15:27:21] ## extra/ssh : do_start
[15:27:21] :: Starting extra/ssh ... ls: /data/local/mnt/etc/ssh/: No such file or directory
[15:27:21] chroot: can't execute '/bin/su': No such file or directory
[15:27:21] chroot: can't execute '/bin/su': No such file or directory
[15:27:21] fail
[15:27:21] ## graphics/vnc : do_start
[15:27:21] :: Starting graphics/vnc ... chroot: can't execute '/bin/su': No such file or directory
[15:27:21] fail
[15:27:21] ## graphics : do_start
[15:27:21] <<< start
brinjaul commented 2 years ago

me too

cold9999 commented 2 years ago

check magiskhide