This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | |
ubuntu_on_termux [22.11.2020 10:48] – Pascal Suter | ubuntu_on_termux [22.11.2020 10:50] (current) – Pascal Suter |
---|
proot-distro login ubuntu-20.04 | proot-distro login ubuntu-20.04 |
or we can run proot manually to give us some more customizability. for example: | or we can run proot manually to give us some more customizability. for example: |
| unset LD_PRELOAD |
distro=ubuntu-20.04; proot --link2symlink -0 -r $distro/ -b /dev -b /proc -b /sys -b $distro/tmp:/dev/shm -b /data/data/com.termux -b /:/host-rootfs -b /sdcard -b /storage -b /mnt /usr/bin/env -i HOME=/root PATH=/usr/local/sbin:/usr/local/bin:/bin:/usr/bin:/sbin:/usr/sbin:/usr/games:/usr/local/games TERM=\$TERM LANG=C.UTF-8 /bin/bash --login | distro=ubuntu-20.04; proot --link2symlink -0 -r $distro/ -b /dev -b /proc -b /sys -b $distro/tmp:/dev/shm -b /data/data/com.termux -b /:/host-rootfs -b /sdcard -b /storage -b /mnt /usr/bin/env -i HOME=/root PATH=/usr/local/sbin:/usr/local/bin:/bin:/usr/bin:/sbin:/usr/sbin:/usr/games:/usr/local/games TERM=\$TERM LANG=C.UTF-8 /bin/bash --login |
| |
| |