recommended size of ext2 partition?? - G1 Q&A, Help & Troubleshooting

right now i have a 2gb ext2 partition on my sdcard. the reason its so big is because im using it for app2sd and im going to install debian on the partition(as well as linux apps). i want to have plenty of room. im going to use this method:
http://all-google-android.com/googl...verdale's-debian-boot-v-2-0-updated-03092009/
i was told that it is way to big of a partition. i would like some more input as to why it is too big. i have a 16gb sd card and not concerned about space. will it give me performance issues? also should i convert the partition to ext3?

lokeycmos said:
right now i have a 2gb ext2 partition on my sdcard. the reason its so big is because im using it for app2sd and im going to install debian on the partition(as well as linux apps). i want to have plenty of room. im going to use this method:
http://all-google-android.com/googl...verdale's-debian-boot-v-2-0-updated-03092009/
i was told that it is way to big of a partition. i would like some more input as to why it is too big. i have a 16gb sd card and not concerned about space. will it give me performance issues? also should i convert the partition to ext3?
Click to expand...
Click to collapse
I remember reading somewhere here on XDA that 1.5 gigs was the 'recommended' maximum size for your ext partition. Why that is the case, I do not know. It very well could be related to performance, but I can not be 100% sure.
Anyone know why the 1.5 gig restriction is in place?

Related

A couple questions about Swap

I have a couple questions about swap.
I am currently running the swap file from my EXT3 partition on JACHERO. It was all running very very smoothly last night after a fresh format of the sd card and most of my apps reinstalled. This morning I put my music back on the card(6 gigs of music). Right after I did that I noticed the phone ran like a slug again.
So my first question is does the amount of data on a SD card slow the access to the swap space?
My second question is, does the Swap space (EXT3) need to be the first partion or the last? Does it make a difference either way?
Ok I lied, I guess I have a "few"questions.
What benifit if any is there to running the swap on a linux-swap partition as opposed to an EXT3? If there is a benifit, how do I tell Swapper to use the linux-swap partition? IE what is its location?
as far as i know the swap file needs to be last
it should be Fat32/EXT2/3
No, the amount of space doesnt matter as long as you have atleast 100mb free on your ext3 partition.
In the swapper settings make sure the location of the swap file is in /system/sd and not in /sdcard
nephron said:
it should be Fat32/EXT2/3
No, the amount of space doesnt matter as long as you have atleast 100mb free on your ext3 partition.
In the swapper settings make sure the location of the swap file is in /system/sd and not in /sdcard
Click to expand...
Click to collapse
Ok thanks... I have it set to the last partition already. Swapper is set to /system/sd. I have an 8gig class 6 card. I have tested this twice now though. The moment I put my music on my card the system slows down like crazy, the moment I remove said music it speeds back up....
Anyone have any ideas?
Maybe your ext2 (or ext3) or swap partitions are too big. For ext use 500MB - it's enough. For SWAP don't use more than 32MB.
BolecDST said:
Maybe your ext2 (or ext3) or swap partitions are too big. For ext use 500MB - it's enough. For SWAP don't use more than 32MB.
Click to expand...
Click to collapse
Thanks but my ext3 is 512 and the swap size was set to 32...

Paragon Partition| Setting up 1gb sd for hero rom?

Hello there,
So i'm trying to figure out how to partition my 1gb sd card for the hero rom and ive read about there being a ext3, ext2 and fat 32, but do i need all three or just two of those? If so which ones?
I know paragon partition manager has the option for ext2 and ext3 aswell as linux-swap 2...
Just wondering how much should be given for each?
Fat 32?
and whatever else i need.
Thanks in advance.
upgrade ur recovery to cyanogens 1.4 then use gparted. search. dont need dat program its all done from your fone. supper easy.
also wrong section and its fat32 ext3 and linux-swap 32mbs
Coderedpl said:
Hello there,
So i'm trying to figure out how to partition my 1gb sd card for the hero rom and ive read about there being a ext3, ext2 and fat 32, but do i need all three or just two of those? If so which ones?
I know paragon partition manager has the option for ext2 and ext3 aswell as linux-swap 2...
Just wondering how much should be given for each?
Fat 32?
and whatever else i need.
Thanks in advance.
Click to expand...
Click to collapse
You need:
Fat32
ext3 - not bigger than 1.5GB...512mb is a good size
linux-swap - anything from 32 to 96...I use 64mb
They must be in that order.
I'm assuming that 1GB card is the one that came with you're phone, if so, don't bother. Buy a branded class 6 card, they're very cheap nowadays. reason being, the phone needs to cache things to the linux-swap partition...that faster the card the better the performance (in theory).
As Hiroots said, partitioning can be done on your phone, look for a guide on using parted (*not* gparted)
Please post in Q&A next time.

I'm using a 1gb sd card with dwangs superD and it is partitioned, but.....?

This is probably a dumb question. Do I need to do anything different to enable it to utilize the sd card to run apps off of it or is it built in? I read that cyanogen's rom was built in like that. I keep downloading apps and I don't want to run out of memory on the phone. Do I need to do anything to also use the sd card as ram?
I am using SuperD and jus partation your SD card and should all go well
Yeah it is working fine.
ilostchild said:
I am using SuperD and jus partation your SD card and should all go well
Click to expand...
Click to collapse
I was just wondering if I need to do something different or is it automatically using the sd card as ram and runing apps off of it.
jeffrimerman said:
I was just wondering if I need to do something different or is it automatically using the sd card as ram and runing apps off of it.
Click to expand...
Click to collapse
What do you mean by "something different" Different from what? In order for CM to automatically do apps2SD you need to have an EXT partition as your second partition. This can be an EXT2, EXT3 or EXT4 type partition and can be easily created by using the latest Amon_Ra Recovery Image (available here http://forum.xda-developers.com/showthread.php?t=566669).
Nothing else is needed. I see most signatures showing 512MB of EXT partition. I use the same and it has been more than enough for me.
Also, it is recommended that you use a class 6 SD card because the class 2 that came with the phone may not be fast enough and may cause some lag.
Thanks QMAN.
QMAN101 said:
What do you mean by "something different" Different from what? In order for CM to automatically do apps2SD you need to have an EXT partition as your second partition. This can be an EXT2, EXT3 or EXT4 type partition and can be easily created by using the latest Amon_Ra Recovery Image (available here http://forum.xda-developers.com/showthread.php?t=566669).
Nothing else is needed. I see most signatures showing 512MB of EXT partition. I use the same and it has been more than enough for me.
Also, it is recommended that you use a class 6 SD card because the class 2 that came with the phone may not be fast enough and may cause some lag.
Click to expand...
Click to collapse
I think you answered my question perfectly. When I put the Dwang rom on and updated to Amon Ra Recovery Image I followed instructions that had me partition the sd card and put ext2 or ext3 type partition. If I buy a class 6 SD card I imagine I can just partition it and put it in.
So to be clear, does then enable the apps to run off the sd card or to install onto the sd card and run off the card also? I mean is it using the sd card as some sort of ram or is it just using it as more of a hard drive? I'm going to guess it is just as a hard drive. I didn't designate anywhere to tell the phone to use the sd card as the installation place for apps. That's why I am kinda wondering.
Thanks
jeffrimerman said:
I think you answered my question perfectly. When I put the Dwang rom on and updated to Amon Ra Recovery Image I followed instructions that had me partition the sd card and put ext2 or ext3 type partition. If I buy a class 6 SD card I imagine I can just partition it and put it in.
So to be clear, does then enable the apps to run off the sd card or to install onto the sd card and run off the card also? I mean is it using the sd card as some sort of ram or is it just using it as more of a hard drive? I'm going to guess it is just as a hard drive. I didn't designate anywhere to tell the phone to use the sd card as the installation place for apps. That's why I am kinda wondering.
Thanks
Click to expand...
Click to collapse
It will both install on and run from sdcard. you don't have to enable anything.
dwang's rom does it automatically as long as you have the ext partition. His however does not support ext4.
Ok great.
djn541 said:
It will both install on and run from sdcard. you don't have to enable anything.
dwang's rom does it automatically as long as you have the ext partition. His however does not support ext4.
Click to expand...
Click to collapse
Is there a way to see how full the partitioned part of the sd card is getting? When I use settings I can see the fat 32 part I believe, and the internal phone memory. I have Astro, but I don't see an option to view the entire sd card's usage.
jeffrimerman said:
Is there a way to see how full the partitioned part of the sd card is getting? When I use settings I can see the fat 32 part I believe, and the internal phone memory. I have Astro, but I don't see an option to view the entire sd card's usage.
Click to expand...
Click to collapse
In rec mode goto console type...
parted dev/block/mmcblk0
print
this will tell you how much space is used by each partition
Is that what you want to know?
jeffrimerman said:
Is there a way to see how full the partitioned part of the sd card is getting? When I use settings I can see the fat 32 part I believe, and the internal phone memory. I have Astro, but I don't see an option to view the entire sd card's usage.
Click to expand...
Click to collapse
Go into settings and look under sdcard and phone storage.
djn541 said:
Go into settings and look under sdcard and phone storage.
Click to expand...
Click to collapse
Only cyan has that ,dwang doesnt use that.I think...
Ace42 said:
Only cyan has that ,dwang doesnt use that.I think...
Click to expand...
Click to collapse
With Dwang, you can still see 2 partitions, not all 3.
ok
Ace42 said:
In rec mode goto console type...
parted dev/block/mmcblk0
print
this will tell you how much space is used by each partition
Is that what you want to know?
Click to expand...
Click to collapse
That is exactly what I wanted to know. If I keep installing apps till it runs out of memory I'm guessing I won't know till it says it can't install anymore at some point.
Hey Djn I can't see the partitions with Dwang or do I need to specify something. I only see total space 449mb(i'm guessing that is the fat 32), available space 334mb. There is the internal phone storage section also.
this is what I see
number start end size type file system
1 512 472 472 primary fat 32
2 472 984 512 primary ext2
3 984 1016 31.8 primary linux-swap(v1)
So does it mean I've only used 40mb from fat32 section, but I believe I've used more than that? The ext2 part ended with more than it started, so does that mean when I partitioned it, the memory was increased? From number 3 it looks like 32mb was taken right off the top for ram?
jeffrimerman said:
That is exactly what I wanted to know. If I keep installing apps till it runs out of memory I'm guessing I won't know till it says it can't install anymore at some point.
Hey Djn I can't see the partitions with Dwang or do I need to specify something. I only see total space 449mb(i'm guessing that is the fat 32), available space 334mb. There is the internal phone storage section also.
Click to expand...
Click to collapse
Crap!, Ace is right, you can only see sd and internal with dwang, sorry about that. I haven't used dwang in quite some time.
P.S. Sorry Ace, My bad
Hey Ace
Ace42 said:
Only cyan has that ,dwang doesnt use that.I think...
Click to expand...
Click to collapse
Can you tell me what that info is telling me? It is a couple posts up. I understand the total sd card, -32 for swap yada yada. Just not sure if when it says "end" if that means that is what I have available now.
1 512 472 472 primary fat 32
2 472 984 512 primary ext2
3 984 1016 31.8 primary linux-swap(v1)
Block Start End
Well the above tells you what its for, and amount of space for each partition from starting point to end. 1 app is less than 3MB excluding games so if you have 150 apps you still have a good deal of space left.
Thanks Ace
Ace42 said:
1 512 472 472 primary fat 32
2 472 984 512 primary ext2
3 984 1016 31.8 primary linux-swap(v1)
Block Start End
Well the above tells you what its for, and amount of space for each partition from starting point to end. 1 app is less than 3MB excluding games so if you have 150 apps you still have a good deal of space left.
Click to expand...
Click to collapse
I don't put mp3s, so other than wanting a little faster load app speed with class 6 I am probably fine with my 1gb class 2 for now. I think most of the apps I have were less than 1mb. I imagine games are larger. If I happen to add mp3 and games will the phone warn me as I get close to filling up the sd card?
jeffrimerman said:
I don't put mp3s, so other than wanting a little faster load app speed with class 6 I am probably fine with my 1gb class 2 for now. I think most of the apps I have were less than 1mb. I imagine games are larger. If I happen to add mp3 and games will the phone warn me as I get close to filling up the sd card?
Click to expand...
Click to collapse
Music/vids/pics/docs will go onto the Fat32 partition...So your comp or phone will warn you that the FAt32 is full.

[Q] Partition of sd card

Hello Everyone,
I have just installed link2sd on my phone.But I came to know that in order to link my apps to sd card, i need to create a second partition on my sd card.
I searched and downloaded minitool partition home wizard for partitioning the card.
I tried with my transcend 8gb card but i dont know how to partition card i.e. how much to allocate the space for first,second and other partition and which format should be used(whether FAT32, Ext1, Ext2 or Ext3).
I am currently using android 2.1(rooted).Since I am a completely noob in this sector, i have no idea about this.
Please help me!!
Hi,
The instruction is available here. http://forum.xda-developers.com/wiki/index.php?title=SD_card_partitioning
[email protected] said:
Hi,
The instruction is available here. http://forum.xda-developers.com/wiki/index.php?title=SD_card_partitioning
Click to expand...
Click to collapse
Thanks for the reply.
For Partitoning the card, we should also make space for linux swap or not?
Also, could you tell me what allocation of space for 8gb would be the best for FAT32 and Ext2 partition??
thnx for the info man!
imailca said:
Thanks for the reply.
For Partitoning the card, we should also make space for linux swap or not?
Also, could you tell me what allocation of space for 8gb would be the best for FAT32 and Ext2 partition??
Click to expand...
Click to collapse
There is no need for linux swap.
Ext2: 500MB - 900MB.
Do not make it to 1GB or more, save that space for your FAT32 and you won't really need that huge space for link2sd anyway.
The rest of free space will be for FAT32.
and it's up to me I will turn almost all of it into ext2/3 and a little bit for fat
why? Because I dun deal with windows that much and so I reserve only a little bit of them for transfer between the systems. Ext2/3 is linux based and inherently superior to fat.

[Q] Proper App2SD guide please...

Im using custom roms for a while now (on GDX26 now). i just move apps to sd, havent done any partitioning and things. so can someone give me a proper noobs guide to app2sd and tell me whats about this sd partitioning and file systems and stuff?
anybody??? :/
Check if your recovery has a Partition option, this is the easiest way to do it. If yes, you only need to give the size that you desire for the partitions. WARNING: all your SD data will be deleted.
If no, you need to use a PC Program, like minitool partition wizard, to create the EXT partition. It's easy: shrink the fat32 partition and create the EXT partition using the left space. The format must be EXT4.
Hopefully, your phone will recognize the EXT partition and will mount it
STALKER_88 said:
Im using custom roms for a while now (on GDX26 now). i just move apps to sd, havent done any partitioning and things. so can someone give me a proper noobs guide to app2sd and tell me whats about this sd partitioning and file systems and stuff?
Click to expand...
Click to collapse
Pleas use forum search...
http://forum.xda-developers.com/showthread.php?t=1345872
Thanks guys
but can you tell me whats the difference between native app2sd on 2.3 and app2sd with sd partitioning?
oh and whats this swap? its some sort of virtual ram right? do i need it and how do i make it?
Native app2sd doesn't move all the app to the SD (and not all the apps can be moved). Using EXT partition all the apps can be moved totally, so the use of internal memory is minimal.
SWAP, yes, it's virtual ram. I don't recommend you its use, because the SD's life is dramatically reduced.
If you wish to test it, you need to make another partition (formatted as SWAP), either from the Recovery or using a pc program.
RoberGalarga said:
Native app2sd doesn't move all the app to the SD (and not all the apps can be moved). Using EXT partition all the apps can be moved totally, so the use of internal memory is minimal.
SWAP, yes, it's virtual ram. I don't recommend you its use, because the SD's life is dramatically reduced.
If you wish to test it, you need to make another partition (formatted as SWAP), either from the Recovery or using a pc program.
Click to expand...
Click to collapse
Thanks that pretty much cleared everything for me.
I have a small problem :/
i partitioned the sd with CWM to ext4(no swap), everything works fine except the write speed of the sd in mass storage mode is so so slow. its really annoying why is that?
btw my sd is 16GB class 6
STALKER_88 said:
I have a small problem :/
i partitioned the sd with CWM to ext4(no swap), everything works fine except the write speed of the sd in mass storage mode is so so slow. its really annoying why is that?
btw my sd is 16GB class 6
Click to expand...
Click to collapse
Please somebody help me with this?
i dont think this happend on ext4 format.
is the write speed realy a big thing? i also have moderate write speed and i can life with it
EDIT: If you want to move BIG files to your sd use a cardreader, for me its fast...
SafiXS said:
i dont think this happend on ext4 format.
is the write speed realy a big thing? i also have moderate write speed and i can life with it
EDIT: If you want to move BIG files to your sd use a cardreader, for me its fast...
Click to expand...
Click to collapse
You have no idea how slow it is. about 900kb/s took me 3+ hours to copy about 10gb of my old data to the sd after partitioning
i dont have a card reader
BUMP!!!
Really need help please...
so no fix for this?

Categories

Resources