[Q] Link2sd mount script error-Invalid argument. - General Questions and Answers

So after selecting my sd card's 2nd partition
in link2sd, I get "mount script error - invalid argument".I am not sure if thats the problem but I think this started happening after purchasing Foldermount Pro (which requires to save a txt file).Firstly this problem appeared only after rebooting the phone and could fix it by creating new partitions in sd. But now link2sd gets always this error. So what is happening?
Thanks, for more info just ask me

Related

[Q] link2sd question

link2sd
may i know where does the mounting script that is being created by link2sd when we first open it?
i asked because after flash a new ROM, link2sd seems not able to mount the existing sd-ext (it will have mount error message)
if that case, i want to take a look on the content of the script and figure how do i manually mount sd-ext?

[Q] Link2sd can't create mount script with Ext partition - Help!

Hello!
My problem basically is that i can't use Link2sd - i'm currently running the latest CronosX mod - because it can't create the mount scripts. I keep getting the following error:
mount: mounting /dev/block/vold/179:2 on /data/sdext2 failed: device or resource busy
i have a trascend class 10 8gb SD, i have a 6,5 gb Fat partition and the rest is EXT2 (now). I formatted it with minitool partition magic.
I have googled the problem for days now, seems i found nothing useful..
so far i tried:
ext3, ext4 -- then still couldn't create mount scripts, but i also had the following error msg in OR:
"can't mount /dev/block/mmcblk0p2 (invalid argument)"
although in SD utilities when checking the ext partition it recognised as EXT4 or EXT3..
with ext2 it seems working as of i don't see that msg..
still no link2sd. I read in the mod's forum that the app is supported, so it can't be the problem.. or is it?
Same issue, resoved by using FAT32
I had the exact same issue you're having. I tried using EXT2,EXT3, and EXT4 but couldn't get it to work. I finally got it working by using a FAT32 partition.
I know this may sound a bit dumb (like myself in android technicals) but
1. Do you have the specific kernel modules loaded to recognize these filesystems?
2. Are the devices attached to the PC with memory card access? [should not be].
3. Maybe you should try partitioning with a linux distro or some specific tool (might want to check out some instructions.
I am operating Link2SD with a fat16/32 partition (I don't know which )
I have same problem does someone solved it ?
i had no solutions whatsoever.. currently i'm using the mod's built in app2ext
i made an ext2 partition which i transformed into ext3 with openrecovery.. now i have an app folder which is automatically used to store my apps.
no link2sd for me anymore :\
although i have some other issues for i'm about to open a new thread
I found the solution : http://forum.xda-developers.com/showthread.php?t=1713478
linksd mount solved
with the phone plugged in to pc/mass storage i formatted the ext2 partition again. in link2sd mount in ext4.
cwkhong said:
with the phone plugged in to pc/mass storage i formatted the ext2 partition again. in link2sd mount in ext4.
Click to expand...
Click to collapse
Mount as ext4 is not a problem. It should work.
Sent from my XT720 using xda app-developers app
how you can solve this problem, is to make the second partition a active partitons with MiniTool Partition.
When de second disk is a active partition it wil boot before the boot of the system.
reply post ext 4
bSptya said:
Hello!
My problem basically is that i can't use Link2sd - i'm currently running the latest CronosX mod - because it can't create the mount scripts. I keep getting the following error:
mount: mounting /dev/block/vold/179:2 on /data/sdext2 failed: device or resource busy
i have a trascend class 10 8gb SD, i have a 6,5 gb Fat partition and the rest is EXT2 (now). I formatted it with minitool partition magic.
I have googled the problem for days now, seems i found nothing useful..
so far i tried:
ext3, ext4 -- then still couldn't create mount scripts, but i also had the following error msg in OR:
"can't mount /dev/block/mmcblk0p2 (invalid argument)"
although in SD utilities when checking the ext partition it recognised as EXT4 or EXT3..
with ext2 it seems working as of i don't see that msg..
still no link2sd. I read in the mod's forum that the app is supported, so it can't be the problem.. or is it?
Click to expand...
Click to collapse
you must re-partition your sd card, BUT, just do it for your sd-ext only:
with Partition magic
1. delete your sd-ext partition (JUST YOUR SD-EXT PARTITION)
2. create partition
3. set as Primary
4. and CHOOSE ext4!!,
5. ok and then,
6. Apply
I hope this will help you..:good:
bSptya said:
Hello!
My problem basically is that i can't use Link2sd - i'm currently running the latest CronosX mod - because it can't create the mount scripts. I keep getting the following error:
mount: mounting /dev/block/vold/179:2 on /data/sdext2 failed: device or resource busy
i have a trascend class 10 8gb SD, i have a 6,5 gb Fat partition and the rest is EXT2 (now). I formatted it with minitool partition magic.
I have googled the problem for days now, seems i found nothing useful..
so far i tried:
ext3, ext4 -- then still couldn't create mount scripts, but i also had the following error msg in OR:
"can't mount /dev/block/mmcblk0p2 (invalid argument)"
although in SD utilities when checking the ext partition it recognised as EXT4 or EXT3..
with ext2 it seems working as of i don't see that msg..
still no link2sd. I read in the mod's forum that the app is supported, so it can't be the problem.. or is it?
Click to expand...
Click to collapse
I had the seem problem and I solved creating 3 partitions. The first is not utilized but it must be create because as the Link2Sd as the AndroidOS search the data partition in the second (or last for AndroidOS) partition. I have created the first more small as Linux Swap, the second in ext2 fot Link2SD and the third in Fat32 for SD-Ext Data.
So the App works fine.
Sorry for my English.
Much Appreciated
thenotec said:
I had the seem problem and I solved creating 3 partitions. The first is not utilized but it must be create because as the Link2Sd as the AndroidOS search the data partition in the second (or last for AndroidOS) partition. I have created the first more small as Linux Swap, the second in ext2 fot Link2SD and the third in Fat32 for SD-Ext Data.
So the App works fine.
Sorry for my English.
Click to expand...
Click to collapse
No apologies necessary, i believe you were clear enough, well what do you know i must say inverting the order does seem to work
1. swap 2. Ext and 3. Fat/ Fat32
yabubonnah said:
No apologies necessary, i believe you were clear enough, well what do you know i must say inverting the order does seem to work
1. swap 2. Ext and 3. Fat/ Fat32
Click to expand...
Click to collapse
if i do that then i cant connect my usb storage to my PC, cuz if you create partitions with minitool, only the first partition is read as usb storage, so if you make the first part e.g. a swap file, then PC wont see your usb storage when plugged in via usb... and in minitool i see all partitions without drive letters, just .* sign after i format and create partitions.... and nothing helped me with mount script error either...
link2sd mount script error resolved
cwkhong said:
with the phone plugged in to pc/mass storage i formatted the ext2 partition again. in link2sd mount in ext4.
Click to expand...
Click to collapse
sir tnx for this info... error already resolved... thanks again so much...
Connect Phone to PC in Mass Storage Mode
Open MiniPartition Tool
Format the 2nd Parition as EXT4
Disconnect the Phone
Open Link2SD and you will see acript created and mounted already (for apps in SD card)
easy solution work for me ;D
after create partition ext 3 , just go to root file manager and change system file from read only RO to read write RW and recreate mount script on link2sd . hope it works happy new year!
NaraRockingMyAce said:
you must re-partition your sd card, BUT, just do it for your sd-ext only:
with Partition magic
1. delete your sd-ext partition (JUST YOUR SD-EXT PARTITION)
2. create partition
3. set as Primary
4. and CHOOSE ext4!!,
5. ok and then,
6. Apply
I hope this will help you..:good:
Click to expand...
Click to collapse
I had the same problem and had been looking for a solution until I found your help. Just want to thank you for this. It helped a lot! Fixed my problem :good:
Hi, I have a same problem.
But before I repartition the ext2 how can I save the content? My previlus installed apps will not work, I think in this case.
final solution
backup your sdcard and format it
recreat 2nd partition ex4
congratulation :good:
Solved!
Zachary57 said:
I found the solution : http://forum.xda-developers.com/showthread.php?t=1713478
Click to expand...
Click to collapse
Zachary had the solution for me! Just convert link2sd to system app (function of link2sd, after that my phone crashed and restarted) and clear the ext3 or ext4 partition (or reformat). I used Minitool Partition Wizard under windows. Don't forget to select primary partition!

[Q] S2E problem : sd-ext isn't automatically mounted

Hello,
After several problems with S2E and apps disappearing, I decided to completely erase and format my SD card.
I'm using CM 7 on HTC Desire (working quite well).
Now I'm facing a problem : I can mount the sdcard and sd-ext from the recovery. But only the sdcard is mounting automatically upon startup.
When launching S2E, it doesn't show the ext partition.
When I go to the terminal and manually mount (mount -w /dev/block/mmcblk0p2 /sd-ext), it works, and then S2E shows me the space available.
But apps still get installed on the "real" internal memory, so rapidly showing a "low memory" error.
I guess rebooting should enable the S2E memory management, but as long as the sd-ext doesn't mount on startup, it can't do anything.
As /etc/fstab is mounted as read-only (and it's starting to be a mess on my phone), do you have any solution ?
By the way, although it's an ext3 or ext4 partition (I don't remember), mounting without giving the type makes it mounting as ext2 (and working perfectly).
Regards,
Jonatan
Solved here
Go the below link , i think they solved this problem
http://forum.xda-developers.com/showthread.php?t=1971689
Hit THANKS if i helped You in this issue
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
WANT TO MAKE YOUR GALAXY Y AS A HIGH END DEVICE WITH 1.2GHZ , 1 GB INTERNAL STORAGE , HD GAMING , LAGGLESS
GO THE BELOW LINK
EMPOWER YOUR GALAXY Y
CLICK HERE

[Completed] Can't install app - insufficient storage available

I cannot install anymore applications. I got an error "Can't install app - insufficient storage available".
I lack place on my device, so I move app as much as I can to the External card using AParted and Link2SD.
I found out that every time I want to link to SD card with Link2SD I got a warning: "NOT MOUNTED - /data/sdext2 mount not found"
When Link2SD starts, it opens a window asking to select my SD card's second partition from the following list: ext2, ext3, ext4 (the others are irrelevant). Whatever I choose I get an Mount script error "Mount script cannot be created. Mount invalid argument".
I checked the Storage Info (using the Link2SD app), and found that all the "partitions" - like Internal, SDcard, External SD, System and Cache - have some data and the percentage of free place - except "SD Card 2nd Partition" that remains empty. There is even a label that says "NOT MOUNTED".
I searched my phone trying to find the "sdext2" to mount it (how do I do it?) - but I couldn't find it. This is an CATCH 22 situation :laugh: I cannot download and install app but I can continue to use my phone with a lot of app removed!
Is there a way to delete the /data/ext2?
is there a way to mount the ext2?
How can I repair it?
Somebody with some help?! Please, don't recommend me to use the frightened FACTORY RESET - I had enough of this solution!
thanks, Roby
Do you have root explorer set and mount R/W set correctly?
Are you sure you followed instructions to setup Link2SD correctly?
Try posting your question in the GT-I9505 Q&A forum linked below.
http://forum.xda-developers.com/galaxy-s4/help?nocache=1&z=8359136844519526
Good luck

Link2SD: says apps linked fine, but nothing written to 2nd partition

Hi guys
I'm trying to help out a friend - same old story - cheap tablet, running out of space to install apps, etc. etc.
Rooted device with Kingo (I know, I know... the lazy way), Android 4.4.2.
Did Link2SD in accordance to the recipe (done it many times, this is the first time I have an issue):
- Formated the SD on my PC, 1st partition FAT32, Primary, 13GB; 2nd partition EXT4, Primary, 2.something GB (tried EXT2 and EXT3 first, but could not mount)
- Installed Link2SD which mounted the partition - no errors
- Rebooted the tablet
When trying to link an app, Link2SD says linking succeeded, and the app is removed from the internal memory.
However, nothing gets written to the 2nd partition of the SD card, and the "linked" app no longer works (needs re-installing).
At first I thought it was the old KitKat writing to SD issue, so I installed and ran SDFix, but no joy.
When I go to /data/sdext2, all I can see is ".nomedia" file (zero size).
"mount" command in terminal shows it as mounted:
/dev/block/vold/179:98 /data/sdext2 ext4 rw,seclabel,relatime,data=ordered 0 0
Anyone any ideas how to fix?
Thanks!

Categories

Resources