Azpen A727 - Link2SD won't mount scripts - Android Q&A, Help & Troubleshooting

I am using a stock ROM for the Azpen A727 and have been trying to install Link2SD on it. It is rooted using King root and that seems to be working OK. I partitioned a 15Gb sdcard as 7Gb ext4 and 8Gb fat32. When I open Link2SD I see the prompt for picking the file system so I select ext4 and it says the script was created so I reboot and the same thing happens again. I tried ext3/ext2 but when I try that Link2sD says "script failed to mount. Invalid argument". I have setup Link2sd on many other android devices without any problems but this Azpen stumped me. How can I get Link2SD to work?

Bump

Related

Link2sd cannot mount 2nd partition

i downloaded the latest link2sd from market.
im on mik's cm7 6.5.7, with franco v19.2
i created a 256 mb ext2 partition using TWRP recovery. ran link2sd, rebooted, didnt mount
everytime i get the messsage: "mount script created, restart ur phone.... If ur getting this message after restarting, this means the 2nd partition cannot be mounted automatically at boot"
i grew suspicious of twrp and prepartioned ext2 uing gparted on my pc (i was using the mount usb storage from the recovery since i dont hv a card reader). no success.
formatted partition as ext3. same result.
formatted as fat32. still nothing.
whats wrong? i can see the 2 partitions clearly when i connect it to pc
if you look in /etc/init.d with root explorer
you can see the the 11link2sd file???
you can try to put the file manually
chalomadek said:
if you look in /etc/init.d with root explorer
you can see the the 11link2sd file???
you can try to put the file manually
Click to expand...
Click to collapse
Just checked.the file is there. To see where's happening, I copied the file to sdcard and ran it manually with script manager.this is the output:
Code:
mount: mounting /dev/block/mmcblk0p2 on /data/sdext2
failed: Device or resource busy
what's this ?
noticed a strange thing. even though that error is occurring, the 2nd partition is actually getting mounted when i manually try the script. but it doesnt get mounted automatically at boot.
is there any way to see the logs or something of the scrpts run at boottime? franco has disabled logcat and dmesg in his kernel. any other way?
I partitioned through clockworkmod and link2sd is working fine.
If I remember right, I think it has to do with the order of partition. The EXT2 partition used by Links2SD had to be the first partition when I put it on my phone.
kannan66 said:
I partitioned through clockworkmod and link2sd is working fine.
Click to expand...
Click to collapse
i tried with cwm, but its not working. the script is right there in init.d folder, it does have executable permissions, and the partition does get mounted on executing the script manually, inspite of the "Device or resource busy" error. only problem is its not getting mounted at boot. doesnt make any sense to me.....
I'm using a 4gb class 2 sd. Does that have anything to do?
Also, after I reboot and mount manually, all the previously linked apps are gone, while I can still see the apks and dexs on my pc, on the 2nd partition
Try this. Uninstall link2sd, reboot, reinstall link2sd and convert your ext partition to ext3.
If by chance you had used some other linking tool like apps2sd etc., before trying link2sd, it could also cause 'loading at boot' problems.
Hope this helps
Reinstalled link 2 sd. Didn't help.finally I had to do a full wipe and reinstall cm7. Now it works
chalomadek said:
if you look in /etc/init.d with root explorer
you can see the the 11link2sd file???
you can try to put the file manually
Click to expand...
Click to collapse
where to put that file??
Tried all the above to no avail
I have an LG-D320. It worked fine when I first rooted it. After months of use, the sd went bad. Bought a new one and partitioned it. Again, everything was fine. Then it just stopped recognizing the second partition- ext2. I have since tried everything from repartitioning, unrooting and rerooting, linux swap partition, ext3, ext4, resetting to factory, upgrading with LG Mobile support tool, Checked out the script in the 11link2sd, installing init.d toggle as the init.d folder didn't exist, ... I still get "the 2nd partition cannot be mounted automatically at boot" no matter how often I uninstall/reinstall link2sd restart and the such. Seems to me that either the permissions are asque or the mount is wrong. I am really over my head with this one. Can anyone offer a solution, please? P.S. It mounts the fat 32.
Maybe the new one is defective.
Sent from my Samsung Galaxy S7 using XDA Labs
Sam
7paulairee7 said:
Tried all the above to no avail
I have an LG-D320. It worked fine when I first rooted it. After months of use, the sd went bad. Bought a new one and partitioned it. Again, everything was fine. Then it just stopped recognizing the second partition- ext2. I have since tried everything from repartitioning, unrooting and rerooting, linux swap partition, ext3, ext4, resetting to factory, upgrading with LG Mobile support tool, Checked out the script in the 11link2sd, installing init.d toggle as the init.d folder didn't exist, ... I still get "the 2nd partition cannot be mounted automatically at boot" no matter how often I uninstall/reinstall link2sd restart and the such. Seems to me that either the permissions are asque or the mount is wrong. I am really over my head with this one. Can anyone offer a solution, please? P.S. It mounts the fat 32.
Click to expand...
Click to collapse
I'm facing the same problem..

[Q] Link2sd problem

Hey all I'm running CMD 7.1 (RC) on a Nexus One and I've followed the instructions to partition my sd card from here as ext3, installed link2sd, and get this error:
Mount script error
Mount script cannot be created.
mount: mounting/dev/block/
vold/179:2 on /data/sdext2
failed: Device or resource busy
Anyone have a solution for this? I have searched XDA and Google for a solution, a few posts showed up with the same problem, but the person that starts the thread with the same problem ends up not following their own thread, or finds a solution without explaining how.
I am having the exact same problem, Nexus One with CM7 nightly 214. Tried S2E but it kept screwing up and trashing my EXT partition so I wanted to try Link2SD.
Finally got it to work but I can only get EXT3 partition, tried updating using Amon-Ra and MiniTool Partition but neither updated to EXT4.
In Terminal you can check the type of EXT partition by typing: mount | grep sd-ext
Everything I tried kept giving me only an EXT2 partition, I tried converting to EXT4 using MiniTool Partition Manager which reported a successful conversion but when I checked in terminal it reported EXT2. I then used Amon-Ra recovery to convert from EXT2 to EXT3 and now Link2SD works. Lexar 32GB Class 10 SD. Hope this helps.
Possible solution
I might have just found a solution.
Do you guys use any kind of bk2sdext? (automated backup of app/data to sdext partition, which comes with some ROMs built in)
To find out, go to your build.prop file in /system and check, it's one of the last lines, if it says something like bkup2sdext.enable=1, then disable it (switch 1 to 0), save and restart.
After that either go to ClockworkMod Recovery or just unmount your SD card, in order to FORMAT the sd-ext partition again so that it doesn't contain any data (and doesn't get automatically filled back, because bkup2sdext is off now).
This way I was able to mount it finally.
I think it has something to do with the build.prop AND the sd-ext partition having some other data on it before first mounting with link2sd.
Cheers.
download titanium backup press menu select batch operation scroll down till u see move all user apps to sd(if supported) and also make sure that you have checked allow application moving(settings->applications)
I have segmentation fault all the time,donnu why

Problem mounting sd-ext in Jelly Blast V-3.5

Hey guys, wondering if you could help me. I'm running Jelly Blast V-3.5, with Rafaels Kernel 2.6.35-7 on my S5380i. I've been trying to increase the internal storage on my device by partitioning my 32gb card in CWM with a 1gb ext. I've tried every solution I've found on this forum but I simply cannot get it to mount. Link2sd yields 'invalid argument' no matter where I point it, and when trying to format/mount the ext. in CWM it just says 'apps 2 sd partition not found'.
Here's a list of the things I've tried which have failed to solve this:
Partitioning in minitool, with various sizes and exts, and setting the partition as active.
Flashing conrod script, doesnt seem to be effective.
Script to mount sd-ext at boot, followed iamareebjamal's guide found here http://forum.xda-developers.com/showthread.php?t=1971689
S2E
Mount2SD
I'm completely at a loss, and with the internal storage of the S5380i being what it is, it would be great if anyone could offer me any advice.
Thanks!
do one thing , I'm recovery check if sd-ext is mounted
it used to happen to me that when I flashed new roms I had to mount sd-ext from mounts and storage
so mount it then reboot your phone
go to link2sd and create mount script as ext4
if problem persists , go in storage info of link2sd so see if the partition is mounted
if not you will have to enable auto mount at boot ( if option present in rom ) or mount using terminal emulator
Sent from my GT-S5670 using xda premium
soham jambhekar said:
do one thing , I'm recovery check if sd-ext is mounted
it used to happen to me that when I flashed new roms I had to mount sd-ext from mounts and storage
so mount it then reboot your phone
go to link2sd and create mount script as ext4
if problem persists , go in storage info of link2sd so see if the partition is mounted
if not you will have to enable auto mount at boot ( if option present in rom ) or mount using terminal emulator
Sent from my GT-S5670 using xda premium
Click to expand...
Click to collapse
Thanks for responding.
Attempted to mount in CWM but just receive an error. It's as if the partition isn't there at all. Re-partioned the card but still, no luck.
My rom doesn't have the auto mount at boot option, so it looks I'll have to mount with terminal emulator. Could you run me through the process, or point me towards a guide? Cheers
what error did you get in cwm while mounting ?
yry this line in terminal
mount -o rw /dev/block/
mmcblk0p2 /sd-ext
also is mount2sd file present in your /etc /init.d folder ?
Sent from my GT-S5670 using xda premium
The error in CWM when attempting to mount is: 'Error mounting /sd-ext!'
'mount -o rw /dev/block/mmcblk0p2 /sd-ext' in Terminal Emulator yields the following line: 'Usage: mount [-r] [-w] [-o options] [-t type] device directory'
The mount2sd file is not currently present in my init.d folder as I restored my phone from a backup, though when it has been there, the error in CWM is still the same.
The only difference I have noticed is that when partitioning with MiniTool, Link2SD will say that the partition is not mounted, but when partitioning with CWM it will say that the partition is not found.
galaimo said:
The error in CWM when attempting to mount is: 'Error mounting /sd-ext!'
'mount -o rw /dev/block/mmcblk0p2 /sd-ext' in Terminal Emulator yields the following line: 'Usage: mount [-r] [-w] [-o options] [-t type] device directory'
The mount2sd file is not currently present in my init.d folder as I restored my phone from a backup, though when it has been there, the error in CWM is still the same.
The only difference I have noticed is that when partitioning with MiniTool, Link2SD will say that the partition is not mounted, but when partitioning with CWM it will say that the partition is not found.
Click to expand...
Click to collapse
Did you format ext2 in the secind partition? Normally when you format with cwm, first partition is fat32 and the second partition is ext2. Try to format all available space to 1 partition and using cwm format the card to two part. May be partitioning before makes cwm recognize the wrong part and gives error.
:: Today is the first day of what's left of your life. ::
ChelebiTech said:
Did you format ext2 in the secind partition? Normally when you format with cwm, first partition is fat32 and the second partition is ext2. Try to format all available space to 1 partition and using cwm format the card to two part. May be partitioning before makes cwm recognize the wrong part and gives error.
Click to expand...
Click to collapse
Ensured all the space on card was unallocated and partitioned in CWM recovery.
Attempted to mount /sd-ext again and still receive the following error: 'Error mounting sd-ext!'
Attempted to format /sd-ext and receive the following error: 'No apps2sd partition found. Skipping format of /sd-ext'
Tried so many different ways/combinations of partitions now. Do you think it could be a kernel or rom issue?
galaimo said:
Ensured all the space on card was unallocated and partitioned in CWM recovery.
Attempted to mount /sd-ext again and still receive the following error: 'Error mounting sd-ext!'
Attempted to format /sd-ext and receive the following error: 'No apps2sd partition found. Skipping format of /sd-ext'
Tried so many different ways/combinations of partitions now. Do you think it could be a kernel or rom issue?
Click to expand...
Click to collapse
Make sure you have backed up all your files in your sdcard they will all be deleted and recreated with two partition.
In CWM enter Advanced --> use Partition SD Card
Set your second (ext2/3/4) partition size then set swap to zero (0).
ChelebiTech said:
Make sure you have backed up all your files in your sdcard they will all be deleted and recreated with two partition.
In CWM enter Advanced --> use Partition SD Card
Set your second (ext2/3/4) partition size then set swap to zero (0).
Click to expand...
Click to collapse
This is exactly what I've done, countless times. It simply will not mount. Really struggling to understand this problem.
galaimo said:
This is exactly what I've done, countless times. It simply will not mount. Really struggling to understand this problem.
Click to expand...
Click to collapse
Using a card reader enter your sd card to a computer and test if card has a problem or partitions are correctly created. If your answer is yes you may have a misconfig on your phone. Make sure u have the latest busybox available, have rooted your phone correctly, vs...
Or create your partitions in computer and try...
Ps: I created my partition in Stock Rom. So it must NOT depends on kernel or rom...
ChelebiTech said:
Using a card reader enter your sd card to a computer and test if card has a problem or partitions are correctly created. If your answer is yes you may have a misconfig on your phone. Make sure u have the latest busybox available, have rooted your phone correctly, vs...
Or create your partitions in computer and try...
Ps: I created my partition in Stock Rom. So it must NOT depends on kernel or rom...
Click to expand...
Click to collapse
Partitioned with CWM again. Plugged in to laptop and in MiniTool and this is the result:
galaimo said:
Partitioned with CWM again. Plugged in to laptop and in MiniTool and this is the result:
Click to expand...
Click to collapse
That unallocated space is your problem. Try to create an ext2/3 partion with mini tool. And if minitool gives error than you probably have a defected sd.
And one more suggestion try the cwm in rafaels kernel thread.
Edit: Sorry for cwm use http://forum.xda-developers.com/showthread.php?p=23715776
:: Today is the first day of what's left of your life. ::
ChelebiTech said:
That unallocated space is your problem. Try to create an ext2/3 partion with mini tool. And if minitool gives error than you probably have a defected sd.
And one more suggestion try the cwm in rafaels kernel thread.
Edit: Sorry for cwm use http://forum.xda-developers.com/showthread.php?p=23715776
Click to expand...
Click to collapse
Thanks for taking the time to talk me through this.
Turns out my SD card is defective, swapped for another card and I've now increased my internal storage!
I'll be sending the other one back.
Thank you again for your time :good:
ChelebiTech said:
That unallocated space is your problem. Try to create an ext2/3 partion with mini tool. And if minitool gives error than you probably have a defected sd.
And one more suggestion try the cwm in rafaels kernel thread.
Edit: Sorry for cwm use http://forum.xda-developers.com/showthread.php?p=23715776
:: Today is the first day of what's left of your life. ::
Click to expand...
Click to collapse
Thanks for the link! seems like my CWM wasn't detecting sd-ext.. this fixed!! feared my sd card was ruined.. really thanks a lot!

[Q] Link2SD second partition problem

Hi people here's the problem:
I have a chinese mt6589 ICS, rooted, an SD class 10, partitioned a second part, fat32, primary, 1Gb to symlink apps using Link2SD, when i first boot with my new 2nd partition Link2SD runs the script and mount it everything seems to go fine, but here's the thing. After next power on of my phone the second partition doesn't mount anymore !!!! and Link2SD keep saying "script can't be created, mount: Invalid argument".
I erased the second part and parted once again, mounts by the first time as i said and the same problem .
Any ideas/solutions ??
Tks.

Link2sd create mount script but second partition not mounted

Hi, I have samsung tab 3.7 with model number SM-T116NU, android version 4.4.4, and kernel version 3.10.17-11712742
I've rooted that phone about six month, and suddenly all of apps that I had linked dissapear. Usually, I try to reboot again by "Quick Reboot" or "Reboot" on Link2sd menu. But, in this case, it wasnt worked. I though that my sd card was broken. so I bought a new sd card "SanDisk 32gb 10 class".
I formatted it into two partition, Fat32 primary about 24gb, and ext4 primary about 6 gb. And then, I recreated mount scrip in link2sd with ext4, the apps said "Mount Scrip Created, please ....................." , then I rebooted it. But, nothing happened with my second partition. I have read many article, that said "mount script error", "mount script cannot be created", but I think that is not the same with my problem. I dont have any error message. The apps always says "Mount Scrip Created, please .....................", but after reboot when I check on strorage info, SD Card 2nd Part --> not mounted.
I have formatted 2nd partition into ext2 or ext3, the result is same. When I check on strorage info still SD Card 2nd Part --> not mounted. I've tried installed init.d but nothing has changed. On init.d folder I also find 11link2sd file. I tried to unistall then install again link2sd, nothing has changed. I tried to unroot then root again, nothing has changed.
So, can someone help me please?
Many thanks...
I also having this same problem.
Samsung tab 3 7.0 (T210R)

Categories

Resources