how to install linux into a directory on extSdCard?
I tried to install Linux in a directory on micro usb, it has 2 partitions, fat32 (for files) and ext4 (for redirecting applications through apps2sd). If I select a directory in the installation menu and set the path / storage / extSdCard / linux, the installation ends at extractions, but if I choose the path $ {EXTERNAL_STORAGE} / linux, Linux will be installed but the memory is only 699 mb but I have 5 GB free, if I select the partition then it will stop at the moment of checking installation path ... Fail.But if I choose custom then: Mounting the container: / ... fail <<< deploy. What should i do or what am i doing wrong?
I found one solution to create another ext4 partition (it’s important) and in the installation type specify the partition and the path /dev/block/mntblk1p3 (3 because I already have 2 partitions).I will see another solutions to install linux into a directory without problems.
See https://github.com/meefik/linuxdeploy/wiki/Install-on-external-storage-with-newer-versions-of-Android-(Storage-Access-Framework) for a working solution.