..

samedi 4 avril 2015

error in link2sd, 2nd partition not mounted. (android lollipop) topic


hi,

i've partitioned my sdcard to fat32(6gb) and ext2(2gb) using aparted. after installing, link2sd, error says, "mount script can not be created. no such device. mount: no such device". i repartition my sdcard using mini partition wizard and set both partition to primary using the same file system as stated earlier, but still the error occur. i tried to manually create mount file /etc/init.d/11link2sd, then change then chmod to 777 using terminal emulator(busy box is installed).

11link2sd contains:

mount -t ext2 -o rw /dev/block/mmcblk1p2 /data/sdext2
(i also tried to execute it this command in terminal emulator, but it says, device does not exist). /data/sdext2 folder exist.

other 11link2sd scripts that i have tried also doesn't work.
-------------------------------------------------
#!/system/bin/sh
#added by link2sd
LOG=/data/link2sd-11link2sd.log
echo "$(date) mounting..." > $LOG

# Leave out "/external_sd" if you are using your internal SD card.
# And check the path, it may be different for your ROM.
mount -o bind /dev/block/mmcblk1p2 /data/sdext2 1>>$LOG 2>>$LOG

mount >> $LOG
echo "$(date) mount finished" >> $LOG


int.d folder is not present so i created it manually(as stated in some post).
i also installed Smanager to run the script at boot.

when i do cat /proc/partitions, it shows that mmcblk1p2(2nd partition of sdcard).

a youtube video says that converting link2sd to system app will fix the problem, however i can not convert link2sd to system app. (i removed some system apps to free up space).

device: rooted myphone uno (android 5.1 lollipop).

thanks.

xda-developers