[Tutorial] How to part your micro SD card into ext4 using GParted Live CD? - Galaxy Ace S5830 Android Development

[Tutorial] How to part your micro SD card into ext4 using GParted Live CD?
Disclaimer: I am not responsible for dead micro SD. Please do it at your own risk
Hello All,
Please find the below tutorial to part your micro SD card into ext4.
Required:
• Micro SD card
• Card Reader/Micro SD card Adaptor (Make sure drivers are already installed)
• GParted live CD (Download: http://gparted.sourceforge.net/download.php)
• Image Burner Software
• Another computer or screenshot to read this tutorial as you cannot use your computer while partition
• Take backup of all your data in your SD card.
Ok that’s all…. Let’s start now.
• Burn the downloaded GParted live (GPL) CD using any image burner (I used Roxio to burn image) to CD
• Once completed, insert your card reader/MSD Adaptor and check drivers installed. (Don’t remove your card reader/MSD Adaptor)
• Insert GPL CD (burned CD) and reboot your PC and get into boot mode F12 in W7.
• Now you will see GPL boot screen. Select GPL default. (Some codes will be appearing for few mins)
• Then a small screen will appear (Configuring console data). Hit escape and see below to select language. Enter 33 for US English and Enter 0 (Continue to start X to use GP automatically)
• New screen will appear. See right corner of the box to select your memory card (Very important step: make sure you haven’t selected your PC’s hard disk)
• Now you will see your memory card in the middle of the screen with the total memory and partition (if any). Right click and delete the existing format for all partitions.
• Now you will see the entire memory card space as unallocated. Right click and select new (New box will open) Select as below mentioned.
Create as “Primary Partition”
File System “Fat32”
Free Space following (MIB) XXXX (This free space will be your ext4 allocate accordingly) E.g. ext 4 required 2GB then enter 2048MB
• Now GPL will throw you back to main screen. Right click on unallocated space and select new.
Create as “Primary Partition”
File System “ext4”
• Select “Apply” in main screen. Wait for few mins.
Congratulations!!!! You have successfully parted your SD card.

Is it the same as partitioning thru CWM4? If we partition via CWM4 the result is EXT4, A2sd can run with it. Why the long process? Just want a clarification is it really different?

royskeyz said:
Is it the same as partitioning thru CWM4? If we partition via CWM4 the result is EXT4, A2sd can run with it. Why the long process? Just want a clarification is it really different?
Click to expand...
Click to collapse
Hi,
I tried doing partition using CWM4 which resulted in ext3 and not ext4. Hence I created this long process partition.

Just create a 2 partition using cwm then install link2sd from market . Using link2SD make a partition into ext 4

i think its more easy and safe to use minitool partition manager. no need to burn, boot livecd whatsoever.. and gparted livecd can become a dangerous tool in wrong hands. linux livecd is not something to be played around just to partition sdcard. just a simple wrong click and ur windows partition would be trashed.

Just a little advise.. if you really want to use gparted better you do that in linux enviroment such as ubuntu etc..but if you are windows user then use mini partision home 6..its more easy n safe..Cmiiw
Sent from my GT-S5830

Is minitool partition can be used to format sd cards into ext4..?

geraldgeron said:
Is minitool partition can be used to format sd cards into ext4..?
Click to expand...
Click to collapse
sure it can

one question, in a 4 gb sd card how much it should be the partition?

vlc_marcos said:
one question, in a 4 gb sd card how much it should be the partition?
Click to expand...
Click to collapse
Hi,
I would suggest atleast 512MB as ext4.

thanks, and this partition is for what, so make like an extre space for the phone?

vlc_marcos said:
thanks, and this partition is for what, so make like an extre space for the phone?
Click to expand...
Click to collapse
Yes.. it will and then you can transfer your Phone internal memory data to sd card.

an0nym0us_ said:
sure it can
Click to expand...
Click to collapse
Oh yeah..?
But the last time i had partitioned my sd to ext2..option was only upto ext3..
How can i prtition it using minitool?
Sme as partitioning way of ext2?..
But how..?
Or maybe minitoolversion?

Problem with ex=sd part
I have rooted desire with 4gb that has 500mb ex sd partition, now i bot 8gb card and want to partition it but when i do it with mini tool phone does not see ext partition, why? I looked steps carefully and tryed it several times, thnx

cp6ija said:
I have rooted desire with 4gb that has 500mb ex sd partition, now i bot 8gb card and want to partition it but when i do it with mini tool phone does not see ext partition, why? I looked steps carefully and tryed it several times, thnx
Click to expand...
Click to collapse
Why not partition it using CWM recovery..??
It's much easier and faster
Sent from my GT-S5830 using Tapatalk

I also got the same problem.
Seems like miniTool is messing up..
I partitioned my 8GB sd card to 600MB ext4 and the rest FAT32.
But now not only the phone but even gparted(live usb/from linux) also cannot see ext4 partition.
I can only see it as 7.4 MB....
Not sure what exactly happened.
Edit: working now. after delete & partition again.

Insert GPL CD (burned CD) and reboot your PC and get into boot mode F12 in W7.
• Now you will see GPL boot screen. Select GPL default. (Some codes will be appearing for few mins)
• Then a small screen will appear (Configuring console data). Hit escape and see below to select language. Enter 33 for US English and Enter 0 (Continue to start X to use GP automatically)
i dont each and every thing as above but after that i stuck, there is just Black screen unblinking curser on left top corner. i tried 3, 4 time but same result.
""No new screet appeared as you mention below. what i should do now.."
" New screen will appear. See right corner of the box to select your memory card (Very important step: make sure you haven’t selected your PC’s hard disk)"

I follow this guidance for make partition on my sd card
http://androidandme.com/2009/08/news/how-to-manually-partition-your-sd-card-for-android-apps2sd/
it works for me. now I have:
512MB linux swap
1024MB ext4
6,5GB fat32
on my 8GB sd card

Related

Paragon Partition 9.0 problem

after tryin to partition my sd, it went throught the steps then at the end it said restart needed, and after it restarted it started up in this safe mode type screen before vista loaded and said some error....did it partition the card? because when i look at properties of card it only says i have free space that is size of fat32....that i left...cant see if it made ext2
caleoss said:
after tryin to partition my sd, it went throught the steps then at the end it said restart needed, and after it restarted it started up in this safe mode type screen before vista loaded and said some error....did it partition the card? because when i look at properties of card it only says i have free space that is size of fat32....that i left...cant see if it made ext2
Click to expand...
Click to collapse
Windows cannot see ext2 partition. your best but is to open partition manager or use a linux distro to see it.
i wish Paragon didn't exist, i have seen so many problems people have been having trying to use Paragon. if everyone just downloaded a linux distro it would work perfectly every time and we wouldn't have 15 threads about Paragon problems
tubaking182 said:
i wish Paragon didn't exist, i have seen so many problems people have been having trying to use Paragon. if everyone just downloaded a linux distro it would work perfectly every time and we wouldn't have 15 threads about Paragon problems
Click to expand...
Click to collapse
i cant use that on windows vista can i?
download a linux distro and burn to a disk, then shut down your comp and reboot to the disk. then when you boot to linux click System>Administation>Partition editor. it's easier then trying to use paragon
tubaking182 said:
download a linux distro and burn to a disk, then shut down your comp and reboot to the disk. then when you boot to linux click System>Administation>Partition editor. it's easier then trying to use paragon
Click to expand...
Click to collapse
i have no idea how to use that, where do i get it from, i have eclipse on my comp but dont think that has anything to do with this
nope go here i have a step by step. i will be adding screenshots, but i didn't have a chance today as i was trying to meet up with some guy to buy my phone(tilt)
Your best bet is to start clean. Delete all the partitions so your entire sd card is "unallocated space".
Create a new partition for Fat32. Don't use all free space (Duh)
Create another partition for ext3 (use ext2 if your rom doesn't support ext3 yet). Just use all the remaining space
Windows cannot see the ext partition but if you want to see the amount of space used just open up paragon partition manager and it will tell you.
I dont know if you fixed the problem yet, but I think I have a solution for you.
If you're trying to do this using the phone to mount the sd card, it won't work when it boots up to that safe mode looking window, because the g1 won't stay mounted. You need to use a card reader, there's no other way around it that I've been able to find.
Also if you're using 64bit edition of windows vista, paragon has tons of problems. If that's the case, you need to create the recovery cd within paragon, then boot to it, and you'll be able to make all the changes there, using a card reader of course.
To check if it made the partition, just have the sd card connected to the computer (g1 will work for this) then open up paragon and open the partition manager, and where you're sd card is there would be another partition, right next to your fat32 partition. If its ext2 format it would be highlighted yellow.
PPM9 works just fine, you just have to keep remounting the SDCard when Windows reboots. I've had it dismount during the boot too, you just have to watch your phone screen and remount it if it unmounts.

ATTN Mac Users that know partitioning, help please?

So i've read many places that using ExtFS and Disk Utility can successfully partition your SD card leaving you with an EXT2 partition. I feel like im 90% there. I choose "2 partitions" from the drop down menu. Select the top box, select "ext 2 filesystem" input 1gb for size. Select 2nd partition and select MS DOS FAT, and it keeps the size as the remaining amount (11.xx) I hit apply, it partitions, shows an extra volume on my desktop for a total of three (fat, ext, and the movie drive avatar came on), however when I unmount my phone, my phone says it cant read/mount SD card and my only option is to reformat it from the phone. Any help please?
joe.kerwin said:
So i've read many places that using ExtFS and Disk Utility can successfully partition your SD card leaving you with an EXT2 partition. I feel like im 90% there. I choose "2 partitions" from the drop down menu. Select the top box, select "ext 2 filesystem" input 1gb for size. Select 2nd partition and select MS DOS FAT, and it keeps the size as the remaining amount (11.xx) I hit apply, it partitions, shows an extra volume on my desktop for a total of three (fat, ext, and the movie drive avatar came on), however when I unmount my phone, my phone says it cant read/mount SD card and my only option is to reformat it from the phone. Any help please?
Click to expand...
Click to collapse
mac doesnt play friendly with ext2/3 partitions. best advise is to setup a VM with linux or use something like a bootable GParted disk.
you can install macfuse and read/write ext partitions, but they are unstable on osx and sometimes make your mac kernel panic and you have to reboot.
since ext2/3 work natively in linux, GParted or VM Linux install are the best way to go.
if you need any help PM me.
paragon's extfs works pretty flawless for me on my mac, but i still prefer using bootcamp to reboot into windows 7 and using paragons hd manager for partitioning.
joe.kerwin said:
So i've read many places that using ExtFS and Disk Utility can successfully partition your SD card leaving you with an EXT2 partition. I feel like im 90% there. I choose "2 partitions" from the drop down menu. Select the top box, select "ext 2 filesystem" input 1gb for size. Select 2nd partition and select MS DOS FAT, and it keeps the size as the remaining amount (11.xx) I hit apply, it partitions, shows an extra volume on my desktop for a total of three (fat, ext, and the movie drive avatar came on), however when I unmount my phone, my phone says it cant read/mount SD card and my only option is to reformat it from the phone. Any help please?
Click to expand...
Click to collapse
Also, you're doing it backwards. The FAT partition should be #1, EXT should be #2.
Yeah someone corrected me on that already. Still says sd card is damaged and can't mount in the phone. Always gotta reformat... there's gotta be one little thing I'm missing
Sent from my Vibrant using XDA Mobile
do this, format your sd card on your vibrant. after that is completed, take it out of the vibrant.
go here: http://gparted.sourceforge.net/
get a Gparted bootable ISO put it on a memory card or usb stick and boot from it. once in you can create all the partitions you need.
i have never been able to partition the SD card with DiskUtility because of the limitations of EXT2/3 on Mac.

[How-to]Darktremors apps2sd on Froyo

Edit: I made some scripts that you can run from gscript lite found in market for free. This script will mount the last partition so your windows pc will see it. There is one for mount and one for unmount. Plug your phone in pc and run the mountsd script and your window should pop up on the pc with the folder showing the partition that your froyo rom is using. If you have your card partitioned differently then these instructions then you can just edit the mountsd script where it says /dev/block/mmcblk0p4. Change the 4 to the number of the fat32 partition that you want it to mount. http://www.multiupload.com/HNIKCP720C
If you want to copy from froyo partition to recovery partition try this
Conap said:
No need to stop being lazy but you gotta give me a minute lol...download script and run it in gscripts. In File Manager if you press the home button you will see sdcard and sdcard2. sdcard is the froyo partition and sdcard2 is the recovery partition of the card. I am sure you can get to it in astro too but don't have it downloaded to test. Just navigate to the root folder of the phone and it should have the sdcard2 directory. This will stick untill you reboot then you will have to run the script again.
Click to expand...
Click to collapse
We all have seen that froyo doesn't like partitioned sd cards. After many attempts at partitioning my sd card for another project i'm working on I figured out a way to install the "old" apps2sd on Froyo. I know alot of people preferred the way it was done in 2.1. Froyo seems to use the last partition on the sd card at least untill the 7th partition which it stops looking after that. Amon's recovery works with the first partition on the sd card. So the solution is to put a Fat32 partition as the first partition then put your ext3 and swap partitions and then a 4th partition as fat32 for the phone to use when booted. The important thing to remember is to put any rom's you want to flash on the first partition. Your nand backups will also be stored on the first partition. Pictures, music, video's, stuff you download to the phone and any other normal stuff that uses sd card will end up on 4th partition. I will give instructions using a program called gparted. I think it is available for windows also. This should work with any type of partitioning software.
I will leave the original instructions at bottom of post but after a lot of partitioning my sd card for this project and the ubuntu/debian project and the DualRom project I've found that this method is a little better. I believe someone else linked to this method somewhere in this thread
Conap said:
THIS WILL DELETE EVERYTHING OFF OF YOUR SD CARD
ok try this...boot phone into recovery...hopefully you have amon's recovery cause I don't think clockwork uses parted(not sure). Then type or copy/paste these commands:
adb shell
parted /dev/block/mmcblk0
rm 1
rm 2
rm 3
rm 4
mkpartfs primary fat32 0 2000
mkpartfs primary ext2 2001 2500
mkpartfs primary linux-swap 2501 2550
mkpartfs primary fat32 2551 7948
quit
Depending on the number of partitions on your sdcard currently it may say error after the rm 1,rm 2, rm 3, rm 4 commands. You can ignore them.
Then reboot your phone or copy the file you want to flash back on to card and flash it.
Click to expand...
Click to collapse
PLEASE BE CAREFUL WHEN USING A FORMATTING PROGRAM THAT YOU ONLY REFORMAT YOUR SD CARD AND NOT YOUR HARD DRIVE
1. BACK UP YOUR SD CARD!!!!!!!!(this will erase all data on sd card)
2. Plug your phone into your pc and mount the sd card(like you would if transferring files from pc to your card)
3. Open GParted and on the bar at the top click Gparted then devices and choose the phone( should be the second in the list if you only have one hard drive and no other external storage devices connected)
4. On the gparted screen you will see the partitions of your sd card. There should only be one at the moment if you are already using froyo. Right click on all of the partitions and click unmount and then delete. This will delete everything on your sd. Please be sure you have backed up your card.
5. You should now have one line that says unallocated.
6. Right click on unallocated and click click new. It will bring up a screen that has size and type of partition sizes. The only things you need to change are the size and type. For the first partitions I used 2000mib in the new size box but I keep around 5 Nand backups and 10 to 15 rom's stored on my card at a time. If you do not do alot of nands and store alot of roms you could probably make this partition smaller. Then under file system choose fat32 from the dropdown menu and choose add.
7. Right click on unallocated again and click new. This will bring up the screen to chose size and file system again. Normally people use 500mb for the ext3 partition for apps2sd. You can adjust the number to fit your needs. Choose your size and then make the file system ext3 and click add.
8. Right click unallocated again and click new. This partition should be around 50mb and choose file system as linux-swap.
9. Right click unallocated and new again. This will be the partition you use for your media on your phone such as pic's or music. You will want to use the rest of the space left on your card for this partition. Choose fat32 for the file system and click add.
10. You should now see 4 sections listed. First and last should be fat32, second ext3 and 3rd linux-swap. If it looks correct you hit the checkmark button at the top of the gparted screen. It will make all changes to your sd card. You can then unmount your card and make sure your phone reads it. I reccomend taking 1 picture before copying the stuff you backed up back onto your card.
Remember to put your Nand folder and any roms onto partition 1 and all other stuff you backed up on partition 4. When your card is setup you can go to http://forum.xda-developers.com/showthread.php?t=715933 to get the zip to flash to install the apps2sd. Install apps2sd as per instructions on that thread.
I have apps2sd currently running on my phone with CELB3.2 and it is working fine. I set my card up on a linux machine with gparted.
you are the man Conap ...currently running your 3.2froyo, which BTW is smooth as heck....what I hate the most about froyo is there A2sd setup ....and you have just solved that problem
rvpartsguy said:
you are the man Conap ...currently running your 3.2froyo, which BTW is smooth as heck....what I hate the most about froyo is there A2sd setup ....and you have just solved that problem
Click to expand...
Click to collapse
Well if you or anyone else that has windows test's this can someone report if you can access both fat32 partitions when you mount the phone in windows....
I'll be trying this ish later. Superb work conap. I'm on windows, I'll let you know how it goes as well
Sent from my Droid Eris using XDA App
I'm undecided if I'll try this, but if I do it'll probably more to see how it works under Windows than to use it myself.
I wish the best of both worlds, being able to have Widget apps installed to SD card, but not have separate partitions, and still be able to specify applications I want to remain in the phone memory, for speed.
No matter what, though, beautiful! Thanks for writing up the instructions!
roirraW "edor" ehT said:
I'm undecided if I'll try this, but if I do it'll probably more to see how it works under Windows than to use it myself.
I wish the best of both worlds, being able to have Widget apps installed to SD card, but not have separate partitions, and still be able to specify applications I want to remain in the phone memory, for speed.
No matter what, though, beautiful! Thanks for writing up the instructions!
Click to expand...
Click to collapse
I agree it would be nice to have the option to move specific apps back to the phone. But I have seen alot of people that prefer this way so I thought i'd write this up. I actually needed partitions for other things which is why I was looking into it anyway. I now have 8 partitions on my sd card and everything still functions correctly. I did find that Froyo would read the last partition on the sd card up untill 7 partitions. When I added an 8th partition it still looked at partition 7. In case any one was interested in more partitions just make sure the fat32 is last partition untill you have more then 7 leave 7 as fat32.
Conap said:
I agree it would be nice to have the option to move specific apps back to the phone. But I have seen alot of people that prefer this way so I thought i'd write this up. I actually needed partitions for other things which is why I was looking into it anyway. I now have 8 partitions on my sd card and everything still functions correctly. I did find that Froyo would read the last partition on the sd card up untill 7 partitions. When I added an 8th partition it still looked at partition 7. In case any one was interested in more partitions just make sure the fat32 is last partition untill you have more then 7 leave 7 as fat32.
Click to expand...
Click to collapse
Do you have a 16GB or larger card? Wow!
Very interesting information, thank you!
roirraW "edor" ehT said:
Do you have a 16GB or larger card? Wow!
Very interesting information, thank you!
Click to expand...
Click to collapse
nope just stock 8gb...mostly small partitions for testing some ideas lol...i did find that the phone does not mount any more then 7 partitions(kernel limitation maybe) You can have more then 7 if you are useing your card for things other then the phone but for phone purposes 7 is the limit.
How do I plug my phone into my computer?
need help!!
Hi I accidently run the 'makeboot' from gparted iso on my windows Vista 32bit HDD, before I read it will damage windows boot and can only run it on SD card.
Now I have not restarted my laptop, to loose every thing, I need help to correct it!
Please guide my, what are my options.
Conap said:
nope just stock 8gb...mostly small partitions for testing some ideas lol...i did find that the phone does not mount any more then 7 partitions(kernel limitation maybe) You can have more then 7 if you are useing your card for things other then the phone but for phone purposes 7 is the limit.
Click to expand...
Click to collapse
Oh, okay! Nosey people (me) want to know. Hehehe.
workshed said:
How do I plug my phone into my computer?
Click to expand...
Click to collapse
You're messing with me, right? The USB cable that came with your phone, that you can also charge your phone with???
ykhehra1 said:
Hi I accidently run the 'makeboot' from gparted iso on my windows Vista 32bit HDD, before I read it will damage windows boot and can only run it on SD card.
Now I have not restarted my laptop, to loose every thing, I need help to correct it!
Please guide my, what are my options.
Click to expand...
Click to collapse
You'll probably have to boot your Vista 32-bit installation DVD and run a Startup Repair. Or if the computer came with a recovery DVD that you hopefully burned after booting up the computer the first time, use that.
If you don't have any easier option, you can download Startup Repair-only burnable disc images from the EasyBCD website. Just google for it. Make sure and download the correct one (Vista 32-bit), and then you'll have to burn it to a CD and boot from it. Hopefully you're computer doesn't have any SATA or RAID setup that Vista doesn't include the drivers for, otherwise you'll have to download those and put them on a flash drive, and then you can load them from the Vista repair CD.
Good luck.
ykhehra1 said:
Hi I accidently run the 'makeboot' from gparted iso on my windows Vista 32bit HDD, before I read it will damage windows boot and can only run it on SD card.
Now I have not restarted my laptop, to loose every thing, I need help to correct it!
Please guide my, what are my options.
Click to expand...
Click to collapse
There is no makeboot option on gparted in linux that i can see...if you think you have messed up the boot partition of your pc don't restart it till you fix it. Google should be your best friend on that one. I don't use windows so can't be of any help to you there....
roirraW "edor" ehT said:
Oh, okay! Nosey people (me) want to know. Hehehe.
You're messing with me, right? The USB cable that came with your phone, that you can also charge your phone with???
Click to expand...
Click to collapse
LMAO
What's a usb cable... is it that black thing with a square end??
Its g8 solution, good job! little tricky on windows, but worked at the end.
workshed said:
LMAO
What's a usb cable... is it that black thing with a square end??
Click to expand...
Click to collapse
Ooooh, you got me. LOL!
ykhehra1 said:
Its g8 solution, good job! little tricky on windows, but worked at the end.
Click to expand...
Click to collapse
Are you able to get both FAT32 partitions (partition 1 for ROMs and other flashes, partition 4 for everything else) mounted with drive letters under Windows?
is there an advantage to doing this? i'm just curious
asilentcivilian said:
is there an advantage to doing this? i'm just curious
Click to expand...
Click to collapse
nevermind, i found the 2.1 dark tremor thread. i assume the same results apply to froyo with this.
asilentcivilian said:
is there an advantage to doing this? i'm just curious
Click to expand...
Click to collapse
some people just prefer this way. this way actually stores the whole apk on the phone and save's more room then froyo. plus you can mount your sd card while still using your apps. I did this mainly cause I wan't partitions for other things on my phone personally. It just happens that it helps the apps2sd issue too...

[Q] Failed to get ext2 partition in any way i tried!

I have tried all kinds of ways to partition my sd card to get data2ext to work on b 0.5.
- Partitioning through rom manager
- Partitioning through paragon partition manager (didn't even work)
- Manually partitioning by running commands through terminal emulator
I manage to get the linux swap and fat32 partition but no matter which method i tried, i just can't get the ext2 partition. On the emulator, it asked if my file system was an ext2 system.
By the way, i am using an 8gb sd card that came with Nokia 5800. Is this the cause of not being able to create the ext2 partition?
Easiest way I can think of is to use the live distro of Gparted.
http://gparted.sourceforge.net/livecd.php
Awesome partitioning tool and has a gui anyone can follow.
E.E.
i just partioned my 8gb yesterday with paragon, no problems. what kind of problem did you have?
@eepunk I will try that later... i'll see if there is any solution in the current software(s) i have...
@haha123 the problem i'm facing is i cannot see the sd card when i click format partition... Maybe i'm doing it wrong. Here is how i do..
1. Plug my phone into USB and click Disk Drive
2. Open up Paragon Partition Manager 11 Personal
3. Click on Partition Manager on the left tabs and launch the partition manager
4. At the bottom, click on Basic Hard Disk (HTC Android Phone USB Device)
5. Click on Format Partition in the Disk View tab.
The problem is when i click format partition. It just shows the hard disk in my PC but not the HTC Android phone USB Device.
I even tried skipping the format partition to try creating a partition but i still cannot see the HTC Android Phone USB Device.
The Error i get is "The disk already contains four primary partitions. Basic hard disks can contain only four primary partitions, including extended one.
Eh...
Why not just boot into Clockwork and use the Partition menu
spicyjoe said:
@haha123 the problem i'm facing is i cannot see the sd card when i click format partition... Maybe i'm doing it wrong. Here is how i do..
1. Plug my phone into USB and click Disk Drive
2. Open up Paragon Partition Manager 11 Personal
3. Click on Partition Manager on the left tabs and launch the partition manager
4. At the bottom, click on Basic Hard Disk (HTC Android Phone USB Device)
5. Click on Format Partition in the Disk View tab.
The problem is when i click format partition. It just shows the hard disk in my PC but not the HTC Android phone USB Device.
I even tried skipping the format partition to try creating a partition but i still cannot see the HTC Android Phone USB Device.
The Error i get is "The disk already contains four primary partitions. Basic hard disks can contain only four primary partitions, including extended one.
Click to expand...
Click to collapse
I followed this step by step guide:
http://forum.xda-developers.com/showthread.php?t=512873
I had the card formatted to fat32 (using windows) before partitioning, maybe you can try that?
pjgodd said:
Eh...
Why not just boot into Clockwork and use the Partition menu
Click to expand...
Click to collapse
Hmmm, i was looking around in that menu but there isn't any saying create partition... just format and stuff... :S
@haha123 Hmmm, give that a try.... i've just downloaded the gparted software so will try that first...
EDIT: Given up all hope, i can't even get gparted to boot with USB...
Check the GUIDE...
Thanks blayo, i tried that and it crashed all the apps on my phone until i had to format my sd card and restore nandroid... hmmm... mysterious, but thanks, i'll let data2ext pass.... wouldn't want to brick my phone...
spicyjoe said:
Thanks blayo, i tried that and it crashed all the apps on my phone until i had to format my sd card and restore nandroid... hmmm... mysterious, but thanks, i'll let data2ext pass.... wouldn't want to brick my phone...
Click to expand...
Click to collapse
Well, this is the formatting guide... what the hell did you expect? There are certain files on SD fat32 partition that some of apps use. If you unmount SD card and reformat it, those files are not available any more. Right?
Yeah true but even when i restore it doesn't work. Alright man, thanks for the guide anyways.

[Q] Help w/ SD Format

Howdy, folks. Having a little trouble getting my SD card to format properly so I can take full advantage of the DL DesireZ ROM. I've read the instructions from F-bone, but still confused.
I've been twaddling around with the Gpartd disc, and can create a 1536MB partition, but when I then segment that to 1024, I keep getting shorted 1MB and wind up with a 511MB partition. I also recall when moving things around seeing a message about the MBR being missing, so I recreated it.
Is there any reason why the ext4 partitions must be at the end of free space, rather than at the beginning? Why do I keep having this 1MB segment floating around? Is that for the MBR, and if so, where should I place it?
Also, the capacity on the card is 16GB (the standard HD2 MicroSD card that came with the phone) but it's showing only 14.8-ish Gig. I presume that's because of the difference between the definition of 'gig' at 1000 and the actual 1024 size, and/or slack space consumed by the partitioning and formatting, but if someone could confirm, it would put my mind at ease.
What am I doing wrong?
Thanks in advance!
I followed the previous and for the first time it went smooth and the build rebooted with no bootloop after first boot.
Ignore the bit where it says what your size for fat 32 should be, that's for an 8gb card, just follow everything and you should end up with 13.4 fat32, I think that's what i had anyhow, all space on card used in 3 partitions
reza416 said:
since there are still people asking for more details on how to install and how complicated its to install & set up partitions on sd card, i've went back to F-bone's previous post which helped me install my nand and partition and added a little more details and links to Gparted and Panasonic formatter. thank F-bone for this!!
Ok here it goes - this guide describes the way I do it to install the NAND+3partitions variation.
1) Download v3.3 and extract it on your desktop.
2) Download Panasonic SD Formatter and GPARTED Live CD ISO (google)
Panasonic formatter link=
http://panasonic.jp/support/global/cs/sd/download/index.html or
http://www.sdcard.org/consumers/formatter_3/
Gparted live cd iso link:
http://sourceforge.net/projects/gparted/files/gparted-live-stable/ (120 MB!)
3) Shut down your HD2 and remove the SDCard - place the SDCard in a card reader and BACKUP your files (photos etc).
4) Format the SDCard in your laptop or PC using the Panasonic SD Formatter (Full Format)
Also, I have windows 7 and you can go to my Start/computer/SD card drive, right click and format: file system choose Fat32, allocation size, choose the highest 32kb or 64kb, uncheck quick so its full format. That will also do it and no need to download Panasonic if you prefer the windows tools.
5) Boot GParted Live CD (instructions on Gparted Live )
-the file you downloaded for Gparted live Cd Iso is an image file meaning you should burn it into a cd or a dvd in order to be able to use it. Do that by any program capable of burning image files ( nero is an example of such programs)
-after making the cd/dvd, place the cd/dvd in your cd/dvd drive and restart your computer, instead of loading windows, Gparted will load from the cd/dvd.
-next as you are entering Gparted you’re faced with 4 options, choose GPARTED LIVE(DEFAULT SETTINGS)
-next 4 more choices, choose don’t touch keymap
-next choose language, 33 for English. Type 33 press enter
-next, will ask you which mode, type 0(continue to start x to use gparted automatically) press enter
Now gparted is loaded,
on the main screen I will be your hard drive partitions, don’t touch anything of your pc partitions otherwise, you’ll possible lose your windows/personal file etc… important!!!
-So on top right, click and choose your sd card.
-when it loads you should see your sd card (Fat32 size 7540 Mb), right click, resize/move
- new window opens, type 1536 under free space following ( for example 7540 minus 1536) and press add ( I’ll add a screen shot)
-now you have two partitions, Fat32 size 6004 Mb & Unallocated size 1536 Mb.
-right click on Unallocated, click new(new box opens),set to primary and under file system select Ext4 then press add.
-now you named unallocated to ext4 so you got Fat32 and Ext4
-do the same process, right click on Ext4 click on resize/move, choose 512 under space following (1536-512) press add, now you have Fat32, Ext4(size 1GiB), Unallocated(size 512Mib)
-just like before, right click on Unallocated, New, set to primary under file system choose Ext4 and add.
-MAKE SURE YOU PRESS APPLY or none of these changes will take effect. After gpart will do its process you’ll have 3 partitions!!!
-At this point your SDcard has 3 partitions FAT32, ext4 1024MiB, and ext4 512MiB - EXIT Gparted and boot into Windows again.
6) Go to your desktop where you extracted the rom and open config.txt
7) Change gps_zone to your country's zone (=gr for Greece) - leave the rest of the settings intact for NAND+3partitions SDcard variation of this rom - save file.
8) Before you remove the SDcard from your laptop or PC make a folder Desire_DL and copy ONLY the config file you just saved to Desire_DL folder.
9) Safely remove the SDCard and place it in your HD2.
10) Turn on HD2 and HOLD power key to get into MAGLDR 1.11
11) Choose USB Flasher(option 4) and press phone (Green) key
12) Connect your HD2 to your computer
13) Go to your desktop and from the rom folder you extracted run Install.
14) Wait
15) Wait
16) Wait… it may take a while, since the rom will format ext4 partition(s).
17) Now that HD2 has booted do the basic settings and REBOOT again. DO NOT INSTALL APPS etc etc at this point
18) Now that you have rebooted for 2nd time you can do whatever you want - maybe do a 3rd reboot to see that everything is stable
NOTE: When the rom boots wait for a while before using the phone until various system services load in the background after the SD card is prepared... wait 30-40 seconds
hope this helps...
Click to expand...
Click to collapse
bates_1974 said:
I followed the previous and for the first time it went smooth and the build rebooted with no bootloop after first boot.
Ignore the bit where it says what your size for fat 32 should be, that's for an 8gb card, just follow everything and you should end up with 13.4 fat32, I think that's what i had anyhow, all space on card used in 3 partitions
Click to expand...
Click to collapse
Thanks for the post, but it didn't answer my questions. I read both Reza's and F-bone's posts and my problem remains - I have a 511MB (not 512) partition when doing it by their instructions.
BillTheCat said:
Thanks for the post, but it didn't answer my questions. I read both Reza's and F-bone's posts and my problem remains - I have a 511MB (not 512) partition when doing it by their instructions.
Click to expand...
Click to collapse
makes no differennce, I had a 512 and a 1023
there is a special tool for format SD card in CWR
boot in Magldr
8. AD Recovery
select advanced
and then Partition SD Card.
you can choose basic settings ....
Works for me
croisade said:
there is a special tool for format SD card in CWR
boot in Magldr
8. AD Recovery
select advanced
and then Partition SD Card.
you can choose basic settings ....
Works for me
Click to expand...
Click to collapse
That's for your basic apps2sd, some builds like the one we're running you need to use gparted to create one fat32, one 1gb ext4 and another 350mb ext4, CWM doesn't allow you to do that, just one ext3 so whatever size you select.
Wow. Ok, that's strange. Tried it again today and it worked fine. Wierd. Thanks for the input, guys.

Resources