Whats the point of a linux swap partition? I have the fat32 and ext2 but didnt know what the linux swap was for.
Also how do you upgrade to ext3 or 4 and whats the difference between the 2?
And is it necessary to upgrade from ext2?
Im running cyan3.9.10 so i have the apps2sd but its through ext2 and was wondering if there was a big difference from ext3 or 4..
basically upgrading to an ext3 or 4 would be good as the ext2 has a bigger tendency to become curropt when u reboot of shut down the fone. cyanogens 1.4 recovery can easily upgrade. as for the linux swap uses a partition on the sd ie the swap file as more ram witch in-turn speeds up ur fone
Related
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...
how do i extend memory in linux swap through console?
like to 64mb or the next level?
thks
bansawbanchee said:
how do i extend memory in linux swap through console?
like to 64mb or the next level?
thks
Click to expand...
Click to collapse
you would have to re-partition your sdcard to include a larger linux-swap partition.
would it be possible for you to give me the code i would type on comsole if i wanted 1gb ext4 and 64 or or of swap?
i have been looking everywhere but i cant seem to find it.
i used 51dustys script for the partioning part nothing on swap in there. it created it for me.
You could use gparted or the partion editor in ubuntu to resize it but it will takes about a half hour to resize and you would have to do it twice since you would also have to resize your ext partion to give you space to extend your swap. It's easier and quicker to just backup and format
ok q. if i go into console and change sd fat32 size to say 2gb. and how would i get ext4 to 1gb everytime i try it reverts back to ext2 i can get ext2 to 1gb but i want ext4. and if i got it like that would the remainder be swap?
You do not need over 500 mb for your ext and anything over 96mb for your swap is quite excessive.
ok i understand that. but with 96mb i would like. its not neccessary for me to have 1gb of ext jst the swap
Either reformat or download either gparted or ubuntu and make a live cd and use either one to resize
thks everyone for info
shold have retraced steps
51dustys script has all i need to complete swap. il try it out monday. also his script will do the format for you from console.
i know you have already found your answer, but i used sdparted to partition my card and it is very simple and easy.
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.
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?
I have made (approximately) 512MB ext2 partition and used INSTALL.EXE. But haret gives me "no filesystem could mount root" and reboot.
Any ideas? Tested gingerbread and CM6.1. Both gives same results.
Possibly bad SD card?
You also prepared a linux swap partition of 64 MB?
And did you make your fat32, ext2 and linux swap primary?
If those are the case, then it should work afaik.
Else you might want to try a different SD card yes.
Nope, i just had primary fat32 and logical ext2.
I have recreated the way, you said and it works. Thanks!
Glad to see I helped, have fun with android!
matejdro said:
I have made (approximately) 512MB ext2 partition and used INSTALL.EXE. But haret gives me "no filesystem could mount root" and reboot.
Any ideas? Tested gingerbread and CM6.1. Both gives same results.
Possibly bad SD card?
Click to expand...
Click to collapse
You must set fat32 primary in first partition, and set ext2 primary in second partition, Important! ext2 primary must less than 512MB!Just format Fat32, don't format ext2.