How many ext partitions can I have? - Desire Q&A, Help & Troubleshooting

Hello.
How many ext partitions can I have?
I clicked "make partition" a few times in amo-ra. Does that mean I have many ext partitions?

If the free space on your SD-Card got smaller then a) you just have one big EXTn partition or b) you have several EXTn partitions... if you really want to know, boot gparted..
Did one really need to make a post about this? Is it not just something you could have logically found out yourself or researched rather than straight up making a new thread?

Related

[Q] No Partition Options

YO!!
First off I want to say this site is dope and tons of help to match.
This has most likely been asked before, but..uh I dont see/get it.
I have been trying to create partition ext3-ext4 on my sd with absolutly no luck.
I've been readin this for days now and never seem to find a definitive answer.
Everyone says that while in recovery you have option to partion ext3-ext4, but I guess my phone is retarded for some reason. While in recovery(any version and its clockwork btw) if i go to partition sd, once in that menu it brings up 5 different sizes. I check the last one and then the second step is to pick the swap. After I check what I want for the swap it starts the partition. Nowhere in the recovery menus(anywhere) do i see any options for ext2-4(ext2, ext3, etc etc).
So my question is: If it's not there where do I find it or is there any other option and is it really worth it?
I know how to gpart (or whatever you call it) but not sure how to allocate the sizes. 32GB sd class4
I've finally figured out adb and flashed several times. Call me blind, call me crazy, call me stupid...just don't call me coffee.
any help would be great.
T-Mo G2 is the device.
ps. I guess I'll get this out of the way so i don't have to keep posting dumb questions. I notice when flashing roms and it goes to mount the sd-ext(might have that spelled wrong sorry) I always get an error saying unable to load dev/block/mmcblk1 not formating. Nothing happens and the roms still flash just fine(usually). I saw this question before but everything I read that was supposed to be a"fix" didn't work. I am assuming I'm getting this because my sd isn't properly partitioned. any help on this would swell as well
oh yeah and it's ENG S-Off and all that other jazz. Used the gfree/rage method
cheers
Theres an option in ROM Manager to partition your sdcard for you but I have never had any luck getting it to work.
Heres A LINK that will walk you thru partitioning your sdcard thru ADB, it works, I used it to partition my sdcard, Just remember the sdcard for the HTC VISION is at dev/block/mmcblk1, the instructions will tell you to partition dev/block/mmcblk0, but this is for a diffrent phone. You want to partition dev/block/mmcblk1.
WARNING: DO NOT TRY TO PARTITION dev/block/mmcblk0
thanks for the reply. I learned that last night, lol thats the one I learned from last night. Problem is I need some input on how much to allocate for each partition. 32GB card.
cheers
Are you trying to partition your sdcard for use with apps2ext? If so since you have such a high capacitiy sdcard I would partition it to 1024mb ext2, 32mb linux swap and the rest FAT32.
Just a side note, remember to remove the existing partiton (which is the stock fat32) before starting the partitioning process,
â– Command: rm 1 (deletes partition number 1)
so how to I get the ext4 partition? same as i did the first 3? the reason I ask is because I still dont have sd-ext after i partition with recovery. I want to move dalvic cache so that my widgets will work from sd card
If it helps im using GV1.5 rom with the proper recovery 3.0.0.5 ( which as I just noticed is now the new recovery rom manager wants you to flash...got tired of having to adb 3.0.0.5 everytime I wanted to test CM7 or GV1.5)
thanks
i just tried running the following in adb after card was wiped:
mkpartfs primary fat32 0 31712 that worked
mkpartfs primary ext2 31712 32736 and then got error saying:
The location 32736 is outside of the device /dev/block/mmcblk1
so i think the problem is my card is actually 29.9GB and since my math is crap I cant figure what esactly to put...
Just move your ext partiton a little lower, the same thing happened to me when I tried to partition at first, had to play with the numbers a little. You don't have to get the total card capacity filled with a card that big what's a few mb's.
Sent from my HTC Vision
maybe I should of asked this first.
My reasoning for doing this is I read somewhere that if you can upgrade to ext4 you would be able to run widgets off sd card because the phone thinks it's stll on the actual internal storage,
am I wrong?
There's only one rom that supports apps2ext , which is what your looking to do and that is Enoms rom, but there is also Darktremor's apps2sd mod in the dev section which will enable this on all roms, in either case you need a card partitioned to at least FAT/EXT2.
Sent from my HTC Vision
got it. after darktremors script while in shell i ran ap2sd cachesd and wa la.
thanks again

[Q] Please help me partitioning my 4GB microSD card

Hello there! I hope that I am not annoying you, but I am having issues with partitioning my SD Card, that have not yet been discussed here, so a step by step guide would be highly appreciated, because otherwise I am just too stupid.
I have a fully unlocked HTC Desire with alpharev's S-OFF, most recent radio & stuff. Partitioning my SD with Clockworkmod Recovery 3.0.0.5 just won't work, it DOES something, but when plugging my Desire on my PC, it shows me ONE FAT32 partition, just as it was before, which takes up all the SD's space. Neither does it work with ROM Manager.
It got really weird when I manually partition it with GParted on my Ubuntu:
My Setup was:
1 FAT32 Partition, size: maximum what was left.
2 EXT4 Partitions, one 768MB, one 256 just as recommended for DATA2EXT HERE
No SWAP Partition.
Then my sdcard can't even be mounted by CWM-recovery - it says wrong parameter
I can still access it via 'mount usb storage', and fully access and format it in any way I like.
Any hints, step-by-steps or any help at all on how to correctly partition my sdcard? GParted there are settings like partition tables and stuff. what should I choose to make my SD Android-mountable??
EDIT: I think I got it. haven't yet tried it, but I think my fat pertition exceeded 2GB, gonna try later.
hy, don"t know really how it works with gparted (i m currently using amonRA which allows partionning sc card) but a single search with my friend... google gives me that result.
I think this could helps you considering your post.
http://forum.xda-developers.com/showthread.php?t=557590
have fun ;-)
CrisisCorE said:
Hello there! I hope that I am not annoying you, but I am having issues with partitioning my SD Card, that have not yet been discussed here, so a step by step guide would be highly appreciated, because otherwise I am just too stupid.
I have a fully unlocked HTC Desire with alpharev's S-OFF, most recent radio & stuff. Partitioning my SD with Clockworkmod Recovery 3.0.0.5 just won't work, it DOES something, but when plugging my Desire on my PC, it shows me ONE FAT32 partition, just as it was before, which takes up all the SD's space. Neither does it work with ROM Manager.
It got really weird when I manually partition it with GParted on my Ubuntu:
My Setup was:
1 FAT32 Partition, size: maximum what was left.
2 EXT4 Partitions, one 768MB, one 256 just as recommended for DATA2EXT HERE
No SWAP Partition.
Then my sdcard can't even be mounted by CWM-recovery - it says wrong parameter
I can still access it via 'mount usb storage', and fully access and format it in any way I like.
Any hints, step-by-steps or any help at all on how to correctly partition my sdcard? GParted there are settings like partition tables and stuff. what should I choose to make my SD Android-mountable??
EDIT: I think I got it. haven't yet tried it, but I think my fat pertition exceeded 2GB, gonna try later.
Click to expand...
Click to collapse
Not overly sure if this will help but .....
A long time ago when I first started tinkering with roms I tried partitioning my SD Card for Apps2SD but whatever I tried (Partition Magic, ROM Manager, GParted) it would get halfway through partitioning and then fail sometimes even leaving me unable to access the card from phone or PC. Spent several nights trying to sort problem then found out that some makes (possibly cheaper but think Transend are mostly the bad ones?) don't like being partitioned, why .... I have no idea. Anyway bought a new one 16gb Lexar Class 6 card which partition first time and had no problems since. Hope it helps and best of luck!
Are you to create "primary" partition or "logical"?

[Q] Help With Roms - Not a Desire User Myself...

Hi,
I have recently rooted, full s-offed and hbooted my friends Desire.
Im a DHD user myself and am trying to get to grips with how you guys handle your devices when it comes to roms.
So far, I 'get' the hboot situation and partition layouts etc and have taught my friend.
Now Im getting a bit lost with the whole sdext part of it as well as the apps/data2sd side.
I know how to partition and get them applied but lose it on actually how they work when it comes to roms. Any rom that uses normal layouts such as CM7 I get.
Take for example:
[ROM][Cool3D Sense 3.0][26 July]Cool Sensation v6a|Stable|CM7/r2|DATA++|STOCK
I get this part:
Requirement:
CM7 Hboot 130MB System, 5MB Cache, 302MB Data. Download
CM7 r2 Hboot 145MB System, 5MB Cache, 287MB Data.
DATA++ Hboot 180MB System, 5MB Cache, 252MB Data.
STOCK Hboot 250MB System, 40MB Cache, 147MB Data.
Click to expand...
Click to collapse
So I on put CM7r2, now how do the partitions work?
Is it Partition 1 = /system, 2 = /data?
I tried it with 1=512 & 2=1gb but it just froze with only SystemUI running after the lockscreen.
I can see what the roms doing via the zip/updater-script but this whole partition thing is lost on me.
Any help is appreciated!
On a related side note, this will also help us provide support for lower nand devices with our Flashable ROMCleaner 2.0 we have recently released.
Once we get this down we are pretty much able to support most roms!
I think the easiest, briefest way to explain the ext3/4 partition is to think of it basically as an extension to your internal memory. Don't think of it as being a partition on your SD Card (even though it is) but an extra bit of internal memory. This ext is where apps will be stored if you have a2sd.
To avoid app piracy, many apps can't be stored on the SD Card (normally), so this extension to your SD Card is created to store them, that's why the ext partition isn't formatted as FAT32. If it was formatted FAT32 the phone wouldn't recognise it as being part of itself (if you like), but rather still part of the SD Card.
Hope this makes sense.
EDIT: Just re-read your post and if you've flashed the HBOOT it will automatically repartition depending on which HBOOT you flashed. You don't need to repartition anything. If you already ext partitioned your SD Card this won't be affected.
So when a rom installs to the sdext partitions its pretty much 'symlinking' the data which would normally reside on the internal partition?
When the system want to access this file then would it still 'see' it as sitting on the internal?
If it does then it would make our cleaning script a lot easier lol
As for the hboot, I didnt know it actually created the partitions for you when flashed as he had already got 2 on his sd.
Would this explain the freezing with the roms then? With Cool3d it seems that /system is split between internal and sdext so Im assuming the sdext side of it wasnt getting copied across?
May have something to do with the order of partitions as well, 1=system 2=data?
First of all the SD card needs partitioning, which I'm guessing you did, with something like GParted? You would create either a ext3 or ext 4 partition, minimum 512MB. Normally a ROM states min. size for ext partition but the thread for Cool3D doesn't seem to so 512MB or 1GB would be ok. If in doubt pm the dev to make sure.
Cool 3D requires ext 4 which needs aligning before flashing the ROM (but if the SD Card already has ext 3 this will be converted automatically when aligning to ext 4)
Then flash the correct HBOOT (choice of 4 listed on the thread) using fastboot then flash the new ROM. The thread also states you need to have specific Radio and RIL. All "stuff" you need is linked in the first post. Just follow the instructions on the first post and you can't really go wrong.
The freezing you mention could be caused by not aligning your ext partition first.

What is the use of 2nd sd-ext2 partition?

Hi,
I was formatting my memory card in DHD using 4EXT recovery and I keep wondering what is the use of second sd-ext partition? To be precise, I mean sd-ext2, not sd-ext (I know its used for apps2sd). Does it work like backup partition if the first one runs out of memory? But that wouldn't make sense, since you can just create one big partition. My second thought was that maybe you install linux on it if you want to have it in your smartphone (like ubuntu or debian).
And the second question is about swap. Does anyone uses it at all? I used to have it on my old HTC G1, but I don't think it makes sense to use it now. Are there any roms that take advantage of swap and does it make them work faster (particularly the new big sense 3.x roms)?
Thanks in advance for any responses,
BR, Jack.
edit: I wrote the same topic on my native polish board and I got responses, but that's not what I meant so I decided to write more precise what I mean.
I know there are such apps like ie. link2sd, which use second partition on the memory card as partition for storing applications, data etc. They use the bolded partition (numbers are numbers of partitions on memory card):
1. fat32
2. sd-ext
What I am talking about is second ext partition, like this:
1. fat32
2. sd-ext
3. sd-ext2
It surely doesnt mean format of partition (like ext2, ext3, ext4), it means there is a second ext partition. Both of them can be formatted differently, both can have different ext (like ext2, ext3, ext4). What is the use of sd-ext2 partition? Does it serve as a backup partition for first sd-ext? Or you can install linux on it?
from what i've seen reading around on this forum, swap isn't necessary on a desire HD, the phone has enough ram
not sure about a second sd-ext though sorry
For what i gather... only 4Ext has it... why not ask them?

[Q] GB to JB - Reformat SD?

Currently running MikG3.11 w/a2sd so have a EXT3 partition for data (I have my /cache pointing there also). I'm looking to move to a JB rom (probably Evervolv - http://forum.xda-developers.com/showthread.php?t=1961602).
How do I need to re-partition my 16G sd to make the most efficient use? It's been quite a while so a quick 'step1,2,3 howto would be great..including suggested sizes, ext3/ext4...)
Recovery is SmelkusMod..
Thanks Tons!
You may not *need* to do anything out of the ordinary.
If your ext3 partition is of a reasonable size, you might be able to just wipe everything (except 'SD card') in smelkus, flash the ROM, and proceed from there. Nandroid first of course.
'Reasonable' means about 512 to me, others may have different ideas.
How big is your ext partition?
The main reason to repartition is if you are having mystery SD card issues or you want to add or resize partitions. If these don't apply, just wipe, flash, and go.
6100 using xda app-developers app
NxNW said:
You may not *need* to do anything out of the ordinary.
If your ext3 partition is of a reasonable size, you might be able to just wipe everything (except 'SD card') in smelkus, flash the ROM, and proceed from there. Nandroid first of course.
'Reasonable' means about 512 to me, others may have different ideas.
How big is your ext partition?
The main reason to repartition is if you are having mystery SD card issues or you want to add or resize partitions. If these don't apply, just wipe, flash, and go.
6100 using xda app-developers app
Click to expand...
Click to collapse
I would. Repartition, 0/1024, ext3, then ext4....i actually do this before any flash. Think about what a2sd does, and you'll realize that if you don't format, your system has to run through more dead data to get to the info it needs
Sent from my EVO 4G using Tapatalk 2
jwitt418 said:
I would. Repartition, 0/1024, ext3, then ext4....i actually do this before any flash. Think about what a2sd does, and you'll realize that if you don't format, your system has to run through more dead data to get to the info it needs
Sent from my EVO 4G using Tapatalk 2
Click to expand...
Click to collapse
/system 318 used out of 350mb
/data 369/428mb
/cache 1.38mb/160mb
sdcard ext3 .97 used, 1.79GB total.
sdcard fat32 (rest of the 16G)
I had thought that going ext4 was typically recommended for JB. Are you saying first create a 1G ext3, then the rest as ext4? How does that work for transferring files back and forth via usb to a win7 box?
I intend on doing this fresh.. ie, install gbapps and individual app re-installs from there.
I have a lot of opinions on this but let me just try to answer your one specific question about ext4.
(going from memory here, I'm sure someone will correct me if I'm wrong..)
When creating partitions in recovery, you will be prompted to allocate space to three separate partitions, swap, sd-ext, and 'the rest'. You have to choose a specific size for the first two, the third partition gets whatever is left. If you choose a size of zero when prompted, it will skip creating that partition.
So if you follow jwitts advice above, you will answer zero for swap, then 1024 for the ext partition.
This will skip the creation of a swap partition and create a sd-ext partition with size 1024. Initially you want to format this as ext2.
The rest of the SD card will go in the main sdcard partition and will be formatted as FAT.
As a last step you convert your ext2 partition to ext3 (and if you think there would be a benefit, you can further convert it from ext3 to ext4 in a subsequent step.)
Honestly, I installed evervolv over the exact same partition scheme you have already and have seen no need to tamper with it. Obviously others do. I leave you to make whatever decision you feel most comfortable with.
Partitioning is destructive: you lose all the contents of the entire SD card in the process so you need to make a backup first, and I don't mean nandroid. To me it's a bit more inconvenience plus the risk of losing irreplaceable data (ie pictures, music, etc).
By contrast, wiping partitions is routine and doesn't touch the main FAT partition. If you use smelkus to wipe your sd-ext partition (as implied in the oft-repeated advice to "wipe everything except 'SD card'") you should be starting with a pretty clean slate.
Maybe I've had the wrong understanding all this time, but I have been working under the assumption that "wiping" has the effect of deleting all the files below certain mount point.
The contents of your sd-ext folder are just as gone as if you "formatted". There may be other benefits to additional formatting or partitioning, and when you are planning to start from scratch, that can be a good time to do this sort of "preventive maintenance", but I was just pointing out that under normal conditions it is not strictly necessary.

Categories

Resources