[G1 Android Development] robpet2:
HOW TO PARTION WITH PARAGON PARTITION MANAGER

**** YOU WILL LOSE ANY INFO ON THE SDCARD - PLEASE BACK UP IMPORTANT INFO PRIOR TO STARTING THIS PROCESS ***

**** these are instructions for Windows XP ***

***** if you are using Windows Vista - You need to change the permissions to Administrative in order for this to work - RIGHT CLICK ON THE START BUTTON AND GO TO ADMIN SETTINGS - even if you are the only user of the PC

have the sdcard in the card reader or in the phone mounted to the pc !!!!

OPEN PARTITION MANAGER...

CLICK ON PARTITION MANAGER IN THE LOWER RIGHT HAND CORNER..

then click on the line that represents the sdcard, and right click on it, and choose format partition.. name the volume label - fat32

then click format..

computer might hang for a minute or 2, and then a popup will come up and say click GREEN CHECK to apply changes..

click the GREEN CHECK IN THE TOOLBAR AREA..

you will then see another pop up show - apply changes, choose yes, then you will see OVERALL PROGRESS AND GEARS TURNING.. LET IT PROCESS AND TAKE ITS TIME.. DONT HIT CANCEL..

when its done the cancel button at the bottom will change to Close.. click it..

AND THE FIRST STAGE IS DONE...

NOW ITS TIME TO CREATE THE EXT2 PARTITION..

Now on the Left side of the screen click Create partition.. and a screen will now show Create New Partition Wizard... it lets you chose which drive to partition ( make sure you chose the sdcard - it will be the one with the smallest volume/size of the sdcard in gbs.. should be on the bottom )...

HIT NEXT

now a slider will appear where it says new volume....

move the slider with the mouse, and make it how big you want it.. for ext2 partiiton about 500mb to 1gb is plenty... 500mb is good size.. ( size wont be exact so get it close to the size you want..

WHEN DONE CLICK NEXT...

NOW IT GIVES YOU THE OPTION TO FORMAT THE PARTITION...

CLICK THE PARTITION TYPE DROPDOWN MENU AND CHOSE LINUX EXT2... AND GIVE IT A VOLUME LABEL OF ext2.

then click next...

PC WILL PROCESS AND HOURGLASS WILL SHOW WHERE THE MOUSE POINTER IS.. AND THEN A POP UP WILL SHOW - SAYING -

COMPLETING THE CREATE NEW PARTTITION WIZARD..

CLICK FINISH...

THEN IT TAKES YOU BACK TO THE SCREEN SHOWING THE DRIVES, AND WHAT YOU CREATED, AND THE OPTION AT THE TOP WILL SAY - APPLY ... choose apply

THEN IT WILL ASK YOU TO - APPLY PENDING CHANGES AGAIN, choose yes..

NOW YOU WILL SEE THE GEARS WORKING AGAIN.. LET IT RUN TILL IT SAYS complete..

*it will take a few minutes to process.. let it run...

you might get a pop up for the sdcard drive as a open folder on the pc just showing that its done, just go back to paragon and let it finish running...

once complete you will get a pop up saying SYSTEM RESTART IS REQUIRED TO COMPLETE OPERATION.. CHOSE RESTART THE COMPUTER...

You will see a paragon manager screen, that will hang for a almost a minute, and then the bar will fill saying 100 percent complete, press any key to reboot the pc..

AS LONG AS THERE IS NO ERRORS, YOUR DONE..

FORMAT COMPLETE..

PARAGON WILL START UP ON ITS OWN, AND SHOW THE PARTITIONS AS BEING COMPLETE..

----

*****edit

Originally Posted by Androidandy

check that the ext2 partition is good by typing busybox df -h in terminal.

************************************************************EDIT *****************

If your having issues using paragon partition manager, and trying to make a linux swap partition, try these instructions for formating thru Cyanogens newest recovery

Formatting you SDcard

You only need to do this once folks..if you already have 3 partitions including linux-swap move to step 2

You need Recovery image 1.31 to do this folks!

To format card SD card with linux-swap WARNING!!! this will reformat you entire SD card!!

You can use the recovery console and parted to format SDcards with 1.31 folks, no more going through hassles you have the tools on you G1!...here is an example of how to do this in recovery console using parted

Example for 8GB card (specific value's may be slightly different use print to verify your total SDcard size~!

Reboot and enter recovery

Enter console

#parted /dev/block/mmcblk0

#print (to verfiy we know what size card we are dealing with, the details should be straight forward)

rm 1

rm 2

mkpartfs primary fat32 0 7584

mkpartfs primary ext2 7584 8127

mkpartfs primary linux-swap 8127 8159

#print (to verify we have the 3 partitions)

Example for my 4GB card

#parted /dev/block/mmcblk0

#print (to verfiy we know what size card we are dealing with, the details should be straight forward * then grab a calculator to figure the exact amounts... as shown below that is an example..)

rm 1

rm 2

mkpartfs primary fat32 0 3420

mkpartfs primary ext2 3420 3932

mkpartfs primary linux-swap 3932-3964

"End?" you need to place the last value for the linux swap eg.3964 for my 4GB card

#print (to verify we have the 3 partitions)

Next we need to "quit" parted and upgrade our ext2 partition to ext3

#upgrade_fs

Swap value is set to 30 currently, you can change this by modifying the "echo" value for swappiness in the a2sd.sh script

swap partition shouldnt be no larger than 92mb

ext2/3 partition shouldnt be more than 500mb ( more than that is too much )

( directions from a post by justanothercrowd )