<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>lvlolvlo &#187; Linux-Swap</title>
	<atom:link href="http://www.lvlolvlo.net/tag/linux-swap/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.lvlolvlo.net</link>
	<description></description>
	<lastBuildDate>Wed, 02 Dec 2009 01:43:52 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Format SD Card to support Apps2SD and Linux-Swap</title>
		<link>http://www.lvlolvlo.net/2009/08/26/format-sd-card-to-support-apps2sd-and-linux-swap/</link>
		<comments>http://www.lvlolvlo.net/2009/08/26/format-sd-card-to-support-apps2sd-and-linux-swap/#comments</comments>
		<pubDate>Wed, 26 Aug 2009 13:09:51 +0000</pubDate>
		<dc:creator>lvlolvlo</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Apps2SD]]></category>
		<category><![CDATA[Format SD]]></category>
		<category><![CDATA[HT Dream]]></category>
		<category><![CDATA[Linux-Swap]]></category>
		<category><![CDATA[Rooted]]></category>
		<category><![CDATA[T-Mobile G1]]></category>

		<guid isPermaLink="false">http://www.lvlolvlo.net/2009/08/26/format-sd-card-to-support-apps2sd-and-linux-swap/</guid>
		<description><![CDATA[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!&#8230;here is an example of [...]]]></description>
			<content:encoded><![CDATA[<p>Direct copy and paste from XDA-Developers Forums: <a href="http://forum.xda-developers.com/showthread.php?t=534479">Original Thread Here</a></p>
<p>To format card SD card with linux-swap WARNING!!! this will reformat you entire SD card!!</p>
<p>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!&#8230;here is an example of how to do this in recovery console using parted. DO NOT USE MORE THAN 32MB SWAP!!!</p>
<p>Example for 8GB card (this example plays it safe and will leave a small amount leftover regardless of the 8GB card)</p>
<p>Reboot and enter recovery<br />
Enter console<br />
#parted /dev/block/mmcblk0<br />
#print (to verfiy we know what size card we are dealing with, the details should be straight forward)<br />
rm 1<br />
rm 2<br />
mkpartfs primary fat32 0 7200<br />
mkpartfs primary ext2 7200 7700<br />
mkpartfs primary linux-swap 7700 7732</p>
<p>#print (to verify we have the 3 partitions)</p>
<p>Example for my 4GB card</p>
<p>#parted /dev/block/mmcblk0<br />
#print (to verfiy we know what size card we are dealing with, the details should be straight forward)<br />
rm 1<br />
rm 2<br />
mkpartfs primary fat32 0 3420<br />
mkpartfs primary ext2 3420 3932<br />
mkpartfs primary linux-swap 3932-3964</p>
<p>Example for a 2GB card playing it safe</p>
<p>#parted /dev/block/mmcblk0<br />
#print (to verfiy we know what size card we are dealing with, the details should be straight forward)<br />
rm 1<br />
rm 2<br />
mkpartfs primary fat32 0 1200<br />
mkpartfs primary ext2 1200 1700<br />
mkpartfs primary linux-swap 1700-1732</p>
<p>&#8220;End?&#8221; you need to place the last value for the linux swap eg.3964 for my 4GB card</p>
<p>#print (to verify we have the 3 partitions)</p>
<p>Next we need to &#8220;quit&#8221; parted and upgrade our ext2 partition to ext3</p>
<p>#upgrade_fs</p>
<p>Swap value is set to 30 currently, you can change this by modifying the &#8220;echo&#8221; value for swappiness in the a2sd.sh script</p>
<p>For a longer more detailed parted tutorial read this<a href='http://forum.xda-developers.com/showthread.php?t=534714' >this</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.lvlolvlo.net/2009/08/26/format-sd-card-to-support-apps2sd-and-linux-swap/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

