I have a device with hardware errors in the internal sd card and want to move /data entirely to the external sd card. I was thinking that it should be possible to create a partition in external sd-card and use it instead of the default partition for /data/ so that only system partition (which is read only ) will remain on the internal SD-card and this will reduce the chance of errors.
How can I change the initial mount options to make android mount /data from external SD card. ?
EDIT: One solution is fstab modification,In Linux PC it's quite simple, modifying /etc/fstab. will it work on the equivalent fstab for android ?