So I was following Simons tutorial to rooting the CDMA WFS. In particular I was looking at the Link2SD part of it. I followed his instructions and got an error:
/dev/block/mmcblk0p2: device not found
Make sure you have two partitions on your SD card and both are primary.
The screen shot of my MiniTool is attached. Can someone please tell me what I did wrong.
Hi GingerSmurf,
The first problem that I see is that the partition for Link2SD is way too big.
5.44GB only for installing apps?
The maximum recommended size for Link2SD and also DATA2SD support is 2GB.
This space will only be used for applications you install on your phone. To fill up 1GB already requires a lot of apps.
On my card I created a partition with 1GB, formatted in Ext4 for use in the ROM that is described in my signature.
I suggest you remove the 2nd partition that you created in FAT32 and create a new one in Ext2 format, preferably in Ext4 format if your rom/kernel supports it.
When you create the 2nd partition make sure you choose:
Select as: Primary
File system: Ext2 (to go on the safe side) or Ext4 (preferably)
Never use more than 2GB for that partition.
Use FAT32 for Link2SD only if your rom doesn't support it.
I can tell you that Stock 2.3.5 rom from HTC supports Ext2 (not Ext4) from my experiences.
When you first start Link2SD you should be able to select the file system you used for the partition.
If you already started Link2SD and it doesn't ask where to store it's data go to menu, more, recreate mount scripts.
It should ask what format you used for the Link2SD partition now.
For any more doubts refer to this excellent tutorial for Link2SD, made by d33ps1x. Kudos to him.
http://forum.xda-developers.com/showthread.php?p=21120303#post21120303
Good luck!
Please click thanks if I helped.
Related
This post is for people scared of Linux (like me)
I finally found a way to partition a SD-Card under Windows. I tried more tools, but only one was able to work with SD-Cards. Here's what you need to do:
1. Download and install MiniTool Partition Wizard (google it, i cant post links)
2. Resize original FAT32 partition to make room for the ext3 one. If you have enough space, the data on the card shouldn't be affected, but make a back-up just in case.
3. Create the ext3 partition on the space made available and apply changes
The first partition should be FAT32, and the second ext3, make sure you have them in this order.
Kneros said:
This post is for people scared of Linux (like me)
I finally found a way to partition a SD-Card under Windows. I tried more tools, but only one was able to work with SD-Cards. Here's what you need to do:
1. Download and install MiniTool Partition Wizard (google it, i cant post links)
2. Resize original FAT32 partition to make room for the ext3 one. If you have enough space, the data on the card shouldn't be affected, but make a back-up just in case.
3. Create the ext3 partition on the space made available and apply changes
The first partition should be FAT32, and the second ext3, make sure you have them in this order.
Click to expand...
Click to collapse
Almost all custom partition managers can do this in Windows-Partition Magic, Paragon, Or Gparted with VMWare
They can, but not on SD Card. Windows doesn't support partitions on memory cards. I tried Partition Magic, Paragon, Easeus, none of them work.
I didn't try Gparted with VMWare tho, you might be right about that.
Kneros said:
They can, but not on SD Card. Windows doesn't support partitions on memory cards. I tried Partition Magic, Paragon, Easeus, none of them work.
I didn't try Gparted with VMWare tho, you might be right about that.
Click to expand...
Click to collapse
Paragon works for me on Windows..And Gparted is what I use
Strange, it didn't work for me (see attached pics).
Just install the latest ClockworkMod, or Amon-RA and do it through recovery.
Is it useful to have an ext3 partition on SD card with stock 2.2 rom ?
fblasot said:
Is it useful to have an ext3 partition on SD card with stock 2.2 rom ?
Click to expand...
Click to collapse
It's useless, you need a ROM that supports it.
quick question - if I create an ext3 partition using this method or any other way, and then move the apps I had on SD (the old way) back to internal, will it then move them to the ext3 partition automatically? I just want to make sure I have this right myself before I attempt it.
I'm using Oxygen 2.3 ROM RC-6 which supports apps2sd etc.
thanks in advance for any replies.
Kneros said:
Strange, it didn't work for me (see attached pics).
Click to expand...
Click to collapse
See mine..
I'm using 9.0 Pro, you're using 10.0 server, if that helps..
I still prefer Gparted though..On Vmware.
Choronzonix said:
quick question - if I create an ext3 partition using this method or any other way, and then move the apps I had on SD (the old way) back to internal, will it then move them to the ext3 partition automatically? I just want to make sure I have this right myself before I attempt it.
I'm using Oxygen 2.3 ROM RC-6 which supports apps2sd etc.
thanks in advance for any replies.
Click to expand...
Click to collapse
The a2sd+ script is built in, it executes at installation. Best way would be to use Titanium to backup ur froyo a2sd apps, wipe+install a2sd+ custom rom, use the option of Titanium, to move to sd.
and how do you want to put data on the ext3 partition ? ... you will need linux, its the best way...
Kneros said:
This post is for people scared of Linux (like me)
I finally found a way to partition a SD-Card under Windows. I tried more tools, but only one was able to work with SD-Cards. Here's what you need to do:
1. Download and install MiniTool Partition Wizard (google it, i cant post links)
2. Resize original FAT32 partition to make room for the ext3 one. If you have enough space, the data on the card shouldn't be affected, but make a back-up just in case.
3. Create the ext3 partition on the space made available and apply changes
The first partition should be FAT32, and the second ext3, make sure you have them in this order.
Click to expand...
Click to collapse
EDIT:
Didn't work, SD could not be mounted under Android or Clockworkmod
Did the partitioning under Clockworkmod
partition works, but..
i tried minitool and easueus, both partiotion my 16 gb sd card, but...
I use miui rom, xpart(data2ext). the script works, but the phone is slow as ........
someone any idea?
i also have a 8 gb card, same partitions, but no problem..
any idea how i can tets my 16 gb card?
Minitool is crap. Haven't used easeus but its still under Windows, which is a no no
Gparted is the only decent tool that will nicely partition an ext partition on your sd whilst aligning it properly. This is both my personal and professional opinion.
Now because it doesn't run in windows, its a bit more long winded but so much more worth while.
Virtual machine (vmware player) is the best method. There is a link to a guide to set this up in my signature
Sent from my HTC Desire using XDA App
Kneros said:
This post is for people scared of Linux (like me)
I finally found a way to partition a SD-Card under Windows. I tried more tools, but only one was able to work with SD-Cards. Here's what you need to do:
1. Download and install MiniTool Partition Wizard (google it, i cant post links)
2. Resize original FAT32 partition to make room for the ext3 one. If you have enough space, the data on the card shouldn't be affected, but make a back-up just in case.
3. Create the ext3 partition on the space made available and apply changes
The first partition should be FAT32, and the second ext3, make sure you have them in this order.
Click to expand...
Click to collapse
Minitool partition wizard is a wonderful and practical software. Thanks!!
Hello Guys!
I did Root my desire GSM Hboot 0.93. it came unlocked and is designed to be operated in Europe.
Superuser installed and BusyBox too("Your phone is rooted).
I used Gparted to partition Fat32 ence the same as the tutorial of xda
I tried ext2, 3 and 4. I left as FAT32 as the most compatible with the ROM's.
Yet when I enter the link2sd it asks to select the system partition and i put fat32/fat16, it says "you cannot create the script. not enough memory install.sh inst-sd.sh.
Anyone had this problem?
Someone help me or know a link or how to resolve this situation?
Thanks
Manzatto said:
Hello Guys!
I did Root my desire GSM Hboot 0.93. it came unlocked and is designed to be operated in Europe.
Superuser installed and BusyBox too("Your phone is rooted).
I used Gparted to partition Fat32 ence the same as the tutorial of xda
I tried ext2, 3 and 4. I left as FAT32 as the most compatible with the ROM's.
Yet when I enter the link2sd it asks to select the system partition and i put fat32/fat16, it says "you cannot create the script. not enough memory install.sh inst-sd.sh.
Anyone had this problem?
Someone help me or know a link or how to resolve this situation?
Thanks
Click to expand...
Click to collapse
Haven't used the script but the sys partition is the sd-ext.
paul.c said:
Haven't used the script but the sys partition is the sd-ext.
Click to expand...
Click to collapse
I Don't understand well.
When I start link2sd it opens a window and asks.
"Select the system partition." When I select any items of it displays "error to create the script." When i choose fat32 it show me the message not enough memory.
Do not exist the option-> sd-ext.
I'm noob
Thanks
I have a htc desire stock orange uk, S-OFF, rooted.
With link2sd all I did was use Ubuntu and gparted to partition my 8gb sd card the 2nd partition set at 1024mb and the rest all together both FAT32 as on the market app info it says ext2, ext3 etc etc can only be used with a custom rom.
hope this helps
This has been a life saver went from 17MB free to Nearly 60MB!!!!!
I have the same problem.
partitioned the SD card second partition with FAT32, made it primary but link2sd gives me the same arror as reported by Manzatto.
"mount script cannot be created. :cannot create /system/etc/install-recovery.sh: not enough memory"
thank you.
G.
It's required for you to have first partition fat32 and second one ext (mine is ext3). When it asks point to ext one and that's it.
Hi, I've the same problem. Here is the explanation:
Kierrok said:
Link2SD needs install-recovery.sh or init.d support enabled to mount its partition at boot time. The problem is Samsung GB ROMs don't have it.
You can enable init.d support easily if you cook your ROM. If you can't do it for yourself ask your ROM devel to enable it.
Click to expand...
Click to collapse
It ist impossible to change or create this files, because the rom is mounted readonly. So you need to ask the developer of your custom rom to support link2sd.
It's possible to mount your ext2/3/4 partition manually for link2sd , but every reboot would destroy it.
Greetings Max
I also have the same problem.
I partitioned the SD card second partition with FAT, made it primary but link2sd gives me the same arror:
"mount script cannot be created. :cannot create /system/etc/install-recovery.sh: not enough memory"
Also tried with ext2, ext3 and ext4 and same error.
Currently using this ROM: http://forum.xda-developers.com/showthread.php?t=1200261
Hey, so I've rooted my phone, installed CWM. Now I'm kinda confused how to install Link2SD.
I've a 16 GB SD card with me. All I need to do is, boot into recovery and then partition the SD card?
Do I need to do anything else?
Also, What's that swap memory? (The option which comes after selecting the partition size) What should I choose in that part? I read somewhere that I should choose 32/64 MB only..
I'm using HTC Wildfire S A510e with the latest update having Gingerbread 2.3.5
Thanks
Well partition your SDcard and create two primary partitions. Format the second partion as ext4 and use tune2fs to disable journalling.
Install Link2SD configure it and select ext4 as the second partition. It will automatically mount it then.
I'm still trying to contact the developer to mount without barriers and atime to get better performance.
i used minitool partition wizard on my pc to do it, but i think you can through CWM as well. i originally tried making the 2nd partition FAT32, but my l2sd didnt recognize it, so i redone it in sdext2. on my wifes wildfire s i tried ext2 first, and ended up having to change it to FAT32. theoretically you should be able to use the partitioning on CWM and get l2sd to work, but if it doesnt detect your second partition then just try different formats if you can. minitool is a free program if you need it, and is available with a simple google search. there are also several other threads about l2sd all around xda and the net, so if you get stuck just search them up. once partitioned, go into l2sd and press the menu button and select more, then create mount scripts. this will get it running, and also will show if there are any issues with your partition.
I have been trying all day to figure out how to partition my sdhc card to use for Link2sd and have not been able to find a solution. Can someone please help me with this issue?
Questions go in Q&A
Thread moved
Friendly Neighborhood Moderator
Just why not use CWM or TWRP recovery to do this? That's convenient, professional and on-the-go
Sent from HTC Incredible S @ CM10.1
If anyone can help with ideas/tips...
I am having trouble trying to set up a correct/valid SD card partition again that I can use with the Link2SD app.
I am using the latest version of Link2SD (3.4.5), and running latest CM 11 Nightly (cm-11-20140430-NIGHTLY-epicmtd.zip)
I had this working before (a few weeks ago), using Minitool Partition Wizard to create a 1GB partition with ext2 file system.
Since then I did a wipe on the phone, and have been trying to get it set up again like I had it before.
However, now when I try setting up partition and Link2SD, it seems to work at first (it seems to recognize the partition and let me move apps there via 'Create link') - *BUT* if I ever reboot the phone, then the linked apps are not recognized - it's like they vanished! Even though I am not getting any errors about the partition, it is like it can't see it, or the links don't work or something.
I have tried several times 'Recreate Mount Scripts' and reboot, etc. but it has not helped so far.
I have tried this with ext2 (which I know did work for me in the past), ext3, and ext4, but each of those does not seem to work.
I did have luck with a FAT32 partition, but that does not let me take advantage of the latest Link2SD feature to 'Link internal data'...
I guess I am getting extremely frustrated because I know that at least etx2 *should* work, since I had it working before...
If anyone reading this is successfully using CM 11 and Link2SD, can you explain details of how you set up your partition to work (expecially if you have it able to work with something other than FAT32)
I have looked at all sorts of websites/tutorials (which are often slightly outdated, or written for other phones), but I was wondering if I could maybe get details from someone actually using this on their Epic 4G, so that I can compare notes exactly (I am afraid that maybe I am just missing one little detail to make this work correctly like it did before?!)
Thanks in advance to anyone who read this far and can offer any tips, or just explain details of how you created your partition.
Another thing I have noticed... when I create my 2nd 1GB partition of ext2, and try going through this process I described above... as I said it appears to work, up until I reboot, and then apps that were linked are gone... and then if I hook back up to the PC and run Minitool Partition Wizard again, then the 2nd partition now shows as "other" instead of "ext2".
connect your phone to computer and open minitool partition wizard. if you want to create a new partition, the function Create Partition can help you. You need to use Resize partition to get some space from one partition. There will occure an unallocated partition in minitool, then right click and choose Create Partition. You can type the partition label and choose the file system and drive letter. Hope it helps.
leafwarbler said:
connect your phone to computer and open minitool partition wizard. if you want to create a new partition, the function Create Partition can help you. You need to use Resize partition to get some space from one partition. There will occure an unallocated partition in minitool, then right click and choose Create Partition. You can type the partition label and choose the file system and drive letter. Hope it helps.
Click to expand...
Click to collapse
Your reply was a little late. Are you using internet explorer?
Seems I've made a bit of a booboo somewhere. I was recreating the ext3 partition on my sd card. I deleted the existing ext4 partition and resized the fat32 partition to take up the slack left behind. When I checked the partitions afterwards, everything was fine and all my files were present and correct in my fat32 partition. I booted into recovery, formatted all partitions except my fat32 and went to install my rom again. Except I forgot to put it on the sd card. So I copied it back on to my sd card, stuck the card back in the phone, booted into recovery and promptly got a message that pb99diag.zip is missing. I've checked the entire fat32 partition and there's no sign of it. I tried renaming "OTA_Bravo_Froyo_HTC_WWE_2.29.405.5-2.29.405.2_releasedauhl6jhok5cmdm6.zip" to "pb99diag.zip" but it doesn't seem to like it.
How can I get back into recovery without the pb99diag.zip?
found a similar thread: http://www.modaco.com/topic/348778-hboot-looking-for-pb99diagzip-why/
It's because you resized it, I believe it might eventually stop searching for the file and go into recovery, but it's not ideal.
I'd try backing up sd again, and completely reformatting and partitioning again, but using up to date gparted instead.
- Also, why did you need to change from ext4 to ext3? ext4 is marginally faster, most ROMs support ext4.
- And are you trying to install an RUU? In which case you don't need an ext partition at all?
Sorry just trying to understand your overall aim...
- Also, why did you need to change from ext4 to ext3? ext4 is marginally faster, most ROMs support ext4.
- And are you trying to install an RUU? In which case you don't need an ext partition at all?
Click to expand...
Click to collapse
I had 2 2gb ext partitions, ext3, ext4. I didn't need 2 so deleted 1 and just created a single ext3 partition. I wanted to go back to my PA jb 4.2.2 which was working fine until I used link2sd to free up some more system space but because its sh1t it just completely ballsed up my entire install. I installed an RU and this left me rooted with s-off and it was plain sailing from there to reinstall recovery and flash my custom rom again. I'm using a different sd card now (for testing purposes) but I'm still getting the pb99 errors. As you say, it will eventually allow me into recovery and I can continue what I'm doing but it takes ages and I've never had this issue before.
I'm using MiniTool Partition Wizard Professional to create my partitions.
mickrick said:
I'm using MiniTool Partition Wizard Professional to create my partitions.
Click to expand...
Click to collapse
There's your main problem, do not use MiniTool Partition Wizard. More often than not it creates improperly aligned partitions. Link2SD won't have helped either, it's a messy method and you don't need it with 4.2.2 ROMs, follow the instructions to activate A2SD via terminal commands.
I would backup the FAT32 partition of your sd card, and reformat and repartition the whole thing using gparted. Use this video guide to help
Basically you want to remove all partitions and create one FAT32 partition, and max 2GB ext4 partition. You might as well keep it ext4 over ext3, it should be marginally faster.
Then full wipe and reflash ROM, don't use link2SD.
You should also look to s-off, search for guides, much more powerful, and useful if things go wrong.