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
Related
Can someone please explain to me how to correct is problem? I'm new to installing roms and rooting. I'm using clockwork.
No app2sd partition found. Skipping format of /sd-ext.
Get rom manager app from market and flash clockwork recovery, then partition your sd card to get an ext.
Or do this with amon ra recovery.
Sent from my HTC
Thanks for the advice. I been trying to install cyanogenmod 6 on my evo. Are there any specific setting of an 8g sdcard and do i still need to install a ENGbootloader if i partition my card?
No app2sd partition found. Skipping format of /sd-ext.
--Installing: SDCARD: /clockworkmod/download/mirror.kanged.net/cm/stable/supersonic/update-cm-6.0.0-supersonic-signed.zip
Finding update package...
Opening update package...
Installing update...
Welcome to Cyanogenmod-6.0.0-Supersonic!
assert failed: getprop("ro.bootloader") =="0.76.2000"
getprop("ro.bootloader")=="0.79.0000"
E: Error in /sdcard/clockworkmod/download/mirror.kanged.net/cm/stable/supersonic/update-cm-6.0.0-Supersonic-signed.zip
(status 7)
Installation aborted.
/tmp/recovery.log was copied to /sdcard/clockworkmod/recovery.log. Please open ROM Manager to report the issue
im having the same time of problem! help
Solution for No app2sd partition found. Skipping format of /sd-ext
Hi,
Background:
I have a beloved ZTE BLADE.
Had a new 8 GB Class6 microSD card.
I don't have external SD card reader!
Goal: To partition SD card with FAT32 and ext2 partition to use app2sd feature.
Problem: ClockWork 3.0.1.4 (CW) can't do partitioning. (Exactly it say it is done, but after it can't find ext partition.)
Message is: No app2sd partition found. Skipping format of /sd-ext
Solution:
1. adb shell - (There are some guide for beginner how to do this.)
2. umount /dev/block/mmcblk0p1 (or else parted will crash. Also fdisk can't write partition table because of used partition on same device!)
3. fdisk /dev/block/mmcblk0 partition to fat+ext2 Don't forget to write it at end!
4 Manually make ext2 fs:
#mkfs.ext2 /dev/block/mmcblk0p1
5. Manual mount of ext2 partition. ( Or else you will faced with error message later. CW will not se the EXT2 partition !!! )
Error message if you skip this step:
No app2sd partition found. Skipping format of /sd-ext.
# mount /dev/block/mmcblk0p2 /sd-ext
6. Umount ext.
# umount /dev/block/mmcblk0p2
Tadamm! Voala...
CW will be able to format EXT partition and mount it.
The trick was manual umount FAT partition + manual mount ext2.
Regards,
Robert Szabo
No known solution (so far) for Nook Color
This weird problem is showing up when I am using Clockwork to prepare my Nook Color for installing an Android installation. It is appearing pretty consistently right now.
I have looked at various solutions:
1. Creating an ext partition on the SD card
This involves going to the Advanced selection on Clockwork and partitioning the SD card. This is a bad idea, because it (obviously) wipes the SD card completely, removing Clockwork and making the SD card un- bootable. As a result, you cannot do anything else with Clockwork (including, of course, any flashing!).
2. Attempting to create an app2sd partition on the Clockwork SD
I noticed that the Clockwork image, when placed on an 8 GB SD card, leaves about 380 Mb of unallocated space. Using EASUS I attempted to allocate some space for a partition called "app2sd". I do not know if this would have solved the problem, because ASUS is unable to create the partition. When you do the Apply in EASUS, it acts like it is creating the new partition, but then it reverts everything back to unallocated.
3. Searching for solutions on the Net
This is a waste of time, because most of the solutions people have given are either not for SD cards with Clockwork on them, or they presume that you already have a flashed and running installation and suggest using an installed Clockwork in order to create the partition. Since I am trying to get it to work properly on a Clockwork SD, these solutions do not help.
What is needed is either a Clockwork installation procedure that places an app3sd partition on the SD card when the image is put on, or a way to place an app2sd partition on the card after the Clocwork image is put on it.
This of course assumes that the app2sd partition is even needed on the Clockwork SD. If it isn't, then could somene please tell me so that I ccan forget about this problem?
Otherwise, does anyone know of a way to get this partition on a Clockwork SD card?
Thanks in advance for any information...
before putting the ROM preferred to do this: put the original CWM / + volume buttons and power / do 2 wipe / replace the modified CWM / do the other 2 in advanced wipe / format system / install the ROM favorite / and you're ok .
* doing so I have solved this problem.
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 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!
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.