Link2SD can't mount external SD (solved) - OnePlus X Q&A, Help & Troubleshooting

Hello!
I started Link2SD (everything prepared on ext-SD) and received following error:
"Error in Mountscript.Can't create mountscript.... mount: Operation not supported on transport endpoint"
Any idea to solve this?
Greets
Bitman

Bitman64 said:
Hello!
I started Link2SD (everything prepared on ext-SD) and received following error:
"Error in Mountscript.Can't create mountscript.... mount: Operation not supported on transport endpoint"
Any idea to solve this?
Greets
Bitman
Click to expand...
Click to collapse
Use ext4 and/or try apps2sd

CountC00l said:
Use ext4 and/or try apps2sd
Click to expand...
Click to collapse
Or Xposed + XinternalSD, works great.

CountC00l said:
Use ext4 .......
Click to expand...
Click to collapse
It worx... Thanx a million!
Greetz
B.

Can you do a quick guide on how you solved it?
I used Minitool to create 2 partiton
1. NTFS 50GB
2. EXT4 10GB
3. Flashed Kernel blue_spark r61
I don't have any errors messages pop up but Link2SD Storage Info said my SD Card 2nd Part Not Mounted.
UPDATE: I didn't format correctly. My EXT4 was on first partition.

Related

[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!

[Solved, info inside]Link2sd error, mount script

I searched all threads and it didn't help!
S3 mini with stock rom and xposed framework etc.
Sd card has 2 partitions fat32 and link2sd gives error "Mount script could not be created, mount: invalid arguement"...
Anyone can help please? :fingers-crossed:
/edit:
i got it working throught making both partitions "primary"

[Q] Problems increasing internal memory with link2sd

Hello all,
few days ag I asked how to move internal apps to SD with Titanium Backups. Hitesh2626 recommeded me to use another method : http://forum.xda-developers.com/showthread.php?t=2082465 and I did so.
I've followed the guide but I did not succeed and I think I konw why: when I run CWM I don't have any /sd-ext partition.
I've followed all the steps under "Partition SD Card" , and I've used ext2 for formatting the new "memory" .
Anyone has had the same problem? Anyone could help me to find what am I doing wrong?
TIA,
Arnau
pelacables79 said:
Hello all,
few days ag I asked how to move internal apps to SD with Titanium Backups. Hitesh2626 recommeded me to use another method : http://forum.xda-developers.com/showthread.php?t=2082465 and I did so.
I've followed the guide but I did not succeed and I think I konw why: when I run CWM I don't have any /sd-ext partition.
I've followed all the steps under "Partition SD Card" , and I've used ext2 for formatting the new "memory" .
Anyone has had the same problem? Anyone could help me to find what am I doing wrong?
TIA,
Arnau
Click to expand...
Click to collapse
Were you able to create the mount scripts? Can you elaborate the problem that you are facing?
mahithm said:
Were you able to create the mount scripts? Can you elaborate the problem that you are facing?
Click to expand...
Click to collapse
Hello, first of all, thanks for your answer.
I guess you are talking about step 11, just after chossing the filesystem type:
10) First , Choose ext2. If it don't work then restart Link2SD and when then don't choose ext2 but ext4. ( Don't worry , it works )
11) It will say mount script created. Reboot your phone now.
Click to expand...
Click to collapse
If so, yes, after chossing ext2 it does not complain. After reboot I see a second partition "/data/sdext2" : Total:0.89GB used 64,91MB Free: 850MB.
(is it ext2? If I plug the mobile into my linux box it says it's FAT32):
Code:
Device Boot Start End Blocks Id System
/dev/sdc1 1 13564453 6782226+ c W95 FAT32 (LBA)
/dev/sdc2 13564454 15564799 1000173 83 Linux
Teh "problem" comes when doing "Placing the 2nd partition of SD Card to internal." :
18) Foramt /data /sd-ext /system
Click to expand...
Click to collapse
I don't have that "/sd-ext" partition, so I cannot format it.
But I've continued with the manual and tried to install an app (whatsapp). Now Link2sd says that the app has been linked, the /data/sdext2 partitoin now shows 85,97MB used but when I go to apps, manage apps, I see that my mem has decreased in ~ 20 MB . Is that the expected behaivour?
This I explain myself clear? if not, sorry but I'm newb to this world
TIA,
Arnau
pelacables79 said:
Hello, first of all, thanks for your answer.
I guess you are talking about step 11, just after chossing the filesystem type:
If so, yes, after chossing ext2 it does not complain. After reboot I see a second partition "/data/sdext2" : Total:0.89GB used 64,91MB Free: 850MB.
(is it ext2? If I plug the mobile into my linux box it says it's FAT32):
Code:
Device Boot Start End Blocks Id System
/dev/sdc1 1 13564453 6782226+ c W95 FAT32 (LBA)
/dev/sdc2 13564454 15564799 1000173 83 Linux
Teh "problem" comes when doing "Placing the 2nd partition of SD Card to internal." :
I don't have that "/sd-ext" partition, so I cannot format it.
But I've continued with the manual and tried to install an app (whatsapp). Now Link2sd says that the app has been linked, the /data/sdext2 partitoin now shows 85,97MB used but when I go to apps, manage apps, I see that my mem has decreased in ~ 20 MB . Is that the expected behaivour?
This I explain myself clear? if not, sorry but I'm newb to this world
TIA,
Arnau
Click to expand...
Click to collapse
Yes, that's how Link2SD works. It will link the data associated with the app to ext partition. If you go to the Settings> Storage, you will see that the total internal memory remains the same. But you can still see the available memory has increased due to linking to ext. To see how much of the ext partition is used, just go to Link2SD> Storage. Now if you are not satisfied with Link2SD, you can try the CronMod Unofficial. First backup all the SD Card data. Also if you want to try CronMod Unofficial after installing Link2SD, it better to flash the custom rom again after formatting /system and /data from CWM. This will get rid of all Link2SD files which can otherwise mess with CronMod Official. Now go to CWM> Format /sdcard. This will delete the ext partition. Now CWM> Advanced> Partition SD Card> Size (Max 1GB, anymore and system will lag)> Swap (0MB) and wait for it to say "Partitioning done". Now download and place CronMod Unofficial to SD Card. Now again go to CWM> Mounts & Storage> Mount /system then flash the Cronmod Unofficial zip from CWM and finally unmount /system. Reboot and you are good to go. Now go to Settings>Storage to see the newly increased internal memory. Here is the link,
Cronmod Unofficial
Hope I Helped
Hi mahithm,
mahithm said:
Yes, that's how Link2SD works. It will link the data associated with the app to ext partition. If you go to the Settings> Storage, you will see that the total internal memory remains the same. But you can still see the available memory has increased due to linking to ext. To see how much of the ext partition is used, just go to Link2SD> Storage.
Click to expand...
Click to collapse
ops... I expected more space for installing apps, not just for data. Ok, I can install more apps than before, but not all the ones I want.
Now if you are not satisfied with Link2SD, you can try the CronMod Unofficial. First backup all the SD Card data. Also if you want to try CronMod Unofficial after installing Link2SD, it better to flash the custom rom again after formatting /system and /data from CWM. This will get rid of all Link2SD files which can otherwise mess with CronMod Official. Now go to CWM> Format /sdcard. This will delete the ext partition. Now CWM> Advanced> Partition SD Card> Size (Max 1GB, anymore and system will lag)> Swap (0MB) and wait for it to say "Partitioning done". Now download and place CronMod Unofficial to SD Card. Now again go to CWM> Mounts & Storage> Mount /system then flash the Cronmod Unofficial zip from CWM and finally unmount /system. Reboot and you are good to go. Now go to Settings>Storage to see the newly increased internal memory. Here is the link,
Cronmod Unofficial
Click to expand...
Click to collapse
A couple of questions:
1.-) So, with this method I'll be able to install all the app in SD?
2.-) 7-Flash your desired script : what does it refer to?
3.-) It also refer to sd-ext, but I can't format that partition... (as it was my original problem). is cronmod going to use it even if I don't format it? (as link2sd has done).
Hope I Helped
Click to expand...
Click to collapse
Yes!! Thanks a lot!
Arnau
pelacables79 said:
Hi mahithm,
ops... I expected more space for installing apps, not just for data. Ok, I can install more apps than before, but not all the ones I want.
A couple of questions:
1.-) So, with this method I'll be able to install all the app in SD?
2.-) 7-Flash your desired script : what does it refer to?
3.-) It also refer to sd-ext, but I can't format that partition... (as it was my original problem). is cronmod going to use it even if I don't format it? (as link2sd has done).
Yes!! Thanks a lot!
Arnau
Click to expand...
Click to collapse
1. Yes with this method you'll be able to install all apps to the ext partition of the SD Card as long as you have free space on ext partition
2. Flashing the desired script refers to flashing the script in question, i.e., CronMod Unofficial
3. Can you tell me what happens when you try Mounts & Storage> Format /sd-ext? CronMod uses you ext partition even if you don't format it. Its not compulsory and CronMod should work fine.
Sorry for the late reply. If you have anymore doubt, post here. I'll be glad to help
mahithm said:
1. Yes with this method you'll be able to install all apps to the ext partition of the SD Card as long as you have free space on ext partition
Click to expand...
Click to collapse
Great. But since yesterday I've been experience speed "problems". I'm wondering if makes snes to gain space but lose speed... Maybe I try and decide with this new method. (Maybe the ROM also affects? ace-i-sure 8 to 12 could cause such speed issues?)
2. Flashing the desired script refers to flashing the script in question, i.e., CronMod Unofficial
Click to expand...
Click to collapse
Why just say so thanks!
3. Can you tell me what happens when you try Mounts & Storage> Format /sd-ext? CronMod uses you ext partition even if you don't format it. Its not compulsory and CronMod should work fine.
Click to expand...
Click to collapse
I'll let you know after trying it, it will take a couple of days
Sorry for the late reply. If you have anymore doubt, post here. I'll be glad to help
Click to expand...
Click to collapse
You don't have to apologise!! Many thanks for your detailed answers and for your time!!
Cheers,
Arnau
Hi,
after a couple of days I've seen that the speed problems do not compensate teh fact of having more apps installed, so I'm not going to try this new approach.
I've re-flashed the rom without using externad SD and it's running really fine.
Many thanks for your help dude!
Cheers,
Arnau
pelacables79 said:
Hi,
after a couple of days I've seen that the speed problems do not compensate teh fact of having more apps installed, so I'm not going to try this new approach.
I've re-flashed the rom without using externad SD and it's running really fine.
Many thanks for your help dude!
Cheers,
Arnau
Click to expand...
Click to collapse
Glad I could help And yes irrespective of what method you choose to increase the internal memory, there will always be a lag after you exceed a certain number of app install. This is because in all cases the /data is moved to ext partition of the SD Card. SD Card R/W speed is always lesser than internal memory R/W speed. You can control this lag to a certain extend by using class 8 or higher SD Card and only installing necessary apps.

[Q][SOLVED] sd-ext mount issue

Hi there!
I have been using the latest CM11 nightly for a while and decided to go for Link2SD, but I simply cannot mount my sd-ext partition from recovery. I have partitioned my SD-card of size 16GB with MiniTool Partition Wizard, and created an EXT3 partition of size 2GB. The partitions appear perfectly on the software, but whenever I try to mount /sd-ext from recovery, I get an error of "Error mounting /sd-ext!". Could anyone please help me out here? Quite a n00b here about sd-ext really.
I never tried mounting the sd-ext from recovery, but it works just fine after boot. What would you do with mounted sd-ext in recovery?
Well, I want to use Link2SD and have been always receiving an error message while creating the mount script, which goes something like:
"Mount script error
Mount script cannot be created.
mount: Invalid argument"
Also, upon looking into the Storage info, I find that SD Card 2nd Part. is not mounted. This is why I'm trying to mount my sd-ext from the CWM recovery, so that I can eradicate the error. Am I going in the wrong track?
I don't know, ext partition should work out of the box. What I did was partition sd card, boot, install link2sd, create mount script, reboot once again, done.
The only time link2sd won't create mount script for me is when the internal memory is full. Maybe your internal memory is full?
Not really, my internal memory is at least 50% free. Either way, I'll try reflashing the kernel and make a fresh install, and see if the problem persists. Thanks for responding and helping regardless!
psychoticdemon said:
Not really, my internal memory is at least 50% free. Either way, I'll try reflashing the kernel and make a fresh install, and see if the problem persists. Thanks for responding and helping regardless!
Click to expand...
Click to collapse
u say u created an ext3 partition?? so u must hav selected the same when creating mount scripts in link2sd right?? then it shud work...
it if did not work try with ext4 partition as i am using the same with ext4 partition for a year now...
psychoticdemon said:
Well, I want to use Link2SD and have been always receiving an error message while creating the mount script, which goes something like:
"Mount script error
Mount script cannot be created.
mount: Invalid argument"
Also, upon looking into the Storage info, I find that SD Card 2nd Part. is not mounted. This is why I'm trying to mount my sd-ext from the CWM recovery, so that I can eradicate the error. Am I going in the wrong track?
Click to expand...
Click to collapse
Reboot then, dude. recreate mount script again, reboot, let see what happen next
Alright, I finally got Link2SD working and apparently, as it turned out, it's more comfortable with ext4 than ext3. Creating a mount script always failed when I tried with ext3, but with ext4, it worked like a charm. Anyway, thanks for all the advice, guys. Gonna tag this as solved right away.

Categories

Resources