Thread
:
[HowTo][WIP] use real sdcard as home-partition and/or for android data
View Single Post
kaippari
2015-02-24 , 18:27
Posts: 3 | Thanked: 0 times | Joined on Feb 2015
#
90
In the latest pre-release 1.1.2.15 Yliaavanlampi I needed to do a couple of changes to get android stuff working from the sdcard.
First one in the mount-sd.custom.sh:
ACTION=$1
if [ "$ACTION" = "add" ]; then
mount /dev/mmcblk1p1 /mnt/sd
mount -o bind /mnt/sd/.home /home/nemo
mount -o bind /mnt/sd/.android
/data/media
else
umount
/data/media
umount /home/nemo
umount /mnt/sd
fi
this seems to be only one of possible ways.
Then /opt/alien/system/alien.sh as chem|st developed :
move word 'data' from this line (19 in the file) to the next for statement
for d in bin sbin lib usr var etc tmp home vendor
data
; do
if [ "" == "$(grep $ROOT/$d /proc/mounts)" ]; then
echo "mount $ROOT/$d"
mount --bind /$d $ROOT/$d
fi
done
for d in dev sys run
data
; do
if [ "" == "$(grep $ROOT/$d /proc/mounts)" ]; then
echo "mount $ROOT/$d"
mount --rbind /$d $ROOT/$d
fi
done
Quote & Reply
|
kaippari
View Public Profile
Find all posts by kaippari