termux / proot-distro

An utility for managing installations of the Linux distributions in Termux.
GNU General Public License v3.0
1.78k stars 209 forks source link

[Distribution]: mount ext4 partiton 2nd from sdcard for distro #430

Closed locdhthtb closed 3 months ago

locdhthtb commented 3 months ago

Description

device:

i have rooted Samsung tab s7 fe , 64GB internal

sd card :

partion on sd card: /dev/block/mmcblk1p1 => exfat /dev/block/mmcblk1p2=> ext4

Can i mount partion ext4 for path ?

 mount   /dev/block/mmcblk1p2   /data/data/com.termux/files/usr/var/lib/proot-distro/installed-rootfs/ubuntu

Home page URL

https://github.com

Root file system archive URL

No response

Does 64bit ARM builds available (arm64, aarch64)?

sylirre commented 3 months ago

Proot distro doesn't provide root features. I don't use root myself and unlikely going to acquire it, therefore no root-based features scheduled for development or testing.

You can mount the wanted directories manually. However since you are going to use actually proot (not chroot), the ownership of files on Ubuntu partition must be same as for all Termux files. Additionally you may need to run

/system/bin/restorecon -R /data/data/com.termux/files/usr/var/lib/proot-distro

in order to set proper SELinux labels.