<?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>blog.mbentley.net</title>
	<atom:link href="http://blog.mbentley.net/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.mbentley.net</link>
	<description>it&#039;s not clutter, just organized chaos</description>
	<lastBuildDate>Sun, 06 Nov 2011 23:31:35 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>getting loopback to work on newer builds of dd-wrt</title>
		<link>http://blog.mbentley.net/2011/08/getting-loopback-to-work-on-newer-builds-of-dd-wrt/</link>
		<comments>http://blog.mbentley.net/2011/08/getting-loopback-to-work-on-newer-builds-of-dd-wrt/#comments</comments>
		<pubDate>Wed, 10 Aug 2011 18:22:36 +0000</pubDate>
		<dc:creator>mbentley</dc:creator>
				<category><![CDATA[computers]]></category>
		<category><![CDATA[internet]]></category>
		<category><![CDATA[technology]]></category>
		<category><![CDATA[asus]]></category>
		<category><![CDATA[bug]]></category>
		<category><![CDATA[dd-wrt]]></category>
		<category><![CDATA[ddwrt]]></category>
		<category><![CDATA[fix]]></category>
		<category><![CDATA[iptables]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[loopback]]></category>
		<category><![CDATA[phuzi0n]]></category>
		<category><![CDATA[rt-n16]]></category>

		<guid isPermaLink="false">http://blog.mbentley.net/?p=528</guid>
		<description><![CDATA[i&#8217;ve come across this problem a number of times when looking at newer firmware for my router running dd-wrt. the upgrade works flawlessly but loopback doesn&#8217;t work. i finally decided to see if there was a solution out there and lucky for me, there is. a google search brought me to this bug report. there [...]]]></description>
			<content:encoded><![CDATA[<p>i&#8217;ve come across this problem a number of times when looking at newer firmware for my router running dd-wrt.  the upgrade works flawlessly but loopback doesn&#8217;t work.  i finally decided to see if there was a solution out there and lucky for me, there is.  a google search brought me to this <a href="http://svn.dd-wrt.com:8000/ticket/1868">bug report</a>.  there is also a <a href="http://www.dd-wrt.com/phpBB2/viewtopic.php?t=89353">dd-wrt forum topic</a> on this as well but the solution is pretty simple.  just in case the bug report and forum post both disappear, here is the solution:</p>
<p>Save the following commands to the Firewall Script on the <em>Administration</em> -> <em>Commands</em> page to fix loopback.</p>
<pre>insmod ipt_mark
insmod xt_mark

iptables -t mangle -A PREROUTING -i ! `get_wanface` -d `nvram get wan_ipaddr` -j MARK --set-mark 0xd001
iptables -t nat -A POSTROUTING -m mark --mark 0xd001 -j MASQUERADE</pre>
<p>once you have added these commands to the &#8216;Firewall&#8217; command list, you will need to perform a reboot and that should make the fix active.</p>
<p>a huge thanks to phuzi0n for providing this workaround!  from the number of people who have commented, i can definitely see that i am not alone in wanting loopback to work properly but at least this workaround does the job.</p>
<!-- Social Bookmarks BEGIN -->
<div class="social_bookmark">
<div class="d">
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://del.icio.us/post?url=http://tinyurl.com/44epuu2&amp;title=getting+loopback+to+work+on+newer+builds+of+dd-wrt" rel="nofollow" title="Add to&nbsp;Del.icio.us"><img class="social_img" src="http://blog.mbentley.net/wp-content/plugins/social-bookmarks/images/delicious.png" title="Add to&nbsp;Del.icio.us" alt="Add to&nbsp;Del.icio.us" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://digg.com/submit?phase=2&amp;url=http://tinyurl.com/44epuu2&amp;title=getting+loopback+to+work+on+newer+builds+of+dd-wrt" rel="nofollow" title="Add to&nbsp;digg"><img class="social_img" src="http://blog.mbentley.net/wp-content/plugins/social-bookmarks/images/digg.png" title="Add to&nbsp;digg" alt="Add to&nbsp;digg" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.facebook.com/sharer.php?u=http://tinyurl.com/44epuu2" rel="nofollow" title="Add to&nbsp;Facebook"><img class="social_img" src="http://blog.mbentley.net/wp-content/plugins/social-bookmarks/images/facebook.png" title="Add to&nbsp;Facebook" alt="Add to&nbsp;Facebook" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.stumbleupon.com/submit?url=http://tinyurl.com/44epuu2&amp;title=getting+loopback+to+work+on+newer+builds+of+dd-wrt" rel="nofollow" title="Add to&nbsp;Stumble Upon"><img class="social_img" src="http://blog.mbentley.net/wp-content/plugins/social-bookmarks/images/stumbleupon.png" title="Add to&nbsp;Stumble Upon" alt="Add to&nbsp;Stumble Upon" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://twitter.com/home/?status=getting+loopback+to+work+on+newer+builds+of+dd-wrt+@+http://tinyurl.com/44epuu2" rel="nofollow" title="Add to&nbsp;Twitter"><img class="social_img" src="http://blog.mbentley.net/wp-content/plugins/social-bookmarks/images/twitter.png" title="Add to&nbsp;Twitter" alt="Add to&nbsp;Twitter" /></a>
<br />
</div>
</div>
<!-- Social Bookmarks END -->
]]></content:encoded>
			<wfw:commentRss>http://blog.mbentley.net/2011/08/getting-loopback-to-work-on-newer-builds-of-dd-wrt/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>overclockix</title>
		<link>http://blog.mbentley.net/2011/03/overclockix/</link>
		<comments>http://blog.mbentley.net/2011/03/overclockix/#comments</comments>
		<pubDate>Thu, 24 Mar 2011 01:17:46 +0000</pubDate>
		<dc:creator>mbentley</dc:creator>
				<category><![CDATA[computers]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[technology]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[livecd]]></category>
		<category><![CDATA[ocforums]]></category>
		<category><![CDATA[overclockers]]></category>
		<category><![CDATA[overclockix]]></category>

		<guid isPermaLink="false">http://blog.mbentley.net/?p=519</guid>
		<description><![CDATA[i probably won&#8217;t be posting on here for some time as i am planning on dedicating my time working on overclockix in my free time. in case you do not know what overclockix is, it is a customized linux live distro (based on debian) which i am helping to revive. if you would like to [...]]]></description>
			<content:encoded><![CDATA[<p>i probably won&#8217;t be posting on here for some time as i am planning on dedicating my time working on <a href="http://www.overclockers.com/overclockix-revived-overclockerscom-linux-distribution/">overclockix</a> in my free time.  in case you do not know what overclockix is, it is a customized linux live distro (based on debian) which i am helping to revive.  if you would like to contribute to the project in any way, let me know in the <a href="http://www.overclockers.com/forums/showthread.php?t=671690">project thread @ overclockers.com</a>.</p>
<!-- Social Bookmarks BEGIN -->
<div class="social_bookmark">
<div class="d">
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://del.icio.us/post?url=http://tinyurl.com/4mq7cba&amp;title=overclockix" rel="nofollow" title="Add to&nbsp;Del.icio.us"><img class="social_img" src="http://blog.mbentley.net/wp-content/plugins/social-bookmarks/images/delicious.png" title="Add to&nbsp;Del.icio.us" alt="Add to&nbsp;Del.icio.us" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://digg.com/submit?phase=2&amp;url=http://tinyurl.com/4mq7cba&amp;title=overclockix" rel="nofollow" title="Add to&nbsp;digg"><img class="social_img" src="http://blog.mbentley.net/wp-content/plugins/social-bookmarks/images/digg.png" title="Add to&nbsp;digg" alt="Add to&nbsp;digg" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.facebook.com/sharer.php?u=http://tinyurl.com/4mq7cba" rel="nofollow" title="Add to&nbsp;Facebook"><img class="social_img" src="http://blog.mbentley.net/wp-content/plugins/social-bookmarks/images/facebook.png" title="Add to&nbsp;Facebook" alt="Add to&nbsp;Facebook" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.stumbleupon.com/submit?url=http://tinyurl.com/4mq7cba&amp;title=overclockix" rel="nofollow" title="Add to&nbsp;Stumble Upon"><img class="social_img" src="http://blog.mbentley.net/wp-content/plugins/social-bookmarks/images/stumbleupon.png" title="Add to&nbsp;Stumble Upon" alt="Add to&nbsp;Stumble Upon" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://twitter.com/home/?status=overclockix+@+http://tinyurl.com/4mq7cba" rel="nofollow" title="Add to&nbsp;Twitter"><img class="social_img" src="http://blog.mbentley.net/wp-content/plugins/social-bookmarks/images/twitter.png" title="Add to&nbsp;Twitter" alt="Add to&nbsp;Twitter" /></a>
<br />
</div>
</div>
<!-- Social Bookmarks END -->
]]></content:encoded>
			<wfw:commentRss>http://blog.mbentley.net/2011/03/overclockix/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>installing sun-java6-jre on ubuntu 10.10</title>
		<link>http://blog.mbentley.net/2011/01/installing-sun-java6-jre-on-ubuntu-10-10/</link>
		<comments>http://blog.mbentley.net/2011/01/installing-sun-java6-jre-on-ubuntu-10-10/#comments</comments>
		<pubDate>Mon, 31 Jan 2011 17:51:14 +0000</pubDate>
		<dc:creator>mbentley</dc:creator>
				<category><![CDATA[computers]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[minecraft]]></category>
		<category><![CDATA[technology]]></category>
		<category><![CDATA[10.10]]></category>
		<category><![CDATA[apt]]></category>
		<category><![CDATA[aptitude]]></category>
		<category><![CDATA[command line]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[jre]]></category>
		<category><![CDATA[openjdk]]></category>
		<category><![CDATA[oracle]]></category>
		<category><![CDATA[partner]]></category>
		<category><![CDATA[repository]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[sources.list]]></category>
		<category><![CDATA[sun]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://blog.mbentley.net/?p=511</guid>
		<description><![CDATA[there have been a number of people who are trying to get minecraft working on ubuntu 10.10 and running into java related issues because they install openjdk or another open source java replacement. by default, the repository required to install the &#8216;sun-java6-jre&#8217; package is disabled. this will walk you through how to enable it and [...]]]></description>
			<content:encoded><![CDATA[<p>there have been a number of people who are trying to get minecraft working on ubuntu 10.10 and running into java related issues because they install openjdk or another open source java replacement.  by default, the repository required to install the &#8216;sun-java6-jre&#8217; package is disabled.  this will walk you through how to enable it and install the latest JRE.</p>
<pre>sudo nano /etc/apt/sources.list</pre>
<p>search for &#8216;partner&#8217; (ctrl + w, type in &#8216;partner&#8217;, hit enter)</p>
<p>this should get you close to the correct lines you need to uncomment.  uncomment the following two lines:</p>
<pre># deb http://archive.canonical.com/ubuntu maverick partner
# deb-src http://archive.canonical.com/ubuntu maverick partner</pre>
<p>should look like this:</p>
<pre>deb http://archive.canonical.com/ubuntu maverick partner
deb-src http://archive.canonical.com/ubuntu maverick partner</pre>
<p>exit and save changes (ctrl + x, Y, enter to confirm filename)</p>
<p>run the following commands to make the changes you just made to your repositories active and to install the sun JRE:</p>
<pre>sudo aptitude update
sudo aptitude install sun-java6-jre
sudo update-alternatives --config java</pre>
<p>choose the version that has &#8216;/usr/lib/jvm/java-6-sun/jre/bin/java&#8217; (it may auto-select it if you do not have another version of java installed)</p>
<p>verify it is installed correctly using &#8216;java -version&#8217; (should look like the following:)</p>
<pre>java version "1.6.0_22"
Java(TM) SE Runtime Environment (build 1.6.0_22-b04)
Java HotSpot(TM) 64-Bit Server VM (build 17.1-b03, mixed mode)</pre>
<!-- Social Bookmarks BEGIN -->
<div class="social_bookmark">
<div class="d">
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://del.icio.us/post?url=http://tinyurl.com/65m2v28&amp;title=installing+sun-java6-jre+on+ubuntu+10.10" rel="nofollow" title="Add to&nbsp;Del.icio.us"><img class="social_img" src="http://blog.mbentley.net/wp-content/plugins/social-bookmarks/images/delicious.png" title="Add to&nbsp;Del.icio.us" alt="Add to&nbsp;Del.icio.us" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://digg.com/submit?phase=2&amp;url=http://tinyurl.com/65m2v28&amp;title=installing+sun-java6-jre+on+ubuntu+10.10" rel="nofollow" title="Add to&nbsp;digg"><img class="social_img" src="http://blog.mbentley.net/wp-content/plugins/social-bookmarks/images/digg.png" title="Add to&nbsp;digg" alt="Add to&nbsp;digg" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.facebook.com/sharer.php?u=http://tinyurl.com/65m2v28" rel="nofollow" title="Add to&nbsp;Facebook"><img class="social_img" src="http://blog.mbentley.net/wp-content/plugins/social-bookmarks/images/facebook.png" title="Add to&nbsp;Facebook" alt="Add to&nbsp;Facebook" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.stumbleupon.com/submit?url=http://tinyurl.com/65m2v28&amp;title=installing+sun-java6-jre+on+ubuntu+10.10" rel="nofollow" title="Add to&nbsp;Stumble Upon"><img class="social_img" src="http://blog.mbentley.net/wp-content/plugins/social-bookmarks/images/stumbleupon.png" title="Add to&nbsp;Stumble Upon" alt="Add to&nbsp;Stumble Upon" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://twitter.com/home/?status=installing+sun-java6-jre+on+ubuntu+10.10+@+http://tinyurl.com/65m2v28" rel="nofollow" title="Add to&nbsp;Twitter"><img class="social_img" src="http://blog.mbentley.net/wp-content/plugins/social-bookmarks/images/twitter.png" title="Add to&nbsp;Twitter" alt="Add to&nbsp;Twitter" /></a>
<br />
</div>
</div>
<!-- Social Bookmarks END -->
]]></content:encoded>
			<wfw:commentRss>http://blog.mbentley.net/2011/01/installing-sun-java6-jre-on-ubuntu-10-10/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>creating a raid 5 array in linux with mdadm</title>
		<link>http://blog.mbentley.net/2010/11/creating-a-raid-5-array-in-linux-with-mdadm/</link>
		<comments>http://blog.mbentley.net/2010/11/creating-a-raid-5-array-in-linux-with-mdadm/#comments</comments>
		<pubDate>Thu, 04 Nov 2010 14:05:05 +0000</pubDate>
		<dc:creator>mbentley</dc:creator>
				<category><![CDATA[computers]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[technology]]></category>
		<category><![CDATA[1 tb]]></category>
		<category><![CDATA[add drive]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[ext3]]></category>
		<category><![CDATA[ext4]]></category>
		<category><![CDATA[file system]]></category>
		<category><![CDATA[hitachi]]></category>
		<category><![CDATA[mdadm]]></category>
		<category><![CDATA[raid 5]]></category>
		<category><![CDATA[xfs]]></category>

		<guid isPermaLink="false">http://blog.mbentley.net/?p=498</guid>
		<description><![CDATA[i recently had a hard drive fail in my server. luckily i was running it in a raid 1 array so all of my data was kept safe. i decided that while i had a hard drive out of service that i might as well take some time to do some upgrading of my storage [...]]]></description>
			<content:encoded><![CDATA[<p>i recently had a hard drive fail in my server.  luckily i was running it in a raid 1 array so all of my data was kept safe.  i decided that while i had a hard drive out of service that i might as well take some time to do some upgrading of my storage space.  i had been just running two basic raid 1 arrays (each with two 1 TB drives) using mdadm with ext3 for my virtual machines and other assorted storage.  while ext3 is a very stable file system, it isn&#8217;t know for its speed.  while i certainly wasn&#8217;t running out of storage space by any means, i thought it to be smarter to upgrade while i had enough space to rearrange things.</p>
<p>while i already owned four 1 TB hard drives, two of them are western digital green drives which means they have variable RPMs; not exactly the best choice for a raid array.  my main goals are speed, redundancy, and increasing my total storage space.  with that being said, it seemed to me that the best choice was to buy more drives identical to my two 7200 rpm drives (<a href="http://www.tomshardware.com/reviews/hitachi-western-digital-terabyte,2017-2.html">hitachi deskstar 7K1000B HDT721010SLA360</a> to be exact).  i was able to find some for a decent price ($50) from an online retailer so i picked up three.  when i received my other drive back from RMA to hitachi, that would give me a total of five 1 TB drives to make a nice raid 5 array.</p>
<p>next, i just had to choose what file system i was going to include.  different file systems provide different features and abilities.  some are able to perform online resizing, some are optimized for read performance, others write, etc.  overall, i was looking for something fairly reliable, as close to &#8216;ext3 reliable&#8217; as possible while getting that extra boost of speed but i also wanting to pick something mainstream that i knew would be supported for years to come.  to begin with, i started looking at ext4 and xfs.  after doing some quick research, i realized that my server, which is running debian lenny (stable) does not include a stable ext4 driver.  it only comes with ext4dev.  while i could upgrade my kernel and use packages from backports, i really didn&#8217;t want to have to make that many changes to my stable, working server.  so after speaking with a few colleagues and people online, i decided that xfs would be my best bet for my specific situation.</p>
<p>while digging further into xfs, i stumbled upon a <a href="http://www.mythtv.org/wiki/Optimizing_Performance#Optimizing_XFS_on_RAID_Arrays">useful mythtv wiki article regarding xfs</a> (thanks to MRD for the link).  this provided some very useful information as to how to create an optimized xfs file system for your devices.  now that i had all of my information together, it was time to do a little bit of testing in a virtual environment just to familiarize myself with the process.  when doing what i consider major operations, i like to test things out first.  i just created a basic debian VM with multiple virtual disks, practiced creating, assembling, expanding, etc to see how well it worked.</p>
<p>earlier this week, my three new drives arrived.  since raid 5 can run in a degraded 5 drive array with only four drives, i figured that i would go ahead and get started while still waiting for my last drive from RMA.  i arranged my drives so that my raid 5 array would consist of the drives on /dev/sda to /dev/sde.  many of the commands that i am using for this were found on <a href="http://www.excaliburtech.net/archives/19">Useful Mdadm Commands @ excaliburtech.net</a> which is a great resource for example usage of mdadm commands.  first, i created a single partition layout using fdisk on /dev/sda, set the type to &#8216;fd&#8217; which is &#8216;Linux raid autodetect&#8217;.  the layout should look like this:</p>
<pre>root@athena:~# fdisk -l /dev/sda

Disk /dev/sda: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x68714c34

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1               1      121601   976760001   fd  Linux raid autodetect</pre>
<p>i could use fdisk to create the same partition layout on the other three drives but there is an easy way to copy the layout.  &#8216;/dev/sda&#8217; is the source disk, and the last parameter is the destination disk.  this just copies the partition table layout to ensure they are identical:</p>
<pre>sfdisk -d /dev/sda | sfdisk /dev/sdb
sfdisk -d /dev/sda | sfdisk /dev/sdc
sfdisk -d /dev/sda | sfdisk /dev/sdd</pre>
<p>next, i opted to clean the superblocks to ensure that any existing superblock data (where mdadm stores array information for each drive) would be cleared.</p>
<pre>mdadm --zero-superblock /dev/sd[abcd]
mdadm --zero-superblock /dev/sd[abcd]1</pre>
<p>now we are ready to create the raid array.  i already have a md0 and md1 so my next available is md2.  this will create a raid 5 array using 5 devices but with one drive missing.</p>
<pre>mdadm --create /dev/md2 --level=5 --raid-devices=5 /dev/sd[abcd]1 missing</pre>
<p>be default, arrays are shows as read only.  you can now mark the array as read-write:</p>
<pre>mdadm --readwrite /dev/md2</pre>
<p>you can now see the degraded array using &#8216;cat /proc/mdstat&#8217;:</p>
<pre>root@athena:~# cat /proc/mdstat
Personalities : [raid1] [raid6] [raid5] [raid4]
md2 : active raid5 sda1[0] sdd1[3] sdc1[2] sdb1[1]
      3907039744 blocks level 5, 64k chunk, algorithm 2 [5/4] [UUUU_]</pre>
<p>next, i am ready to prepare the new array with new xfs file system.  using the myth wiki link above, i calculated the optimal values for my array and inserted them into the mkfs.xfs command:</p>
<pre>mkfs.xfs -b size=4096 -d sunit=128,swidth=512 /dev/md2</pre>
<p>now that the xfs file system has been created, i can do a test mount:</p>
<pre>mkdir /media/md2
mount -o sunit=128,swidth=512 /dev/md2 /media/md2</pre>
<p>my test mount was successful so i wanted to automatically mount my new array at boot so i just needed to add the following to /etc/fstab:</p>
<pre>/dev/md2        /media/md2      xfs             sunit=128,swidth=512,noatime,nodiratime 0       0</pre>
<p>now i also want to add the new raid 5 array&#8217;s information to /etc/mdadm/mdadm.conf</p>
<pre>mdadm --examine --scan
ARRAY /dev/md2 level=raid5 num-devices=5 UUID=512145fc:e9a0cb9e:affa4567:83059fad</pre>
<p>so i add it to the last line and the contents of the entire file look like:</p>
<pre># mdadm.conf
#
# Please refer to mdadm.conf(5) for information about this file.
#

# by default, scan all partitions (/proc/partitions) for MD superblocks.
# alternatively, specify devices to scan, using wildcards if desired.
DEVICE partitions

# auto-create devices with Debian standard permissions
CREATE owner=root group=disk mode=0660 auto=yes

# automatically tag new arrays as belonging to the local system
HOMEHOST <system>

# instruct the monitoring daemon where to send mail alerts
MAILADDR root

# definitions of existing MD arrays
ARRAY /dev/md0 level=raid1 num-devices=2 metadata=0.90 UUID=ad56dba9:a587a6ce:63b74a7d:37f4f41d
ARRAY /dev/md1 level=raid1 num-devices=2 metadata=0.90 UUID=9ee58430:486e6421:6e7df9ee:51ed0ff2
ARRAY /dev/md2 level=raid5 num-devices=5 metadata=0.90 UUID=512145fc:e9a0cb9e:affa4567:83059fad</pre>
<p>i then went ahead and copied my data to the new array and two days later, my new drive arrived.  after installing it in my system, i needed to create the partition information from an existing drive, clean the superblock, and add the drive to the array using the following commands:</p>
<p>copy partition information from an existing disk:</p>
<pre>sfdisk -d /dev/sda | sfdisk /dev/sde</pre>
<p>clean the superblock:</p>
<pre>mdadm --zero-superblock /dev/sd[e]
mdadm --zero-superblock /dev/sd[e]1</pre>
<p>add the new drive to the existing raid 5 array:</p>
<pre>mdadm --add /dev/md2 /dev/sd[e]1</pre>
<p>check drive synchronization status:</p>
<pre>root@athena:~# cat /proc/mdstat
Personalities : [raid1] [raid6] [raid5] [raid4]
md2 : active raid5 sde1[5] sda1[0] sdd1[3] sdc1[2] sdb1[1]
      3907039744 blocks level 5, 64k chunk, algorithm 2 [5/4] [UUUU_]
      [============>........]  recovery = 60.4% (590546092/976759936) finish=100.7min speed=63877K/sec</pre>
<p>now my raid 5 array is completely synchronized and is fully redundant:</p>
<pre>root@athena:~# cat /proc/mdstat
Personalities : [raid1] [raid6] [raid5] [raid4]
md2 : active raid5 sde1[4] sda1[0] sdd1[3] sdc1[2] sdb1[1]
      3907039744 blocks level 5, 64k chunk, algorithm 2 [5/5] [UUUUU]</pre>
<!-- Social Bookmarks BEGIN -->
<div class="social_bookmark">
<div class="d">
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://del.icio.us/post?url=http://tinyurl.com/5ua7bjq&amp;title=creating+a+raid+5+array+in+linux+with+mdadm" rel="nofollow" title="Add to&nbsp;Del.icio.us"><img class="social_img" src="http://blog.mbentley.net/wp-content/plugins/social-bookmarks/images/delicious.png" title="Add to&nbsp;Del.icio.us" alt="Add to&nbsp;Del.icio.us" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://digg.com/submit?phase=2&amp;url=http://tinyurl.com/5ua7bjq&amp;title=creating+a+raid+5+array+in+linux+with+mdadm" rel="nofollow" title="Add to&nbsp;digg"><img class="social_img" src="http://blog.mbentley.net/wp-content/plugins/social-bookmarks/images/digg.png" title="Add to&nbsp;digg" alt="Add to&nbsp;digg" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.facebook.com/sharer.php?u=http://tinyurl.com/5ua7bjq" rel="nofollow" title="Add to&nbsp;Facebook"><img class="social_img" src="http://blog.mbentley.net/wp-content/plugins/social-bookmarks/images/facebook.png" title="Add to&nbsp;Facebook" alt="Add to&nbsp;Facebook" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.stumbleupon.com/submit?url=http://tinyurl.com/5ua7bjq&amp;title=creating+a+raid+5+array+in+linux+with+mdadm" rel="nofollow" title="Add to&nbsp;Stumble Upon"><img class="social_img" src="http://blog.mbentley.net/wp-content/plugins/social-bookmarks/images/stumbleupon.png" title="Add to&nbsp;Stumble Upon" alt="Add to&nbsp;Stumble Upon" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://twitter.com/home/?status=creating+a+raid+5+array+in+linux+with+mdadm+@+http://tinyurl.com/5ua7bjq" rel="nofollow" title="Add to&nbsp;Twitter"><img class="social_img" src="http://blog.mbentley.net/wp-content/plugins/social-bookmarks/images/twitter.png" title="Add to&nbsp;Twitter" alt="Add to&nbsp;Twitter" /></a>
<br />
</div>
</div>
<!-- Social Bookmarks END -->
]]></content:encoded>
			<wfw:commentRss>http://blog.mbentley.net/2010/11/creating-a-raid-5-array-in-linux-with-mdadm/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>upgrading to adobe flash player 10.2.161.22 (64 bit) on debian</title>
		<link>http://blog.mbentley.net/2010/09/upgrading-to-adobe-flash-player-10-2-161-22-64-bit-on-debian/</link>
		<comments>http://blog.mbentley.net/2010/09/upgrading-to-adobe-flash-player-10-2-161-22-64-bit-on-debian/#comments</comments>
		<pubDate>Fri, 17 Sep 2010 14:02:26 +0000</pubDate>
		<dc:creator>mbentley</dc:creator>
				<category><![CDATA[computers]]></category>
		<category><![CDATA[internet]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[technology]]></category>
		<category><![CDATA[10.2]]></category>
		<category><![CDATA[10.2.161.22]]></category>
		<category><![CDATA[64 bit]]></category>
		<category><![CDATA[adobe]]></category>
		<category><![CDATA[beta]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[flash]]></category>
		<category><![CDATA[preview 1]]></category>
		<category><![CDATA[testing]]></category>
		<category><![CDATA[update-alternatives]]></category>
		<category><![CDATA[x64]]></category>
		<category><![CDATA[x86_64]]></category>

		<guid isPermaLink="false">http://blog.mbentley.net/?p=460</guid>
		<description><![CDATA[as i mentioned in my previous blog article, adobe temporarily pulled 64 bit support for the 64 bit plugin. a few days ago (september 15) they released preview 1 of flash player 10.2. if you have followed the instructions in my previous article, upgrading is quite simple. if not, don&#8217;t worry, there are only a [...]]]></description>
			<content:encoded><![CDATA[<p>as i mentioned in my previous blog article, adobe temporarily pulled 64 bit support for the 64 bit plugin.  a few days ago (september 15) they released <a href="http://labs.adobe.com/downloads/flashplayer10.html">preview 1 of flash player 10.2</a>.  if you have followed the instructions in my <a href="http://blog.mbentley.net/2010/07/installing-adobe-flash-64-bit-on-debian/">previous article</a>, upgrading is quite simple.  if not, don&#8217;t worry, there are only a few extra steps!  please remember that this is a beta version so it may not be 100% stable.  the method i am using will add a new option to update-alternatives which will allow you to switch between a stable and testing plugin of flash player.  this makes it quite simple to change between versions.</p>
<ol>
<li>if you haven&#8217;t yet, i would suggest removing the official adobe flash package which is likely to be out of date:
<pre>sudo aptitude remove --purge flashplugin-nonfree</pre>
</li>
<li>download the latest 64 bit plugin from <a href="http://labs.adobe.com/downloads/flashplayer10.html" target="_blank">here</a>, make sure to select &#8216;Download plug-in for 64-bit Linux&#8217; (<a href="http://blog.mbentley.net/wp-content/uploads/2010/09/flashplayer_square_p1_64bit_linux_091510.tar.gz">backup mirror</a>).  i would suggest saving the file to <strong>/tmp</strong>.</li>
<li>open a command line window and navigate to /tmp:
<pre>cd /tmp</pre>
</li>
<li>untar the archive:
<pre>tar zxvf flashplayer_square_p1_64bit_linux_091510.tar.gz</pre>
</li>
<li>if you haven&#8217;t followed my previous article, you will need to create the destination directory first:
<pre>sudo mkdir /usr/lib/adobe-flash</pre>
<p>next, copy the newly extracted &#8216;libflashplayer.so&#8217; to the plugin installation location:</p>
<pre>sudo cp libflashplayer.so /usr/lib/adobe-flash/libflashplayer_testing.so</pre>
<p>it might be a good idea to verify that you have moved the file properly:</p>
<pre>mbentley@athena:/tmp$ ls -l /usr/lib/adobe-flash/
total 19736
-rwxr-xr-x 1 root root  9570824 2010-09-17 09:18 libflashplayer.so
-rw-r--r-- 1 root root 10601968 2010-09-17 10:01 libflashplayer_testing.so</pre>
</li>
<li>next we are going to need to add a new entry to update-alternatives for the testing version:
<pre>sudo update-alternatives --install /usr/lib/mozilla/plugins/flash-mozilla.so \
flash-mozilla.so /usr/lib/adobe-flash/libflashplayer_testing.so 15</pre>
<p>&#8216;â€“install&#8217; indicates that we are adding an entry, &#8216;/usr/lib/mozilla/plugins/flash-mozilla.so&#8217; indicates the symlink we want to add an option to, &#8216;flash-mozilla.so&#8217; indicates the update-alternatives name, &#8216;/usr/lib/adobe-flash/libflashplayer_testing.so&#8217; indicates the file which you are adding, &#8217;15&#8242; indicates the priority (higher the number, the higher the priority).</li>
<li>now we need to set the new testing version of flash player to be current active version:
<pre>sudo update-alternatives --config flash-mozilla.so</pre>
<p>make sure to choose the option for the newly created &#8216;/usr/lib/adobe-flash/libflashplayer_testing.so&#8217;:</p>
<pre>There are 2 alternatives which provide `flash-mozilla.so'.

  Selection    Alternative
-----------------------------------------------
*+        1    /usr/lib/adobe-flash/libflashplayer.so
          2    /usr/lib/adobe-flash/libflashplayer_testing.so

Press enter to keep the default[*], or type selection number: 2
Using '/usr/lib/adobe-flash/libflashplayer_testing.so' to provide 'flash-mozilla.so'.</pre>
</li>
<li>we should now clean up our temporary files as we do not need them anymore:
<pre>rm /tmp/flashplayer_square_p1_64bit_linux_091510.tar.gz /tmp/libflashplayer.so</pre>
</li>
<li>after you have done that, you will need to restart your web browser and then you should have version 10.2.161.22 installed.  you can verify this by going to adobe&#8217;s <a href="http://www.adobe.com/software/flash/about/">flash test page</a> and looking in the &#8216;version information&#8217; section.</li>
</ol>
<p>in the future, you will simply need to execute steps 2-5 to upgrade to newer versions.  if you want to install a new &#8216;stable&#8217; plugin, you will just need to change step 5 to copy to &#8216;/usr/lib/adobe-flash/libflashplayer.so&#8217;.  if you do so, you will also want to verify that update-alternatives is pointing to the correct version that you would like to use.</p>
<p>if you have any questions or problems, feel free to post in the comments and i will try to reply to them as soon as possible.</p>
<!-- Social Bookmarks BEGIN -->
<div class="social_bookmark">
<div class="d">
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://del.icio.us/post?url=http://tinyurl.com/5su82s7&amp;title=upgrading+to+adobe+flash+player+10.2.161.22+%2864+bit%29+on+debian" rel="nofollow" title="Add to&nbsp;Del.icio.us"><img class="social_img" src="http://blog.mbentley.net/wp-content/plugins/social-bookmarks/images/delicious.png" title="Add to&nbsp;Del.icio.us" alt="Add to&nbsp;Del.icio.us" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://digg.com/submit?phase=2&amp;url=http://tinyurl.com/5su82s7&amp;title=upgrading+to+adobe+flash+player+10.2.161.22+%2864+bit%29+on+debian" rel="nofollow" title="Add to&nbsp;digg"><img class="social_img" src="http://blog.mbentley.net/wp-content/plugins/social-bookmarks/images/digg.png" title="Add to&nbsp;digg" alt="Add to&nbsp;digg" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.facebook.com/sharer.php?u=http://tinyurl.com/5su82s7" rel="nofollow" title="Add to&nbsp;Facebook"><img class="social_img" src="http://blog.mbentley.net/wp-content/plugins/social-bookmarks/images/facebook.png" title="Add to&nbsp;Facebook" alt="Add to&nbsp;Facebook" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.stumbleupon.com/submit?url=http://tinyurl.com/5su82s7&amp;title=upgrading+to+adobe+flash+player+10.2.161.22+%2864+bit%29+on+debian" rel="nofollow" title="Add to&nbsp;Stumble Upon"><img class="social_img" src="http://blog.mbentley.net/wp-content/plugins/social-bookmarks/images/stumbleupon.png" title="Add to&nbsp;Stumble Upon" alt="Add to&nbsp;Stumble Upon" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://twitter.com/home/?status=upgrading+to+adobe+flash+player+10.2.161.22+%2864+bit%29+on+debian+@+http://tinyurl.com/5su82s7" rel="nofollow" title="Add to&nbsp;Twitter"><img class="social_img" src="http://blog.mbentley.net/wp-content/plugins/social-bookmarks/images/twitter.png" title="Add to&nbsp;Twitter" alt="Add to&nbsp;Twitter" /></a>
<br />
</div>
</div>
<!-- Social Bookmarks END -->
]]></content:encoded>
			<wfw:commentRss>http://blog.mbentley.net/2010/09/upgrading-to-adobe-flash-player-10-2-161-22-64-bit-on-debian/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>installing adobe flash player 64 bit on debian</title>
		<link>http://blog.mbentley.net/2010/07/installing-adobe-flash-64-bit-on-debian/</link>
		<comments>http://blog.mbentley.net/2010/07/installing-adobe-flash-64-bit-on-debian/#comments</comments>
		<pubDate>Wed, 14 Jul 2010 13:45:22 +0000</pubDate>
		<dc:creator>mbentley</dc:creator>
				<category><![CDATA[computers]]></category>
		<category><![CDATA[internet]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[technology]]></category>
		<category><![CDATA[64 bit]]></category>
		<category><![CDATA[adobe]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[flash]]></category>
		<category><![CDATA[update-alternatives]]></category>
		<category><![CDATA[x64]]></category>
		<category><![CDATA[x86_64]]></category>

		<guid isPermaLink="false">http://blog.mbentley.net/?p=428</guid>
		<description><![CDATA[somewhat recently, adobe has pulled all support for 64 bit flash player on linux. debian has also remove the support from it&#8217;s non-free archives so the &#8216;flashplugin-nonfree&#8217; package no longer works properly. i find that gnash and swfdec are pretty lacking and are not compatible with all websites which is a major problem for me. [...]]]></description>
			<content:encoded><![CDATA[<p>somewhat recently, adobe has pulled all support for 64 bit flash player on linux.  debian has also remove the support from it&#8217;s non-free archives so the &#8216;flashplugin-nonfree&#8217; package no longer works properly.  i find that gnash and swfdec are pretty lacking and are not compatible with all websites which is a major problem for me.  after searching online, i found a 64 bit copy of libflashplayer.so and wanted to install it the debian way using &#8216;update-alternatives&#8217;.  here are the steps to install it properly:</p>
<ul>
<li>first we want to remove the official &#8216;flashplugin-nonfree&#8217; package:</p>
<pre>sudo aptitude remove --purge flashplugin-nonfree</pre>
</li>
<li>download libflashplayer.so from <a href="http://blog.mbentley.net/wp-content/uploads/2010/07/libflashplayer-10.0.45.2.linux-x86_64.so_.tar.gz">here</a>.</li>
<li>extract the file to a temporary location using:
<pre>tar zxvf libflashplayer-10.0.45.2.linux-x86_64.so_.tar.gz</pre>
<p>you should now see &#8216;libflashplayer.so&#8217;</li>
<li>from the same temporary location, execute the following commands to make a common location for the file to be stored and then to copy the file there:
<pre>sudo mkdir /usr/lib/adobe-flash
sudo cp libflashplayer.so /usr/lib/adobe-flash/</pre>
</li>
<li>next, you will need to create an update-alternatives entry using the following command (copy and paste <strong>both</strong> lines and insert it on the command line as a single command:
<pre>sudo update-alternatives --install /usr/lib/mozilla/plugins/flash-mozilla.so \
flash-mozilla.so /usr/lib/adobe-flash/libflashplayer.so 20</pre>
<p>&#8216;&#8211;install&#8217; indicates that we are adding an entry, &#8216;/usr/lib/mozilla/plugins/flash-mozilla.so&#8217; indicates the symlink we want to add an option to, &#8216;flash-mozilla.so&#8217; indicates the update-alternatives name, &#8216;/usr/lib/adobe-flash/libflashplayer.so&#8217; indicates the file which you are adding, &#8217;20&#8242; indicates the priority.</li>
<li>now we just need to set the new flash player to be the default:
<pre>sudo update-alternatives --config flash-mozilla.so</pre>
<p>make sure to choose the option for the newly created &#8216;/usr/lib/adobe-flash/libflashplayer.so&#8217;:</p>
<pre>There are 2 alternatives which provide `flash-mozilla.so'.

  Selection    Alternative
-----------------------------------------------
          1    /usr/lib/gnash/libgnashplugin.so
*+        2    /usr/lib/adobe-flash/libflashplayer.so

Press enter to keep the default[*], or type selection number: 2
Using '/usr/lib/adobe-flash/libflashplayer.so' to provide 'flash-mozilla.so'.</pre>
</li>
<li>now open up iceweasel (firefox) and navigate to &#8216;<a href="http://kb2.adobe.com/cps/155/tn_15507.html">http://kb2.adobe.com/cps/155/tn_15507.html</a>&#8216; and it should show the version of flash as &#8216;LNX 10,0,45,2&#8242;.</li>
</ul>
<p>and that should be it!  if you want to navigate to any flash based site or <a href="http://www.adobe.com/software/flash/about/">adobe&#8217;s flash test page</a> you should see the plugin working.  this has currently been tested on debian lenny (stable) and debian squeeze (testing).</p>
<!-- Social Bookmarks BEGIN -->
<div class="social_bookmark">
<div class="d">
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://del.icio.us/post?url=http://tinyurl.com/6dg8vv3&amp;title=installing+adobe+flash+player+64+bit+on+debian" rel="nofollow" title="Add to&nbsp;Del.icio.us"><img class="social_img" src="http://blog.mbentley.net/wp-content/plugins/social-bookmarks/images/delicious.png" title="Add to&nbsp;Del.icio.us" alt="Add to&nbsp;Del.icio.us" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://digg.com/submit?phase=2&amp;url=http://tinyurl.com/6dg8vv3&amp;title=installing+adobe+flash+player+64+bit+on+debian" rel="nofollow" title="Add to&nbsp;digg"><img class="social_img" src="http://blog.mbentley.net/wp-content/plugins/social-bookmarks/images/digg.png" title="Add to&nbsp;digg" alt="Add to&nbsp;digg" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.facebook.com/sharer.php?u=http://tinyurl.com/6dg8vv3" rel="nofollow" title="Add to&nbsp;Facebook"><img class="social_img" src="http://blog.mbentley.net/wp-content/plugins/social-bookmarks/images/facebook.png" title="Add to&nbsp;Facebook" alt="Add to&nbsp;Facebook" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.stumbleupon.com/submit?url=http://tinyurl.com/6dg8vv3&amp;title=installing+adobe+flash+player+64+bit+on+debian" rel="nofollow" title="Add to&nbsp;Stumble Upon"><img class="social_img" src="http://blog.mbentley.net/wp-content/plugins/social-bookmarks/images/stumbleupon.png" title="Add to&nbsp;Stumble Upon" alt="Add to&nbsp;Stumble Upon" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://twitter.com/home/?status=installing+adobe+flash+player+64+bit+on+debian+@+http://tinyurl.com/6dg8vv3" rel="nofollow" title="Add to&nbsp;Twitter"><img class="social_img" src="http://blog.mbentley.net/wp-content/plugins/social-bookmarks/images/twitter.png" title="Add to&nbsp;Twitter" alt="Add to&nbsp;Twitter" /></a>
<br />
</div>
</div>
<!-- Social Bookmarks END -->
]]></content:encoded>
			<wfw:commentRss>http://blog.mbentley.net/2010/07/installing-adobe-flash-64-bit-on-debian/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>how to make free ringtones for the iPhone using iTunes</title>
		<link>http://blog.mbentley.net/2010/06/how-to-make-free-ringtones-for-the-iphone-using-itunes/</link>
		<comments>http://blog.mbentley.net/2010/06/how-to-make-free-ringtones-for-the-iphone-using-itunes/#comments</comments>
		<pubDate>Thu, 24 Jun 2010 12:25:55 +0000</pubDate>
		<dc:creator>mbentley</dc:creator>
				<category><![CDATA[apple]]></category>
		<category><![CDATA[computers]]></category>
		<category><![CDATA[iphone]]></category>
		<category><![CDATA[technology]]></category>
		<category><![CDATA[aac]]></category>
		<category><![CDATA[easy]]></category>
		<category><![CDATA[free]]></category>
		<category><![CDATA[iphone 2g]]></category>
		<category><![CDATA[iphone 3g]]></category>
		<category><![CDATA[iphone 3gs]]></category>
		<category><![CDATA[iphone 4]]></category>
		<category><![CDATA[itunes]]></category>
		<category><![CDATA[itunes 9.2]]></category>
		<category><![CDATA[m4r]]></category>
		<category><![CDATA[make ringtones]]></category>
		<category><![CDATA[mp3]]></category>
		<category><![CDATA[ringtones]]></category>

		<guid isPermaLink="false">http://blog.mbentley.net/?p=368</guid>
		<description><![CDATA[so you already have some songs in your itunes library and you want to make custom ringtones from them but don&#8217;t want to pay for them from the itunes store or the ringtone doesn&#8217;t have the part of the song you want. if you are looking to do just that, then you&#8217;re in luck and [...]]]></description>
			<content:encoded><![CDATA[<p>so you already have some songs in your itunes library and you want to make custom ringtones from them but don&#8217;t want to pay for them from the itunes store or the ringtone doesn&#8217;t have the part of the song you want.  if you are looking to do just that, then you&#8217;re in luck and all you need to create your own ringtones is itunes itself.  the steps are fairly simple.  they <em>may</em> work similarly on osx, but i have only tested this on windows.</p>
<ol>
<li>open itunes and find song you want to make a ringtone</li>
<li>each ringtone should be 30 seconds long.  play the song and look at what point in the song you want it to start and remember the minutes and seconds to start.  add 30 seconds for the end time and remember that as well</li>
<li>right click on the song, choose &#8216;get info&#8217; then go to the &#8216;options&#8217; tab (see <a href="#figure1">figure 1</a>)</li>
<li>change start time to beginning time and change the stop time to the ending time (remember:  should be 30 seconds after start time).  choose OK. (see <a href="#figure2">figure 2</a>)</li>
<li>right click on the song again, choose &#8216;create aac version&#8217;.  it should only take a few seconds to process</li>
<li>a new song will appear in your itunes library (it will be a 30 second song); right click on the new 30 second version and choose &#8216;show in windows explorer&#8217; (see <a href="#figure3">figure 3</a>)</li>
<li>this should take you to the location of the new file.  change file extension from &#8216;.m4a&#8217; to &#8216;.m4r&#8217;</li>
<li>i would suggest moving the file to a common location for ringtones only.  you will also want to make sure to remove old 30 second clip from itunes as it now points to an invalid file location</li>
<li>to import the new ringtone, go to the &#8216;file&#8217; menu then &#8216;add file to library&#8217;.  navigate to the new ringtone and add it to the library.  it should now appear in the &#8216;ringtones&#8217; section on the left (see <a href="#figure4">figure 4</a>)</li>
<li>make sure to undo your changes to the start/stop time of the original song (right click the original song, choose &#8216;get info&#8217;, goto the &#8216;options&#8217; tab, clear start/stop time checkboxes</li>
<li>sync your iphone and now the ringtone is available on your phone!</li>
</ol>
<table border="0" width="100%">
<tr>
<td align="center"><a name="figure1" href="http://blog.mbentley.net/wp-content/uploads/2010/06/info.jpg" class="smoothbox"><img src="http://blog.mbentley.net/wp-content/uploads/2010/06/info-300x266.jpg" alt="" title="info" width="300" height="266" class="aligncenter size-medium wp-image-379" /></a></td>
<td valign="bottom" align="center"><a name="figure2" href="http://blog.mbentley.net/wp-content/uploads/2010/06/info2.jpg" class="smoothbox"><img src="http://blog.mbentley.net/wp-content/uploads/2010/06/info2-300x266.jpg" alt="" title="info2" width="300" height="266" class="aligncenter size-medium wp-image-378" /></a></tr>
<tr>
<td align="center">figure 1 &#8211; get info, options tab</td>
<td align="center">figure 2 &#8211; set start/stop time</td>
</tr>
<tr>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr>
<td align="center"><a name="figure3" href="http://blog.mbentley.net/wp-content/uploads/2010/06/30_sec.jpg" class="smoothbox"><img src="http://blog.mbentley.net/wp-content/uploads/2010/06/30_sec-300x244.jpg" alt="" title="30_sec" width="300" height="244" class="aligncenter size-medium wp-image-377" /></a></td>
<td valign="bottom" align="center"><a name="figure4" href="http://blog.mbentley.net/wp-content/uploads/2010/06/new_ringtone.jpg" class="smoothbox"><img src="http://blog.mbentley.net/wp-content/uploads/2010/06/new_ringtone-300x244.jpg" alt="" title="new_ringtone" width="300" height="244" class="aligncenter size-medium wp-image-376" /></a></tr>
<tr>
<td align="center">figure 3 &#8211; new 30 second song</td>
<td align="center">figure 4 &#8211; new ringtone in itunes</td>
</tr>
</table>
<p>post a comment if you have any issues.</p>
<!-- Social Bookmarks BEGIN -->
<div class="social_bookmark">
<div class="d">
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://del.icio.us/post?url=http://tinyurl.com/4a6tpfj&amp;title=how+to+make+free+ringtones+for+the+iPhone+using+iTunes" rel="nofollow" title="Add to&nbsp;Del.icio.us"><img class="social_img" src="http://blog.mbentley.net/wp-content/plugins/social-bookmarks/images/delicious.png" title="Add to&nbsp;Del.icio.us" alt="Add to&nbsp;Del.icio.us" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://digg.com/submit?phase=2&amp;url=http://tinyurl.com/4a6tpfj&amp;title=how+to+make+free+ringtones+for+the+iPhone+using+iTunes" rel="nofollow" title="Add to&nbsp;digg"><img class="social_img" src="http://blog.mbentley.net/wp-content/plugins/social-bookmarks/images/digg.png" title="Add to&nbsp;digg" alt="Add to&nbsp;digg" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.facebook.com/sharer.php?u=http://tinyurl.com/4a6tpfj" rel="nofollow" title="Add to&nbsp;Facebook"><img class="social_img" src="http://blog.mbentley.net/wp-content/plugins/social-bookmarks/images/facebook.png" title="Add to&nbsp;Facebook" alt="Add to&nbsp;Facebook" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.stumbleupon.com/submit?url=http://tinyurl.com/4a6tpfj&amp;title=how+to+make+free+ringtones+for+the+iPhone+using+iTunes" rel="nofollow" title="Add to&nbsp;Stumble Upon"><img class="social_img" src="http://blog.mbentley.net/wp-content/plugins/social-bookmarks/images/stumbleupon.png" title="Add to&nbsp;Stumble Upon" alt="Add to&nbsp;Stumble Upon" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://twitter.com/home/?status=how+to+make+free+ringtones+for+the+iPhone+using+iTunes+@+http://tinyurl.com/4a6tpfj" rel="nofollow" title="Add to&nbsp;Twitter"><img class="social_img" src="http://blog.mbentley.net/wp-content/plugins/social-bookmarks/images/twitter.png" title="Add to&nbsp;Twitter" alt="Add to&nbsp;Twitter" /></a>
<br />
</div>
</div>
<!-- Social Bookmarks END -->
]]></content:encoded>
			<wfw:commentRss>http://blog.mbentley.net/2010/06/how-to-make-free-ringtones-for-the-iphone-using-itunes/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>iPhone iOS 4 &amp; 5 upgrade &#8211; restore lost pictures in camera roll</title>
		<link>http://blog.mbentley.net/2010/06/iphone-ios-4-upgrade-restore-lost-pictures-in-camera-roll/</link>
		<comments>http://blog.mbentley.net/2010/06/iphone-ios-4-upgrade-restore-lost-pictures-in-camera-roll/#comments</comments>
		<pubDate>Wed, 23 Jun 2010 23:30:34 +0000</pubDate>
		<dc:creator>mbentley</dc:creator>
				<category><![CDATA[apple]]></category>
		<category><![CDATA[computers]]></category>
		<category><![CDATA[iphone]]></category>
		<category><![CDATA[technology]]></category>
		<category><![CDATA[3g]]></category>
		<category><![CDATA[3gs]]></category>
		<category><![CDATA[4]]></category>
		<category><![CDATA[4s]]></category>
		<category><![CDATA[backup]]></category>
		<category><![CDATA[camera empty]]></category>
		<category><![CDATA[camera roll]]></category>
		<category><![CDATA[failed]]></category>
		<category><![CDATA[firmware]]></category>
		<category><![CDATA[fix]]></category>
		<category><![CDATA[iOS 4]]></category>
		<category><![CDATA[iOS4]]></category>
		<category><![CDATA[iphone 3g]]></category>
		<category><![CDATA[iphone 3gs]]></category>
		<category><![CDATA[iphone 4]]></category>
		<category><![CDATA[iphone 4s]]></category>
		<category><![CDATA[iphone os 4]]></category>
		<category><![CDATA[itunes]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[lost pictures]]></category>
		<category><![CDATA[lost video]]></category>
		<category><![CDATA[mac osx]]></category>
		<category><![CDATA[missing]]></category>
		<category><![CDATA[missing pictures]]></category>
		<category><![CDATA[no pictures]]></category>
		<category><![CDATA[no pictures or videos]]></category>
		<category><![CDATA[osx]]></category>
		<category><![CDATA[photos]]></category>
		<category><![CDATA[problem]]></category>
		<category><![CDATA[restore]]></category>
		<category><![CDATA[update]]></category>
		<category><![CDATA[upgrade]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://blog.mbentley.net/?p=364</guid>
		<description><![CDATA[update 10/21/2011 &#8211; it appears that this bug has come up again with a number of people who have updated to iOS 5. luckily, the solution is the same as before. i have updated the instructions to help with any changes that iOS 5 added. before you start &#8211; this will only work if your [...]]]></description>
			<content:encoded><![CDATA[<p><strong>update 10/21/2011</strong> &#8211; it appears that this bug has come up again with a number of people who have updated to iOS 5.  luckily, the solution is the same as before.  i have updated the instructions to help with any changes that iOS 5 added.</p>
<p><strong>before you start</strong> &#8211; this will only work if your photos actually exist on your device but do not show up in in the camera roll.  you can verify that photos exist on your device by looking <a href="http://blog.mbentley.net/wp-content/uploads/2010/06/iTunes_graph.png" class="smoothbox">graph at the bottom of iTunes</a> and by <a href="http://blog.mbentley.net/2010/06/iphone-ios-4-upgrade-restore-lost-pictures-in-camera-roll/comment-page-6/#comment-5513">checking your device</a> for the actual picture files.  if you post comments about having problems but don&#8217;t mention that you haven&#8217;t verified that your photos are still available on your device, i&#8217;m sorry but i won&#8217;t be able to help you.</p>
<hr />
<p>so i decided to upgrade to the new iOS 4 on my iphone 3gs to see what it is all about.  everything went smoothly.  i installed itunes 9.2, downloaded the new firmware, asked my phone to do a restore using the new firmware and then had it restore my latest backup of info.  everything seemed perfect after syncing with itunes but then i went into my camera roll and noticed i had no pictures!  in itunes, it showed over 1 GB worth of pictures so why were they not showing up?  i searched online for a little while i didn&#8217;t really come up with much at first.  many different solutions:  do a backup, sync, reboot, etc but nothing worked.  then i came across <a href="http://discussions.info.apple.com/thread.jspa?messageID=11734450">this discussion</a> on the apple forums.  i have slightly modified the steps.  if you use windows or osx, you can download <a href="http://www.macroplant.com/iphoneexplorer/">iphone explorer</a> and follow these steps:</p>
<pre>these steps are out of date.  see below for updated steps.
<del datetime="2011-10-21T21:33:12+00:00">1.) connect your iphone using the usb cable
2.) launch iphone explorer
3.) backup and then delete the following files (<a href="http://blog.mbentley.net/2010/06/iphone-ios-4-upgrade-restore-lost-pictures-in-camera-roll/comment-page-4/#comment-3200">backup instructions</a>):
     /DCIM/.MISC/Info.plist
     /PhotoData/Photos.sqlite
     /PhotoData/PhotosAux.sqlite
4.) reboot your iphone</del></pre>
<p>a recent update to iphone explorer may have changed the folder paths.  if you don&#8217;t see the folders mentioned, try the following:</p>
<pre>1.) connect your iphone using the usb cable
2.) launch iphone explorer
3.) backup and then delete the following files (<a href="http://blog.mbentley.net/2010/06/iphone-ios-4-upgrade-restore-lost-pictures-in-camera-roll/comment-page-4/#comment-3200">backup instructions</a>):
     /Media/DCIM/.MISC/Info.plist
     /Media/PhotoData/MISC/DCIM_APPLE.plist
     /Media/PhotoData/Photos.sqlite (or /PhotoData/Photos.sqlite)
     /Media/PhotoData/PhotosAux.sqlite (or /PhotoData/PhotosAux.sqlite)
4.) reboot your iphone</pre>
<p>note:  if you don&#8217;t have the file PhotosAux.sqlite, that&#8217;s not a problem.  It is a database of the location of where photos were taken which is extracted from the EXIF data of the pictures.  i would guess that it is uses by the Places feature in the camera roll.</p>
<p>if your phone is jailbroken and you are in &#8216;root&#8217; view in iphone explorer, these instructions &#038; file locations should work:</p>
<pre>1.) connect your iphone using the usb cable
2.) launch iphone explorer
3.) backup and then delete the following files:
     /private/var/mobile/Media/PhotoData/.MISC/Info.plist
     /private/var/mobile/Media/PhotoData/MISC/DCIM_APPLE.plist
     /private/var/mobile/Media/PhotoData/Photos.sqlite
     /private/var/mobile/Media/PhotoData/PhotosAux.sqlite
4.) reboot your iphone</pre>
<p>if you have linux, you shouldn&#8217;t need anything as long as you can mount your iphone as a device and delete the files listed above.  i used debian (squeeze) to access the files as it automatically mounts my iphone when i plug it in.  i just enabled &#8216;view hidden files&#8217; and i could access the files to delete.</p>
<p>once you have done that, just open your camera roll and it should re-index all of your photos!</p>
<p>*edit:  as Phil has pointed out in the comments, if the file &#8216;/DCIM/.MISC/Info.plist&#8217; does not exist or if you can&#8217;t find the folder &#8216;/DCIM/.MISC&#8217;, just skip past that file and follow the rest of the directions and it should still restore your photos in the camera roll.</p>
<p>*edit:  has anyone had this happen with the latest update to iOS 5?  i am curious whether or not it is happening again with the latest iOS.  if it is, please let me know in the comments.  thanks!</p>
<!-- Social Bookmarks BEGIN -->
<div class="social_bookmark">
<div class="d">
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://del.icio.us/post?url=http://tinyurl.com/6e9qabx&amp;title=iPhone+iOS+4+%26%23038%3B+5+upgrade+%26%238211%3B+restore+lost+pictures+in+camera+roll" rel="nofollow" title="Add to&nbsp;Del.icio.us"><img class="social_img" src="http://blog.mbentley.net/wp-content/plugins/social-bookmarks/images/delicious.png" title="Add to&nbsp;Del.icio.us" alt="Add to&nbsp;Del.icio.us" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://digg.com/submit?phase=2&amp;url=http://tinyurl.com/6e9qabx&amp;title=iPhone+iOS+4+%26%23038%3B+5+upgrade+%26%238211%3B+restore+lost+pictures+in+camera+roll" rel="nofollow" title="Add to&nbsp;digg"><img class="social_img" src="http://blog.mbentley.net/wp-content/plugins/social-bookmarks/images/digg.png" title="Add to&nbsp;digg" alt="Add to&nbsp;digg" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.facebook.com/sharer.php?u=http://tinyurl.com/6e9qabx" rel="nofollow" title="Add to&nbsp;Facebook"><img class="social_img" src="http://blog.mbentley.net/wp-content/plugins/social-bookmarks/images/facebook.png" title="Add to&nbsp;Facebook" alt="Add to&nbsp;Facebook" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.stumbleupon.com/submit?url=http://tinyurl.com/6e9qabx&amp;title=iPhone+iOS+4+%26%23038%3B+5+upgrade+%26%238211%3B+restore+lost+pictures+in+camera+roll" rel="nofollow" title="Add to&nbsp;Stumble Upon"><img class="social_img" src="http://blog.mbentley.net/wp-content/plugins/social-bookmarks/images/stumbleupon.png" title="Add to&nbsp;Stumble Upon" alt="Add to&nbsp;Stumble Upon" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://twitter.com/home/?status=iPhone+iOS+4+%26%23038%3B+5+upgrade+%26%238211%3B+restore+lost+pictures+in+camera+roll+@+http://tinyurl.com/6e9qabx" rel="nofollow" title="Add to&nbsp;Twitter"><img class="social_img" src="http://blog.mbentley.net/wp-content/plugins/social-bookmarks/images/twitter.png" title="Add to&nbsp;Twitter" alt="Add to&nbsp;Twitter" /></a>
<br />
</div>
</div>
<!-- Social Bookmarks END -->
]]></content:encoded>
			<wfw:commentRss>http://blog.mbentley.net/2010/06/iphone-ios-4-upgrade-restore-lost-pictures-in-camera-roll/feed/</wfw:commentRss>
		<slash:comments>520</slash:comments>
		</item>
		<item>
		<title>reusing an old ipod hard drive</title>
		<link>http://blog.mbentley.net/2010/04/reusing-an-old-ipod-hard-drive/</link>
		<comments>http://blog.mbentley.net/2010/04/reusing-an-old-ipod-hard-drive/#comments</comments>
		<pubDate>Tue, 06 Apr 2010 13:26:56 +0000</pubDate>
		<dc:creator>mbentley</dc:creator>
				<category><![CDATA[computers]]></category>
		<category><![CDATA[new gadgets]]></category>
		<category><![CDATA[repairs]]></category>
		<category><![CDATA[technology]]></category>
		<category><![CDATA[1.8"]]></category>
		<category><![CDATA[adapter]]></category>
		<category><![CDATA[dead]]></category>
		<category><![CDATA[external enclosure]]></category>
		<category><![CDATA[hard drive]]></category>
		<category><![CDATA[hitachi]]></category>
		<category><![CDATA[ipod]]></category>
		<category><![CDATA[lif]]></category>
		<category><![CDATA[toshiba]]></category>
		<category><![CDATA[usb]]></category>
		<category><![CDATA[zif]]></category>

		<guid isPermaLink="false">http://blog.mbentley.net/?p=318</guid>
		<description><![CDATA[so what happens when your ipod dies? what if you get a new one and simply have no use for your old one? if you don&#8217;t have a use for your ipod or it is broken and you have determined that it&#8217;s a model with a hard drive and it is still in working condition, [...]]]></description>
			<content:encoded><![CDATA[<p>so what happens when your ipod dies?  what if you get a new one and simply have no use for your old one?  if you don&#8217;t have a use for your ipod or it is broken and you have determined that it&#8217;s a model with a hard drive and it is still in working condition, you can simply turn it into an external hard drive.  i had a 5th gen video ipod that had a circuit board go bad and it already had a battery that wouldn&#8217;t hold a charge.  instead of buying parts to repair it, it just went ahead and bought a new one.</p>
<p>that left my old one for parts and pretty much the only thing of any value to me was the hard drive.  mine has a zif/lif connector which i hadn&#8217;t ran into before but after doing a little looking around, i found that you could find fairly inexpensive enclosures on ebay (search for &#8217;1.8 ZIF LIF external usb&#8217;).  from what i understand, some ipod hard drives are zif and others are ide.  just make sure you know which one you own before ordering.  the person i bought mine from on ebay had both types available.</p>
<table border="0" width="100%">
<tr>
<td align="center"><a href="http://blog.mbentley.net/wp-content/uploads/2010/04/ide.jpg" class="smoothbox"><img src="http://blog.mbentley.net/wp-content/uploads/2010/04/ide-240x300.jpg" alt="" title="ide" width="240" height="300" class="aligncenter size-medium wp-image-353" /></a></td>
<td valign="bottom" align="center"><a href="http://blog.mbentley.net/wp-content/uploads/2010/04/zif.jpg"  class="smoothbox"><img src="http://blog.mbentley.net/wp-content/uploads/2010/04/zif-261x300.jpg" alt="" title="zif" width="261" height="300" class="aligncenter size-medium wp-image-350" /></a></tr>
<tr>
<td align="center">1.8&#8243; ide drive</td>
<td align="center">1.8&#8243; zif drive</td>
</tr>
</table>
<p></p>
<table border="0">
<tr>
<td valign="top">the case that i bought is a hitachi mobile disk case.  there really isn&#8217;t anything special about it as it is simply a plastic case with a circuit board which converts the connector to mini usb.  i purchased it solely based on the plain look and small size.  it is only about the size of a credit card (just slightly bigger) which is about 1/2 to 2/3 the size of a standard 2.5&#8243; laptop hard drive in an external enclosure.</p>
<p>the plastic seems to be much more sturdy than that of my 2.5&#8243; laptop enclosure which needs replacing badly.   that is how the whole idea of looking for an 1.8&#8243; enclosure came to mind.  if you can help it, i would try to keep the screwing and unscrew of the case to a minimum to prevent stripping out the plastic threads in the hole as they tend to easily break on enclosures.  also do not over tighten them as that will definitely cause damage to the holes.
</td>
<td><a href="http://blog.mbentley.net/wp-content/uploads/2010/04/case.jpg" class="smoothbox"><img src="http://blog.mbentley.net/wp-content/uploads/2010/04/case-300x225.jpg" alt="" title="case" width="300" height="225" class="aligncenter size-medium wp-image-331" /></a></td>
</tr>
</table>
<p>the case doesn&#8217;t come with instructions but installation was a easy and took about 2 minutes.  if you have the ability to disassemble an ipod, you will easily be able to figure out how a zif connector works.  if you don&#8217;t know how to disassemble your dead ipod, just do a quick google search and you&#8217;ll find plenty of assistance.  the only reason the installation took 2 minutes was because the screws were so small, they were difficult to handle.  once it was all buttoned up, i just plugged it in, reformatted the drive and it worked like a charm.</p>
<!-- Social Bookmarks BEGIN -->
<div class="social_bookmark">
<div class="d">
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://del.icio.us/post?url=http://tinyurl.com/4rfwd5c&amp;title=reusing+an+old+ipod+hard+drive" rel="nofollow" title="Add to&nbsp;Del.icio.us"><img class="social_img" src="http://blog.mbentley.net/wp-content/plugins/social-bookmarks/images/delicious.png" title="Add to&nbsp;Del.icio.us" alt="Add to&nbsp;Del.icio.us" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://digg.com/submit?phase=2&amp;url=http://tinyurl.com/4rfwd5c&amp;title=reusing+an+old+ipod+hard+drive" rel="nofollow" title="Add to&nbsp;digg"><img class="social_img" src="http://blog.mbentley.net/wp-content/plugins/social-bookmarks/images/digg.png" title="Add to&nbsp;digg" alt="Add to&nbsp;digg" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.facebook.com/sharer.php?u=http://tinyurl.com/4rfwd5c" rel="nofollow" title="Add to&nbsp;Facebook"><img class="social_img" src="http://blog.mbentley.net/wp-content/plugins/social-bookmarks/images/facebook.png" title="Add to&nbsp;Facebook" alt="Add to&nbsp;Facebook" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.stumbleupon.com/submit?url=http://tinyurl.com/4rfwd5c&amp;title=reusing+an+old+ipod+hard+drive" rel="nofollow" title="Add to&nbsp;Stumble Upon"><img class="social_img" src="http://blog.mbentley.net/wp-content/plugins/social-bookmarks/images/stumbleupon.png" title="Add to&nbsp;Stumble Upon" alt="Add to&nbsp;Stumble Upon" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://twitter.com/home/?status=reusing+an+old+ipod+hard+drive+@+http://tinyurl.com/4rfwd5c" rel="nofollow" title="Add to&nbsp;Twitter"><img class="social_img" src="http://blog.mbentley.net/wp-content/plugins/social-bookmarks/images/twitter.png" title="Add to&nbsp;Twitter" alt="Add to&nbsp;Twitter" /></a>
<br />
</div>
</div>
<!-- Social Bookmarks END -->
]]></content:encoded>
			<wfw:commentRss>http://blog.mbentley.net/2010/04/reusing-an-old-ipod-hard-drive/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>backing up all of your itunes settings</title>
		<link>http://blog.mbentley.net/2010/03/backing-up-all-of-your-itunes-settings/</link>
		<comments>http://blog.mbentley.net/2010/03/backing-up-all-of-your-itunes-settings/#comments</comments>
		<pubDate>Thu, 25 Mar 2010 16:16:40 +0000</pubDate>
		<dc:creator>mbentley</dc:creator>
				<category><![CDATA[apple]]></category>
		<category><![CDATA[computers]]></category>
		<category><![CDATA[iphone]]></category>
		<category><![CDATA[technology]]></category>
		<category><![CDATA[backup]]></category>
		<category><![CDATA[itunes]]></category>
		<category><![CDATA[settings]]></category>
		<category><![CDATA[windows 7]]></category>
		<category><![CDATA[windows vista]]></category>
		<category><![CDATA[windows xp]]></category>

		<guid isPermaLink="false">http://blog.mbentley.net/?p=267</guid>
		<description><![CDATA[i&#8217;ve seen tons of posts around the internet regarding backing up itunes. most of them seem to focus on backing up your itunes library. while this is great, it doesn&#8217;t cover everything you probably want to back up when doing something like a complete reinstall of windows. if you only back up your library, you [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://blog.mbentley.net/wp-content/uploads/2010/03/itunes-06-2.gif" class="smoothbox"><img src="http://blog.mbentley.net/wp-content/uploads/2010/03/itunes-06-2-300x213.gif" alt="" title="itunes" width="300" height="213" class="alignright size-medium wp-image-299" /></a>i&#8217;ve seen tons of posts around the internet regarding backing up itunes.  most of them seem to focus on backing up your itunes library.  while this is great, it doesn&#8217;t cover everything you probably want to back up when doing something like a complete reinstall of windows.  if you only back up your library, you will lose your settings as well as your playlists.  if you are like me, you have your music stored on a central server somewhere so backing up your music on your local computer is pointless anyway.</p>
<p>with that being said, there are a couple folders that you should back up if you want to keep your itunes settings intact when doing a full reinstall or migration to a new computer.  before you do a backup, i would suggest <a href="http://support.apple.com/kb/ht1420">deauthorizing</a> your computer from the itunes store.  this will prevent you from running out of the max of 5 authorizations and having to call apple support to have to clear one for you.  once you have deauthorized, make sure you close itunes.  next, you will need to find three folders:</p>
<p>Windows XP:</p>
<pre>%HOMEPATH%\My Documents\My Music\iTunes
%HOMEPATH%\Application Data\Apple Computer
%HOMEPATH%\Local Settings\Application Data\Apple Computer</pre>
<p>Windows Vista/7:</p>
<pre>%HOMEPATH%\Music\iTunes
%HOMEPATH%\Application Data\Apple Computer
%HOMEPATH%\Local Settings\Application Data\Apple Computer</pre>
<p>note:  %HOMEPATH% is equivilant to &#8216;c:\Documents and Settings\&lt;username&gt;&#8217; (WinXP) or &#8216;c:\Users\&lt;username&gt;&#8217; (Vista/7)</p>
<table width="100%" border="0">
<tr>
<td align="center"><a href="http://blog.mbentley.net/wp-content/uploads/2010/03/itunes_backup_1.jpg" class="smoothbox"><img src="http://blog.mbentley.net/wp-content/uploads/2010/03/itunes_backup_1-300x225.jpg" alt="" title="itunes_backup_1" width="300" height="225" class="alignnone size-medium wp-image-286" /></a><br />first folder (winxp)</td>
<td align="center"><a href="http://blog.mbentley.net/wp-content/uploads/2010/03/itunes_backup_2.jpg" class="smoothbox"><img src="http://blog.mbentley.net/wp-content/uploads/2010/03/itunes_backup_2-300x225.jpg" alt="" title="itunes_backup_2" width="300" height="225" class="alignnone size-medium wp-image-287" /></a><br />second folder (winxp)</td>
</tr>
<tr>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr>
<td align="center" colspan="2"><a href="http://blog.mbentley.net/wp-content/uploads/2010/03/itunes_backup_3.jpg" class="smoothbox"><img src="http://blog.mbentley.net/wp-content/uploads/2010/03/itunes_backup_3-300x225.jpg" alt="" title="itunes_backup_3" width="300" height="225" class="alignnone size-medium wp-image-288" /></a><br />third folder (winxp)</td>
</tr>
</table>
<p>simply store those folders somewhere safe such as an external hard drive or usb thumb drive.  when you install itunes, make sure to start it up for a first time then close it.  this will create the directories which you will want to restore the files to. simply copy the folders back to their proper locations, overwriting the existing contents that were created when you started itunes for the first time.  next, open itunes and it should appear just as it was before.  reauthorize your computer and you are ready to go.</p>
<!-- Social Bookmarks BEGIN -->
<div class="social_bookmark">
<div class="d">
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://del.icio.us/post?url=http://tinyurl.com/49bfgsp&amp;title=backing+up+all+of+your+itunes+settings" rel="nofollow" title="Add to&nbsp;Del.icio.us"><img class="social_img" src="http://blog.mbentley.net/wp-content/plugins/social-bookmarks/images/delicious.png" title="Add to&nbsp;Del.icio.us" alt="Add to&nbsp;Del.icio.us" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://digg.com/submit?phase=2&amp;url=http://tinyurl.com/49bfgsp&amp;title=backing+up+all+of+your+itunes+settings" rel="nofollow" title="Add to&nbsp;digg"><img class="social_img" src="http://blog.mbentley.net/wp-content/plugins/social-bookmarks/images/digg.png" title="Add to&nbsp;digg" alt="Add to&nbsp;digg" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.facebook.com/sharer.php?u=http://tinyurl.com/49bfgsp" rel="nofollow" title="Add to&nbsp;Facebook"><img class="social_img" src="http://blog.mbentley.net/wp-content/plugins/social-bookmarks/images/facebook.png" title="Add to&nbsp;Facebook" alt="Add to&nbsp;Facebook" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.stumbleupon.com/submit?url=http://tinyurl.com/49bfgsp&amp;title=backing+up+all+of+your+itunes+settings" rel="nofollow" title="Add to&nbsp;Stumble Upon"><img class="social_img" src="http://blog.mbentley.net/wp-content/plugins/social-bookmarks/images/stumbleupon.png" title="Add to&nbsp;Stumble Upon" alt="Add to&nbsp;Stumble Upon" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://twitter.com/home/?status=backing+up+all+of+your+itunes+settings+@+http://tinyurl.com/49bfgsp" rel="nofollow" title="Add to&nbsp;Twitter"><img class="social_img" src="http://blog.mbentley.net/wp-content/plugins/social-bookmarks/images/twitter.png" title="Add to&nbsp;Twitter" alt="Add to&nbsp;Twitter" /></a>
<br />
</div>
</div>
<!-- Social Bookmarks END -->
]]></content:encoded>
			<wfw:commentRss>http://blog.mbentley.net/2010/03/backing-up-all-of-your-itunes-settings/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

