D2EXT partitioning issues! - Desire Q&A, Help & Troubleshooting

hi! this is really doing my head in.
I have a 16gb card, im using gpart on ubuntu to partition the card as follows:
fat32: 13.53
ext4: 1
ext4: 299mib
swap: 108mib
after my phone doesnt recognise it, i cant turn the phone on, i cant flash anything in recovery because of an "e can't mount" error.
when i plug it into windows it says it need to be formatted, and if i go to disk manager and try formatting the fat32 part it ends up formatting the 1gb ext4 so when i set everything up on my phone i only have 1gb sdcard space!!
if anyone can let me know why this is all happenning i would greatly appreciate it! is there something im missing in the process?
thanks.
EDIT: the system does boot but it says i have a blank sd
then i get a notification saying: UIDs on the system are inonsistent, you need to wipe your data partition or your device will be unstable.
with a button that says: i'm feeling lucky :L

You only need 2 partitions. 1 extra and 1 fat32. Fat32 needs to be the first primary partition and extra needs to be the second primary partition. You don't need a swap either. You could just boot into recovery and do it in there but that's only ext3 but you could still use gparted to upgrade it to ext4.
Sent from CM7

Just partition it in recovery to fat + 1ext partitions, then download SD align tool from Baadnewz blog which will align ext partition and will convert it to ext4
Sent from my HTC Desire using XDA App

Related

[Q] Problems with A2SD (non Froyo Version)

Hi there,
I have a little problem with a2sd.
I partitioned my 16 GB sd-card to 15GB Fat32 and 1 GB ext3.
My actual rom is AuraxTSense-8.1.1. Everything is fine ... the Desire says
640 MB ram left for applications ... that's ok.
Same when I flash MIUI. All is ok ... ok MIUI is not my favorite rom, so I want to flash the new AuraxTSense_8.4_Official_OTA_2.2_FRF91_A2SD+.zip, but there is
the problem. This rom did not notice my ext3 partition for apps, although it is an A2SD+. Same with LeeDrOiD_V2.4_A2SD.zip. On all flashing session I did a full wipe.
Now I'm back to the AuraxTSense-8.1.1 with working A2SD.
I searched the inet and forum, but I didn't find any good clue. Only hints how
to partition the sd-card. And my partition seems to be ok.
Hmm ... anyone any hint for me? AuraxTSense-8.1.1 is a bit unstable, it reboot without any reason once a day, MIUI is not mine ... I love sense ...
Thanks for your help ....
TechZombie ...
Possibly wrongly partitioned?
Try to re-partition it.
Download Gnome Partition Editor (GParted Live) here on CD or USB.
Read the documentation at on GParted website ~ how to partition your drive? (Most answers of your questions are there).
Backup your SD card data to PC before start partitioning.
Boot into GParted Live on CD or USB (Make sure that your motherboard first boot is either CD or USB).
Follow onscreen instructions to get GParted Live loaded.
Note – select your SD card as the drive. DON’T select your hard drive.
Delete every partition on SD card.
First create a primary FAT32 partition.
Then create another primary ext(2,3 or 4) partition ~ 1GB or more.
Exit GParted Live and back to Windows.
Copy back your data to SD card.
Click to expand...
Click to collapse
davebugyi said:
Possibly wrongly partitioned?
Try to re-partition it.
Click to expand...
Click to collapse
please try this:
Take a Usb-stick.
! YOUR DATA FROM YOUR STICK WILL BE LOST, BACKUP BEFOR GPARTED INSTALL!
! BACKUP YOUR DATA FROM YOUR DESIRE SD-CARD, ALL DATA WIL BE LOST USING THIS METHOD!
Download gparted, install it using unetbootin.
start gparted form your usb-stick.
Mount your sd-card in clockwork-recovery.
Remove all partitions in GParted from your desire sd-card.
create a new partition form about 1Gb ext-4.
then create a new partition (fat-32) that fils the rest of your sd-card.
Note: the ext-4 partition needs to be in front of the fat-32 partition.
restore your desire sd-card data.
I hope this helps
@davebugyi: This was the exact way I partitioned my sd-card ... strange ...
@Keon91: The ext4 partition before the fat32? I thought ext after fat ... ok let's give a try ... must it be ext4 or is ext3 ok? I heard ext4 reduces sd-card life?
Thanks ....
TechZombie ...
as I can remember I had my ext4 partition in front of my fat32 partition.
when I view my partions in gparted ext4 is in front of fat32.
fat32 has label : sba1.
ext4 has label : sba2.
I never heard ext4 would reduce sd-card life. In the insertcoin thread they recommend a ext4 partition.
Finnaly I solved it ...
First I tried ext4 in from of fat32. Problem: Windows didn't notice the fat32 partition.
@Keon91: The lables of your partitions show that in your configuration the fat32 is also in front of the ext partition.
After this, I partitioned again with gparted to 15gb fat32 and 1gb ext3 ... both primary ... and now ... i don't know why ... the ext3 is found by a2sd ...
Thanks to all ...
TechZombie ...

[Q] Aligning FAT32 filesystem to partition

Hello
I am trying to align my FAT32 partition on my SD card as per:
dubdubdub.patriotmemory.com/forums/showthread.php?3696-HOWTO-Increase-write-speed-by-aligning-FAT32
I'm having issues completing the process because my SD card has a FAT32 partition followed by an EXT4 one, whereas the guide formats the entire SD as FAT32. I've tried heaps of different things to get it working, even doing it successfully on a 4GB flash drive which was fully FAT32, but I'm convinced having the EXT4 partition after is causing problems.
When I go to (W)rite the heads/sector changes to the partition I get this error:
WARNING: Re-reading the partition table failed with error 22: Invalid argument.
The kernel still uses the old table.
The new table will be used at the next reboot.
Syncing disks.
No changes are made, not even after rebooting Linux.
Has anyone else had success with aligning their FAT32 partition with an EXT4 following it? I could try doing the entire SD card as FAT32, align it, resize it, and create an EXT4 after aligning it, but wasn't sure if this would work. I'll give it a try and see how I go.
I know its not helpful, but I was planning on doing this next time I flash a new ROM but haven't got around to it yet...
However, the link above which is clickable is here: http://www.patriotmemory.com/forums/showthread.php?3696-HOWTO-Increase-write-speed-by-aligning-FAT32
I imagine you need to change this bit:
Create a new partition that starts at cylinder 1 and ends at the end of the disk
to
Create a new partition that starts at cylinder 1 and ends at x from the end of the disk
where x is the size of the EXT partition you want to create
sadly it doesnt give the commands and i can't read the help here at work at the moment
I don't believe in such alignment.
Remove all partitions from gparted or windows disk management.
Download SD Formater utility from SD Card Association. And format your card. Full format.
Boot into gparted and shrink fat32 partition. Take note that there is 4MB in front of fat partition. Make sure it stay that way. In free space create ext partition. Use MB alignment in gparted.
That's all.
vr5411 said:
Use MB alignment in gparted.
Click to expand...
Click to collapse
I don't remember seeing that option?
what about the flashable ext alignment zip's?

[Q] How to make ext4? Im stuck here...

Hello.
I'm having a big problem with ext4 fromatting partion.
I have using GParted program (bootable cd), and everything was great, program created 2,79 GB FAT32, and 1 GB ext4, like in the video tutorial on your site http://forum.xda-developers.com/showthread.php?t=1016084 (step five).
And I noticed, on the end of the video, when the guy is checking on htc desire space (about 2:40 min on youtube) he had 13,92 GB on FAT32 of 14,92 GB. But I have full 3,92 GB FAT32, which is the same sioze a micro sd. I dont know where I am doing wrong?
Then, I tried ROM manager, but after restart, I have blue android and triangle with !...and says that on disk e: something goes wrong ABORTED!
Do you have some idea, what can I do?
Thank you very much.
You did something wrong with gParted, delete all partitions, make one FAT32 partition and format the SD.
Then try making EXT partition in recovery, if you know how to you should change recovery to the 1 in my signature, it works flawlessly.
Nope, I formated fat32 and ext4, and when I connect htc desire to pc, and put Insertcoin.zip, its blank sd card. And then I see notification on htc, that is my sd card blank, and unsupported filesystem...
I will try and third way, that ext4recvery...
or you can try MiniTool Partition (@k3lcior yes I remember what you said).
Note: Some say that you can get errors when partitioning with windows, but I've never had any problems. Up to you.
Gparted is an awesome tool to use ??? I don't see what your doing wrong ...
Format card - New Partition - Fat 32- 2.79 gb -
Then new partition - create Ext 4 at the end 1gb....

Need help setting up Link2SD

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.

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..

Categories

Resources