Closed ZhymabekRoman closed 3 years ago
@ZhymabekRoman It seems Debootstrap attempts to create device nodes. normally creating device nodes requires root access nor not supported in android (even inside the /data directory). and i think android mounts /data
directory as nodev
mount, so that's most likely that mknod
command won't work. debootstrap needs to be fixed here (further reading)
Try using linux deploy then use Debootstrap there (well I'm not sure it that works also).
And it seems proot-distro
cannot be run as root user. so you can't Debootstrap inside proot
Debootstrap here tried to use mknod
to create device nodes (which is not allowed for unprivileged processes nor usable within /data
. There probably won't be emulation of that in proot, use Termux's patched debootstrap (available from Termux apt) instead of installing debootstrap inside proot-distro.
(If you want you might use debootstrap to create rootfs in home of proot-distro
($PREFIX/var/lib/proot-distro/installed-rootfs/ubuntu/home
), although I'm not sure if that would be usable)
Ohhh, OK, thanks !
Hello. I use proot-distro, Ubuntu 20. And debootstrap won't work :
What data do I need to provide so that you can solve the problem ?