xanax xanax online without prescription taking viagra and xanax soma overnight cod no rx soma online delivery order phentermine next day phentermine hcl capsules buy tramadol cash on delivery tramadol hcl 50 mg tablet tev chinese viagra viagra discount online cialis online australia 20mg generic cialis pills buying ambien online ambien cautions for the elderly Valium overnight delivery no a rx overnight Valium order fioricet 250mg no rx fioricet canada buy cheap discounted Meridia Meridia overnight without prescription buy xanax cod overnight cheap generic xanax soma no rx foreign buy soma online without dr approval phentermine 37.5mg blue and white tab buy phentermine online in the uk tramadol overdose resumption tramadol classified drug how do i order viagra online can you order viagra from a canadian pharmacy generic cialis pills and generic viagra cialis overnight us pharmacy buy online rx ambien without buy ambien online overnight Valium how much can you take buy liquid valium online how to get a doctor to prescript fioricet fioricet online uk meridia overnight fedex cheap meridia by fedex cod order generic xanax online buy xanax online buy soma overnight soma online phentermine 37.5 mg no prescription cheap phentermine cod cheapest tramadol overnight very cheap tramadol online Viagra no prescription order Viagra without prescription generic cialis buy cialis online buy Ambien no prescription buy Ambien online cod buy no prior perscription Valium

Format SD Card to support Apps2SD and Linux-Swap

August 26, 2009 · Posted in Uncategorized · Comment 

Direct copy and paste from XDA-Developers Forums: Original Thread Here

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. DO NOT USE MORE THAN 32MB SWAP!!!

Example for 8GB card (this example plays it safe and will leave a small amount leftover regardless of the 8GB card)

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 7200
mkpartfs primary ext2 7200 7700
mkpartfs primary linux-swap 7700 7732

#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)
rm 1
rm 2
mkpartfs primary fat32 0 3420
mkpartfs primary ext2 3420 3932
mkpartfs primary linux-swap 3932-3964

Example for a 2GB card playing it safe

#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 1200
mkpartfs primary ext2 1200 1700
mkpartfs primary linux-swap 1700-1732

“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

For a longer more detailed parted tutorial read thisthis