I am using a rooted Xperia Z5 Compact E5823 with the latest stock Android 6.0 ROM.
I am trying to use a 2nd partition with Link2SD but so far I always get the same "No such file or directory"-error:
Mount script error
Mount script cannot be created.
mount: mounting /dev/block/vold/179:66 on /data/sdext2 failed: No such file or directory
To format my microSD card I've used GParted under Debian with ext2
, 3
, and 4
, always as primary partition. I've also used TWRP recovery to format this 2nd partition. With this I have only tried ext3
, which my Debian recognizes as ext2
and there seems to be no way to choose which type of partition (I suppose they have primary as default). With TWRP I could also try ext4
but preferred to 1st post here.
I do see a /data/sdext2
folder with help of a root file browser. This folder is empty.
The "file" /proc/partitions
does show a 179 66 2000000 mmcblk1p2
entrance, which correspond to the second partition of my external SD card.
Link2SD has superuser permissions and its mount script /data/data/com.buak.Link2SD/init-link2sd.sh
looks like this:
set +e
echo "$(date) mounting..." > $LOG
sleep 2
mount -t ext2 -o rw /dev/block/vold/179:66 /data/sdext2 1>>$LOG 2>>$LOG
mount -t ext2 -o rw /dev/block/mmcblk1p2 /data/sdext2 1>>$LOG 2>>$LOG
mount >> $LOG
echo "$(date) mount finished" >> $LOG
chmod 773 /data/dalvik-cache