I tried to create an ext partition for a2sd. But the script says that a2sd is not mounted. I partitioned my card with rom manager.
In last roms a2sd was working. Now I use openOptimus, with paolo v6 kernel. Please help!!
since you used rom manager, im assuming you are using clockworkmod.
clockworkmod only supports ext4. check to see if openoptimus supports ext4
I just returned from my brief test-run with DarkTremor ... because it basically trashed my phone (in collaboration with TitaniumBackup). At one point I couldn't get the partition to mount anymore either, so I reinitialized the partition table with parted. At the very least it will allow you to check the partition for errors and rule that problem out.
Like I said, eventually everything fell apart again for me, but it's still worth a try.
Related
Just installed link2sd earlier (formatted partition as ext3). Wanted to flash a different rom. Trying to backup my phone, and clockworkmod tells me it can't mount sd-ext. Anyone know a reason and/or work around?
I think CWM works only with ext4 partition AFAIK. So, you can re-partition your sd card to a ext4 partition using CWM, or you can format the ext partition only to ext4 using a computer.
YouArePoop said:
Just installed link2sd earlier (formatted partition as ext3). Wanted to flash a different rom. Trying to backup my phone, and clockworkmod tells me it can't mount sd-ext. Anyone know a reason and/or work around?
Click to expand...
Click to collapse
which version of CWM have you got?
3.0.2.4, which I've used for a while now, always tries to back up my 6GB ext2 debian partition unless I remember to change cards first. no way I leave room in the vfat partition to back up that much data.
I'll put it up on 4shared if you want it.
mihir287 said:
I think CWM works only with ext4 partition AFAIK. So, you can re-partition your sd card to a ext4 partition using CWM, or you can format the ext partition only to ext4 using a computer.
Click to expand...
Click to collapse
Guess when I get home I'll copy the contents to computer, reformat, and copy back. Hopefully link2sd will notice the formatting has changed and reset itself
Sent from my LG-VM670 using XDA App
Doesn't work with extra either. Version 3.2.0.1 I believe it was.
Guess it doesn't really matter, can just use titanium since its all app stuff on there anyways...
Sent from my LG-VM670 using XDA App
i use CWM to back up my 512MB ext2 partition for my data2ext all the time (with the rest of the backup) and it seems to have no problem, and just to check i just mounted the partition in mounts and storage and it mounts fine. I know some recoveries ive used in the past on other phones would have problems with partitions that were not in 64-128-256-512-1024 MB, etc. format because of block size issue errors that i would get (when mounting or trying to set block size to 4096). I also found that when partitoning/formatting to ext2/3/4 some programs do not properly write the drive formatting and certain systems/recoveries/apps could not properly read them on the android. the best most consistent (android friendly) formats that i have gotten to date were in ubuntu (or any other) linux using "gparted". It seemed to always be the best and usually better than the format done by the phone recovery. Hope this helps. Sorry to drone on and on.
Partitioned originally with gparted. Have since resized to be 2048, and set its label to 'sd-ext'. Now instead of getting an error saying sd-ext might not be supported on my device, it just gives me a generic 'error mounting sd-ext'
I've had ext partition mounting problems before, I'm not sure if the cause is something to do with vold or what, but
after unmounting a sd card to exchange it with another one, it changes the device partitions in /dev/block like
/dev/block/mmcblk1p2
for the sd-ext partition instead of the normal
/dev/block/mmcblk0p2
you can see if this has happened by
Code:
ls /dev/block
in adb shell.
to mount it manually, if the numbering is off,
Code:
mount /dev/block/mmcblk1p2 /sd-ext
I've only had this happen with android running, but it might work in recovery too
Switched over to using data2ext. Mounts the 2nd partition as the /data partition instead of /sd-ext. Can manually mount 2nd as /sd-ext from within rom, but it doesn't carry over to recovery.
A possible solution... Create a symbolic link pointing /sd-ext to the 2nd partition? But then again, since /data now points to 2nd partition, is recovery picking up on that unknowingly and backing up the 2nd's contents when it thinks its backing up the normal /data?
I suppose I should investigate.
Edit: Yep it does backup the 2nd partition, thankfully. Just tried to install a theme made in UOT Kitchen, it borked some stuff, and the restore worked.
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..
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
I'm on lupohirp's cm9 beta4. i created a secondary partition for data2sd but the phone just doesn't mount it, i tried link2sd, darktremor data2sd , but none recognize the partition?
Is this the problem with everyone or just me?
Any help?
I have tried all the formats i.e fat32/ext2/ext3 but to no avail
How did you partitioned it? Try it like this (using AmonRa recovery) - this celly is quite different, but idea is same...
https://www.youtube.com/watch?v=qP4E0ReVDXc
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.