Link2SD - getting two partitions working on your SD card - Nook Touch Android Development

I have been fighting with this for some time but finally figured it out.
To get Link2SD working I had to format my first partition as FAT (aka Fat16 - NOT Fat32!). The second (for Link2SD afaik) was Ext2. I tried Fat32 but couldn't get that working so stuck with Ext2 for partition 2. I'm using Windows on my main PC so used minitool partition wizard home edition to create the partitions. Minitool is brilliant freeware for Windows, for ages one had to boot linux to fiddle with other than Windoze partitions.
I hope this helps someone else - I was pulling my hair out!! Perhaps a sticky??

how large was your second partition? I'm using minitool and didn't see an option for fat 16

ryanpl said:
how large was your second partition? I'm using minitool and didn't see an option for fat 16
Click to expand...
Click to collapse
I also used Minitool - what I did was Create my first FAT partition of 3 Gb, then my second FAT32 partition of 1Gb. 1Gb for Link2SD and 3Gb for data - I was thinking that's enough. *EDIT* Fat32 wasn't being mounted properly so I changed partition 2 to Ext2 and it's working fine now.
Minitool calls it FAT as opposed to FAT32. FAT = Fat16. HTH

Oh I have a 16gb card I'm trying to use.

BTW, how much of the original memory is allocated for apps? Has someone ever reached it?

Related

[Q] SD Card Not Detected

Hi,
I have just bought a 32GB SD Card from Amazon. Komputerbay Class 10.
I have been running Sandvold's ICS ROM for the last month and all was fine, but I wanted a faster SD card.
I used Easeus Partition Manager using Windows XP and I created a 1GB ext2 partition after a FAT32 Partition.
However, I made it logical and wasn't able to change it to Primary, so I created another ext2 partition, this time Primary.
So, FAT32 partition of 28GB ish Primary, ext2 of 1GB Primary then ext3 of 1GB logical.
However, although my PC can see the FAT32 partition, my Desire cannot.
It can however see it in recovery which allowed me to flash the ROM etc.
Any ideas please?
Cheers
do NOT use any windows programs... try gparted live cd or 4ext recovery
and ONE more thing-both partition need to be PRIMARY
kotag82 said:
do NOT use any windows programs... try gparted live cd or 4ext recovery
and ONE more thing-both partition need to be PRIMARY
Click to expand...
Click to collapse
They are both primary, it's the extra one that is logical.
I may well try running Linux on my laptop alongside Windows to try that.
just boot it from cd or usb or virtual machine
kotag82 said:
just boot it from cd or usb or virtual machine
Click to expand...
Click to collapse
I'll try that.
Do you know if I can use Damn Small Linux please?
Cheers
Hi,
I partitioned my SDcard with Partition Wizard Home Edition 7.1
Just make sure all partitions are PRIMARY and there is NO (free) space before or between partitions. If you made the FAT32 first as a logical partition and later switched it to primary, there might be a small free space before it.....
Just wipe the whol card and repartition it with first the FAT32 PRIMARY and then the EXT partition PRIMARY. This should work.
As they told use linux from cd.
It's easy e fast
Create fat32 primary first, then ext2,3,4 primary.
I'll do it a lot of time and always work
GPart Live worked a treat.
Easy too with You Tube to help.
The drivers on the laptop I was using rendered the screen almost unseeable, but I managed to get it done and it was clear as day at home.

Partitioning SD Card

Hi, I have already partitioned my 8gb SD card. I made 1 FAT32 Partition with 1.3gb of unused space, while i used the left memory to make a EXT4 partition with around 6.5gb.... My question is, why the second partition is invisible in windows, and where should i put my music and stuff...... Also, Link2SD says that it can't mount the script because of an invalid argument... Please help me fix this..... I'm using HenseMod6 by the way
Around 1-2 GB of Ext partition is enough. Ext* partitions are linux filesystems and cannot be read by windows. Your music and photos should go on the fat partition.
Your rom may not support ext4, try reformatting it to ext3
Thanks, mate. My ClockworkMod Recovery helped mi fix it..

[Q] How do i fix my memory card

i have a 4 Gb sd card that i had partioned using minitool partition wizard (500 mb ext4, 100 mb linux swap and rest fat32 )...it was functioning very well,untill i accidentally removed it from the memory card slot while flashing a new rom
now i have an unallocated space with 1 Gb, i cant format it, and minitool partition wizard says bad disk
need help if possible cz i can't afford a new one :crying:
shakir2220 said:
i have a 4 Gb sd card that i had partioned using minitool partition wizard (500 mb ext4, 100 mb linux swap and rest fat32 )...it was functioning very well,untill i accidentally removed it from the memory card slot while flashing a new rom
now i have an unallocated space with 1 Gb, i cant format it, and minitool partition wizard says bad disk
need help if possible cz i can't afford a new one :crying:
Click to expand...
Click to collapse
- Insert memory card in card reader and connect.
- Open minitool.
- In the top where the software displays all the partitions in graphical way right click and select delete all partitions.
- Select apply.
- Now remove the card.
- Insert again (I recommend these two steps as i had some problem if i didn't follow this.)
- Run minitool again.
- Create partition (fat32, primary, your size)
- then create ext4 partition ( ext4, primary, yoursize.)
- Apply.
connect card to computer and open minitool partition wizard, click recovery partition and full scan your card. if there is any problem, it can find it out and fix it.

Link2SD & Partitioning Help

Hey everyone. I'm going nuts trying to figure out how to use Link2SD. I partitioned my 32G SD card using Mini Partition Tool. I made a 1 gig partition. I've tried FAT32 and EXT2. After partitioning, i rebooted and tried Link2SD. I keep getting the error "Mount script cannot be created. [1] Segmentation fault mount ..."
Is there any solution for the xperia play? I manually moved my apps but still ran out of space keeping system tools like Titanium Backup on the internal. Maybe I should make them System Apps?
I use the following on mine setup:
64gb Card (Fat32 - Primary)
5GB for EXT4 partition (Make sure when you partition it to set it as primary.)
300mb Swap Partition
I had an issue with Link2SD too ad it was because I was not setting the EXT partition as primary, oncei formatted it again as primary Link2SD had not issue with it. Try that.
ozzmanj1 said:
I use the following on mine setup:
64gb Card (Fat32 - Primary)
5GB for EXT4 partition (Make sure when you partition it to set it as primary.)
300mb Swap Partition
I had an issue with Link2SD too ad it was because I was not setting the EXT partition as primary, oncei formatted it again as primary Link2SD had not issue with it. Try that.
Click to expand...
Click to collapse
Hey thanks for the reply. Just tried what you said. My FAT32, ext4, and Swap are all Primary and sill no go. I get the same error (segmentation fault mount -t ext4...). When Link2SD opens I've tried selecting all the options for the parition type too and none of them work.
Anything else I can try? Does the order of the partitions make any difference? Right now I am Primary, ext4, Swap.
echardcore said:
Hey thanks for the reply. Just tried what you said. My FAT32, ext4, and Swap are all Primary and sill no go. I get the same error. When Link2SD opens I've tried selecting all the options for the parition type too and none of them work.
Anything else I can try? Does the order of the partitions make any difference? Right now I am Primary, ext4, Swap.
Click to expand...
Click to collapse
Ah.... okay, I should have clarified this, only the fat32 and EXT partition are set to Primary. Swap Partition is set to logical, setting all three to primary causes issues.
Reformat only the swap and format to logical. Then in Link2SD force it to reinstall the scripting and see if that fixes it.
ozzmanj1 said:
Ah.... okay, I should have clarified this, only the fat32 and EXT partition are set to Primary. Swap Partition is set to logical, setting all three to primary causes issues.
Reformat only the swap and format to logical. Then in Link2SD force it to reinstall the scripting and see if that fixes it.
Click to expand...
Click to collapse
Okay then. New problem. Now Link2SD says "No SD card present" and android doesn't mount it either.
This is killing me slowly.
I'll try to reformat the whole card via a reader...
Didnt work. SD card still not recognized.
echardcore said:
Okay then. New problem. Now Link2SD says "No SD card present" and android doesn't mount it either.
This is killing me slowly.
I'll try to reformat the whole card via a reader...
Didnt work. SD card still not recognized.
Click to expand...
Click to collapse
OK. If your willing, lets start fresh. I am guessing you have your SDcard files backed up. Using Minitool partition delete all partitions and format as FAT32. Then create another partition of your size and format it as EXT (I prefer 4, EXT4) and set it to EXT(2,3,4,etc) and Primary. Then just for kicks, do not make a swap partition. I read that its not necessary, however I always do it..... well necessary only if you use a swap manager. So after the fat32 and ext partitions are made and minitool has created them. Take out the card, put it back into your pc and see if windows sees the fat32 partition. If good place it back into your phone and see if it upon bootup sees your sdcard.
Just in case as a reference here is the tutorial from the developer of Link2SD on how to set it up.
http://www.link2sd.info/description
ozzmanj1 said:
OK. If your willing, lets start fresh. I am guessing you have your SDcard files backed up. Using Minitool partition delete all partitions and format as FAT32. Then create another partition of your size and format it as EXT (I prefer 4, EXT4) and set it to EXT(2,3,4,etc) and Primary. Then just for kicks, do not make a swap partition. I read that its not necessary, however I always do it..... well necessary only if you use a swap manager. So after the fat32 and ext partitions are made and minitool has created them. Take out the card, put it back into your pc and see if windows sees the fat32 partition. If good place it back into your phone and see if it upon bootup sees your sdcard.
Just in case as a reference here is the tutorial from the developer of Link2SD on how to set it up.
http://www.link2sd.info/description
Click to expand...
Click to collapse
PC sees the FAT32. Phone sees the card now. Link2SD shows the partition but cant mount it and create the script for it. Also tried as ext2. Thanks for your help. I am going to try to update the ROM.
After updating the ROM to 2.4.0 and waiting 10 mins and rebooting as usual. was able to successfully link the partition! Thanks for your help!
No problem. Glad you got it working.
Sent from my R800at using xda premium
Got all my apps installed! Woot! Also, something must have been messed up with my previous flash.. I wasn't able to restore apps the newer way from titanium backup. I had to do it the old way one by one.
phone is going to make a great gaming alternative to my SGSII.

Help needed partitioning an sd card

Hey guys, im trying to partition a microsd card (2gb, samsung), into FAT and ext4 for use with link2sd, using Minitool Partiticion Wizard.
Now, the Fat partition turns out well, but the ext4 one keeps ending up like unpartitioned space.
I tried formating into ext2, ext3, linux swap, change size, cluster size, no result. The only file sistem thats succesfuly is FAT, FAT32, NTFS.
Thanks in advance!
CCXAlex said:
Hey guys, im trying to partition a microsd card (2gb, samsung), into FAT and ext4 for use with link2sd, using Minitool Partiticion Wizard.
Now, the Fat partition turns out well, but the ext4 one keeps ending up like unpartitioned space.
I tried formating into ext2, ext3, linux swap, change size, cluster size, no result. The only file sistem thats succesfuly is FAT, FAT32, NTFS.
Thanks in advance!
Click to expand...
Click to collapse
Have u choose "primary" for the ext4 partition? Lots of tutorial available, just google it.
appman1234 said:
Have u choose "primary" for the ext4 partition? Lots of tutorial available, just google it.
Click to expand...
Click to collapse
Yes, i chosed primary for the both partitions.
Anyway i kinnda fixed it, i chosed FAT for both partitions then i formated the second one from fat into ext4 and it seems to work for now.

Categories

Resources