<?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/"
	xmlns:series="http://unfoldingneurons.com/"
	>

<channel>
	<title>Stephen Foskett, Pack Rat &#187; icon Archives  &#8211; Stephen Foskett, Pack Rat</title>
	<atom:link href="http://blog.fosketts.net/tag/icon/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.fosketts.net</link>
	<description>Understanding the accumulation of data</description>
	<lastBuildDate>Fri, 10 Feb 2012 17:40:43 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
<atom:link rel="hub" href="http://pubsubhubbub.appspot.com" />
	<atom:link rel="hub" href="http://superfeedr.com/hubbub" />
			<item>
		<title>OS X Custom Drive Icons 2: Boot Camp and NTFS</title>
		<link>http://blog.fosketts.net/2008/09/03/os-x-custom-drive-icons-2-boot-camp-ntfs/</link>
		<comments>http://blog.fosketts.net/2008/09/03/os-x-custom-drive-icons-2-boot-camp-ntfs/#comments</comments>
		<pubDate>Wed, 03 Sep 2008 15:00:08 +0000</pubDate>
		<dc:creator>Stephen</dc:creator>
				<category><![CDATA[Apple]]></category>
		<category><![CDATA[Virtual Storage]]></category>
		<category><![CDATA[Boot Camp]]></category>
		<category><![CDATA[FAT]]></category>
		<category><![CDATA[HFS]]></category>
		<category><![CDATA[icon]]></category>
		<category><![CDATA[NTFS]]></category>
		<category><![CDATA[NTFS-3G]]></category>
		<category><![CDATA[OS X]]></category>
		<category><![CDATA[VMware Fusion]]></category>

		<guid isPermaLink="false">http://blog.fosketts.net/?p=566</guid>
		<description><![CDATA[In my last post, I discussed the simple but confusing steps required to add custom icons to Mac OS X drives. I mentioned that there were some tricks to getting custom icons on some drives, however, including Boot Camp and NTFS disks. This week, I&#8217;ll show how to customize these as well. There are two [...]]]></description>
			<content:encoded><![CDATA[<div id="attachment_485" class="wp-caption alignright" style="width: 294px;  border: 1px solid #dddddd; background-color: #f3f3f3; padding-top: 4px; margin: 10px; text-align:center; float: right;"><a href="http://blog.fosketts.net/wp-content/uploads/2008/08/picture-23.png" ><img class="size-medium wp-image-485" title="Custom OS X Drive Icons" src="http://blog.fosketts.net/wp-content/uploads/2008/08/picture-23.png" alt="Yup, my Boot Camp drive icon is customized, too!" width="284" height="207" /></a><p style=' padding: 0 4px 5px; margin: 0;'  class="wp-caption-text">Yup, my Boot Camp drive icon is customized, too!</p></div>
<p>In my last post, I discussed the <a href="http://blog.fosketts.net/2008/08/27/custom-drive-icons-in-mac-os-x/"  target="_self">simple but confusing steps required to add custom icons to Mac OS X drives</a>. I mentioned that there were some tricks to getting custom icons on some drives, however, including Boot Camp and NTFS disks. This week, I&#8217;ll show how to customize these as well.</p>
<p>There are two core problems with customizing drive icons for certain volumes:</p>
<ol>
<li>OS X can&#8217;t directly write to anything but HFS+ and FAT, and this includes writing icons</li>
<li>OS X needs a special resource on the drive to indicate that the custom icon should be used, and only HFS+ supports this</li>
</ol>
<p>But it&#8217;s easy enough to get around these limitations. Apple takes care of number 2, and we can cover number 1 in one of two ways.</p>
<p><span id="more-566"></span></p>
<p><blockquote><p>This post is part of my series focused on Apple OS X tips and tricks.</p>

<ul>
		<li><a href="http://blog.fosketts.net/2009/08/06/access-ntfs-volumes-mac/">Access NTFS Volumes On Your Mac</a></li>
		<li><a href="http://blog.fosketts.net/2009/01/19/clean-up-mac-disk-tools/">Clean Up Your Mac! Essential OS X Tidiness Tools and Techniques</a></li>
		<li><a href="http://blog.fosketts.net/2008/07/26/move-os-x-time-machine-backups-new-disk/">How To Move OS X Time Machine Backups To A New Disk</a></li>
		<li><a href="http://blog.fosketts.net/2008/10/23/reduce-file-size-pdf-mac/">Hallelujah! OS X Can Reduce PDF File Size!</a></li>
		<li><a href="http://blog.fosketts.net/2008/10/23/reduce-file-size-pdf-mac/"></a><a href="http://blog.fosketts.net/2008/08/27/custom-drive-icons-mac-os-x/">Custom Drive Icons in Mac OS X</a></li>
		<li><a href="http://blog.fosketts.net/2008/08/27/custom-drive-icons-mac-os-x/"></a><a href="http://blog.fosketts.net/2008/09/03/os-x-custom-drive-icons-2-boot-camp-ntfs/">OS X Custom Drive Icons 2: Boot Camp and NTFS</a></li>
</ul>
</blockquote></p>
<p><strong>Techie Bits</strong></p>
<div id="attachment_567" class="wp-caption alignright" style="width: 112px;  border: 1px solid #dddddd; background-color: #f3f3f3; padding-top: 4px; margin: 10px; text-align:center; float: right;"><a href="http://blog.fosketts.net/wp-content/uploads/2008/09/picture-3.png" ><img class="size-full wp-image-567" title="Generic OS X USB Drive Icon" src="http://blog.fosketts.net/wp-content/uploads/2008/09/picture-3.png" alt="Booooooring generic USB drive icon in OS X" width="102" height="86" /></a><p style=' padding: 0 4px 5px; margin: 0;'  class="wp-caption-text">Booooooring generic USB drive icon in OS X</p></div>
<p>Old versions of Mac OS stored lots of data (aka &#8220;resources&#8221;) in the <a rel="nofollow" href="http://en.wikipedia.org/wiki/Resource_fork"  target="_blank">resource fork</a> of a file, including icon graphics. However, this became a problem with the advent of networking and cross-platform computing, since no other popular personal computing platform supported two-fork files. OS X moves most resources into the data fork &#8211; although resource forks still exist, they are rarely used.</p>
<p>However, it appears to me that although the &#8220;icns&#8221; data for a drive icon is stored in the data fork of the .VolumeIcon.icns file, Apple still uses a pointer in the resource fork of the root directory of the drive to tell OS X to use that icon. In other words, when a drive is mounted, OS X seems to look in the resource fork of &#8220;.&#8221; for a flag that says &#8220;use the icon in .VolumeIcon.icns&#8221; before it will use the icon. I&#8217;m not sure this is the case, but I do know that .VolumeIcon.icns has no resource fork (even on HFS+), but it requires a special resource file on other filesystems.</p>
<p>Since only HFS and HFS+ support resource forks, this is a problem. Apple gets around this by saving resource fork data in files with &#8220;._&#8221; prepended to their name. So the resource fork of &#8220;index.html&#8221; would be &#8220;._index.html&#8221; on a FAT drive. Every FAT drive I&#8217;ve added a custom icon to includes a file called &#8220;._.&#8221;, which sounds like the root directory&#8217;s resource to me, and this is required for the icon to work.</p>
<p><strong>Getting It Done</strong></p>
<div id="attachment_568" class="wp-caption alignright" style="width: 124px;  border: 1px solid #dddddd; background-color: #f3f3f3; padding-top: 4px; margin: 10px; text-align:center; float: right;"><a href="http://blog.fosketts.net/wp-content/uploads/2008/09/picture-4.png" ><img class="size-full wp-image-568" title="Custom Maxtor 3200 Drive Icon in OS X" src="http://blog.fosketts.net/wp-content/uploads/2008/09/picture-4.png" alt="Aah, thats a much better icon for my Maxtor 3200!" width="114" height="96" /></a><p style=' padding: 0 4px 5px; margin: 0;'  class="wp-caption-text">Aah, that&#39;s a much better icon for my Maxtor 3200!</p></div>
<p>So you need two files on a non-HFS+ drive to get the custom icon to work:<br />
  </p>
<ol>
<li>.VolumeIcon.icns &#8211; the same exact file as on an HFS+ volume, containing the icon data in the data fork</li>
<li>._. &#8211; a special file (resource fork, perhaps?) which seems to tell OS X to use the icon</li>
</ol>
<p>As illustrated previously, adding a custom icon to a FAT drive is exactly the same as on an HFS+ drive &#8211; create the icon resource and copy and paste it in the drive&#8217;s Info inspector. If we move these two files over to any other OS X-readable drive (including NTFS-formatted Boot Camp partitions), it will use the icon!</p>
<p>OS X can&#8217;t write to NTFS, so there are two ways to get these files onto an NTFS drive:</p>
<ol>
<li>Make OS X write to NTFS by installing NTFS-3G</li>
<li>Copy the two files over in an OS like XP or Vista that <em>can</em> write to NTFS</li>
</ol>
<p>[ad#vmware]The first method is simple, but not one I wanted to try. <a rel="nofollow" href="http://macntfs-3g.blogspot.com/"  target="_blank">NTFS-3G</a> is great &#8211; it&#8217;s a reverse-engineered open-source read/write driver for NTFS, and works on lots of platforms. But NTFS is finicky, and I&#8217;m not too keen on risking the integrity of the drive with an unsupported driver. If you want to use this method, though, customizing the icons is as simple as it is with FAT, once the driver is installed.</p>
<p>I used method 2 &#8211; relying on VMware Fusion to allow me to write the icon data to my NTFS drives and using a FAT-formatted flash drive as an intermediary between OS X and Vista. I created my icons, applied them to my flash drive, then booted up Vista in Fusion and copied the two files over in a DOS window. They&#8217;re hidden by default, but that shouldn&#8217;t slow you down.</p>
<p>Note that this only affects the icons in OS X &#8211; it will not allow you to customize the boot icons.</p>
<div id="crp_related"><h3>You might also want to read these other posts...</h3><ul><li><a href="http://blog.fosketts.net/2008/08/27/custom-drive-icons-mac-os-x/"  rel="bookmark" class="crp_title">Custom Drive Icons in Mac OS X</a></li><li><a href="http://blog.fosketts.net/2009/08/06/access-ntfs-volumes-mac/"  rel="bookmark" class="crp_title">Access NTFS Volumes On Your Mac</a></li><li><a href="http://blog.fosketts.net/2008/05/27/custom-icons-keep-removable-drives-straight/"  rel="bookmark" class="crp_title">Custom Icons Keep Removable Drives Straight</a></li><li><a href="http://blog.fosketts.net/2010/11/29/write-windows-ntfs-drive-mac-os-106-snow-leopard/"  rel="bookmark" class="crp_title">How To Write To Windows NTFS Drives In Mac OS X 10.6 &#8220;Snow Leopard&#8221;</a></li><li><a href="http://blog.fosketts.net/2009/09/11/bizarre-hfs-tricks-in-mac-os-x-10-6-snow-leopard/"  rel="bookmark" class="crp_title">Bizarre HFS+ Tricks in Mac OS X 10.6 Snow Leopard</a></li></ul></div><script src="http://feeds.feedburner.com/~s/sfoskett?i=http://blog.fosketts.net/2008/09/03/os-x-custom-drive-icons-2-boot-camp-ntfs/" type="text/javascript" charset="utf-8"></script><hr />
<p><small>© sfoskett for <a href="http://blog.fosketts.net">Stephen Foskett, Pack Rat</a>, 2008. |
<a href="http://blog.fosketts.net/2008/09/03/os-x-custom-drive-icons-2-boot-camp-ntfs/">OS X Custom Drive Icons 2: Boot Camp and NTFS</a>
<br/>
This post was categorized as <a href="http://blog.fosketts.net/category/everything/apple/" title="View all posts in Apple" rel="category tag">Apple</a>, <a href="http://blog.fosketts.net/category/everything/virtualstorage/" title="View all posts in Virtual Storage" rel="category tag">Virtual Storage</a>. Each of my categories has its own feed if you'd like to filter out or focus on posts like this.<br/>
</small></p>]]></content:encoded>
			<wfw:commentRss>http://blog.fosketts.net/2008/09/03/os-x-custom-drive-icons-2-boot-camp-ntfs/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Custom Drive Icons in Mac OS X</title>
		<link>http://blog.fosketts.net/2008/08/27/custom-drive-icons-mac-os-x/</link>
		<comments>http://blog.fosketts.net/2008/08/27/custom-drive-icons-mac-os-x/#comments</comments>
		<pubDate>Wed, 27 Aug 2008 15:48:41 +0000</pubDate>
		<dc:creator>Stephen</dc:creator>
				<category><![CDATA[Apple]]></category>
		<category><![CDATA[Terabyte home]]></category>
		<category><![CDATA[droplet]]></category>
		<category><![CDATA[featured]]></category>
		<category><![CDATA[GIMP]]></category>
		<category><![CDATA[icns]]></category>
		<category><![CDATA[icon]]></category>
		<category><![CDATA[IconDroplet]]></category>
		<category><![CDATA[img2icns]]></category>
		<category><![CDATA[OS X]]></category>
		<category><![CDATA[PNG]]></category>
		<category><![CDATA[resource]]></category>

		<guid isPermaLink="false">http://blog.fosketts.net/?p=482</guid>
		<description><![CDATA[Custom drive icons can help you to keep your removable and internal drives straight. It's simple to do in Mac OS X, but illustrates an odd way in which Apple implemented their split resource/data fork filesystem idea in a GUI.]]></description>
			<content:encoded><![CDATA[<div id="attachment_485" class="wp-caption alignright" style="width: 294px;  border: 1px solid #dddddd; background-color: #f3f3f3; padding-top: 4px; margin: 10px; text-align:center; float: right;"><a href="http://blog.fosketts.net/wp-content/uploads/2008/08/picture-23.png" ><img class="size-full wp-image-485 " title="Custom OS X Drive Icons" src="http://blog.fosketts.net/wp-content/uploads/2008/08/picture-23.png" alt="This makes it much easier to understand which drive it which!" width="284" height="207" /></a><p style=' padding: 0 4px 5px; margin: 0;'  class="wp-caption-text">This makes it much easier to see which drive is which!</p></div>
<p>I previously wrote about <a href="http://blog.fosketts.net/2008/05/27/custom-icons-keep-removable-drives-straight/"  target="_self">the benefits of custom drive icons</a>, which can help you to keep your removable and internal drives straight, and how to create them on Windows Vista. Well, Mac OS X surprised me by using the same generic icon for every drive, so I set about figuring out how to customize them here, too.</p>
<p>It turns out it&#8217;s not only simple to do, but illustrates <a href="http://www.kernelthread.com/mac/osx/arch_fs.html"  target="_blank">an odd way</a> in which Apple implemented their split resource/data fork filesystem idea in a GUI. This exercise taught me a lot &#8211; what an ICNS file is, how Apple stores drive icons, what a droplet is, and how to use GIMP on a Mac.</p>
<p>This is part 1 &#8211; where I&#8217;ll go over the basics. <a href="http://blog.fosketts.net/2008/09/03/os-x-custom-drive-icons-2-boot-camp-and-ntfs"  target="_self">Part 2 covers custom Boot Camp drive icons and other troubles</a>.</p>
<p><span id="more-482"></span></p>
<p><blockquote><p>This post is part of my series focused on Apple OS X tips and tricks.</p>

<ul>
		<li><a href="http://blog.fosketts.net/2009/08/06/access-ntfs-volumes-mac/">Access NTFS Volumes On Your Mac</a></li>
		<li><a href="http://blog.fosketts.net/2009/01/19/clean-up-mac-disk-tools/">Clean Up Your Mac! Essential OS X Tidiness Tools and Techniques</a></li>
		<li><a href="http://blog.fosketts.net/2008/07/26/move-os-x-time-machine-backups-new-disk/">How To Move OS X Time Machine Backups To A New Disk</a></li>
		<li><a href="http://blog.fosketts.net/2008/10/23/reduce-file-size-pdf-mac/">Hallelujah! OS X Can Reduce PDF File Size!</a></li>
		<li><a href="http://blog.fosketts.net/2008/10/23/reduce-file-size-pdf-mac/"></a><a href="http://blog.fosketts.net/2008/08/27/custom-drive-icons-mac-os-x/">Custom Drive Icons in Mac OS X</a></li>
		<li><a href="http://blog.fosketts.net/2008/08/27/custom-drive-icons-mac-os-x/"></a><a href="http://blog.fosketts.net/2008/09/03/os-x-custom-drive-icons-2-boot-camp-ntfs/">OS X Custom Drive Icons 2: Boot Camp and NTFS</a></li>
</ul>
</blockquote></p>
<p>OS X is pretty clever and consistent in how it handles drive icons. It simply looks in the <a rel="nofollow" href="http://en.wikipedia.org/wiki/Fork_(filesystem)"  target="_blank">data fork</a> of the .VolumeIcon.icns file in the root of the drive for an icon resource of type <a rel="nofollow" href="http://en.wikipedia.org/wiki/Apple_Icon_Image"  target="_blank">icns</a>, and uses that icon. If it can&#8217;t find such a file, it uses one of default icons, designed to suggest either an internal or external (USB or FireWire) drive.</p>
<div id="attachment_486" class="wp-caption alignright" style="width: 110px;  border: 1px solid #dddddd; background-color: #f3f3f3; padding-top: 4px; margin: 10px; text-align:center; float: right;"><a href="http://blog.fosketts.net/wp-content/uploads/2008/08/picture-20.png" ><img class="size-full wp-image-486 " title="Default OS X Internal Drive Icon" src="http://blog.fosketts.net/wp-content/uploads/2008/08/picture-20.png" alt="The default icon for an internal disk drive in OS X isn't exactly clean and friendly" width="100" height="112" /></a><p style=' padding: 0 4px 5px; margin: 0;'  class="wp-caption-text">The default icon for an internal disk drive in OS X is not exactly friendly</p></div>
<p>As a new Mac user, I was surprised at the unfriendly look of the default icons. While external drives get a decidedly iPod-generic white shell, internal disks look like, well, bare disk drives. Which is something most Mac users will never see, since most <a href="blog.fosketts.net/2008/06/25/upgraded-320-gb-in-a-macbook-pro/" target="_self">Macs are locked down tight</a>. I expected a Finder-esque smiley face or an image of the machine itself.</p>
<p><strong>Creating an Icon</strong></p>
<p>So let&#8217;s create an icon! For my example, I&#8217;m assigning a custom icon to a <a href="http://www.pqi.com.tw/product2.asp?oid=17&amp;catE1=17&amp;PROID=53"  target="_blank">PQI Intelligent Stick mini USB flash drive</a>. If you already have the icon image, you can skip ahead. Otherwise, read on to learn how to create a drive icon.</p>
<ol>
<li>Locate a good picture of the drive. I went to PQI&#8217;s web site and downloaded their publicity image.</li>
<li>Now we&#8217;re going to clean up the image. I used <a rel="nofollow" href="http://darwingimp.sourceforge.net/"  target="_blank">Wilber Loves Apple&#8217;s version of GIMP</a> (<a href="http://blogs.oreilly.com/digitalmedia/2008/08/are-big-name-open-source-proje.html"  target="_blank">the best GIMP I could find</a>)</li>
<li>In GIMP, I added an alpha channel (for transparency), and then used the magic wand (with feathered <span style="text-decoration: line-through;">hair</span> edges) to kill the white background.</li>
<div id="attachment_487" class="wp-caption aligncenter" style="width: 310px;  border: 1px solid #dddddd; background-color: #f3f3f3; padding-top: 4px; margin: 10px; text-align:center; display: block; margin-right: auto; margin-left: auto;"><a href="http://blog.fosketts.net/wp-content/uploads/2008/08/picture-14.png" ><img class="size-medium wp-image-487" title="Editing In GIMP" src="http://blog.fosketts.net/wp-content/uploads/2008/08/picture-14-300x199.png" alt="I added an alpha channel and removed the background in GIMP" width="300" height="199" /></a><p style=' padding: 0 4px 5px; margin: 0;'  class="wp-caption-text">I added an alpha channel and removed the background in GIMP</p></div>
<li>I then saved it to the desktop as a PNG file.</li>
<li>Next, I converted the PNG into an icns using <a href="http://www.shinyfrog.net/en/software/img2icns/"  target="_blank">img2icns</a></li>
<div id="attachment_488" class="wp-caption aligncenter" style="width: 388px;  border: 1px solid #dddddd; background-color: #f3f3f3; padding-top: 4px; margin: 10px; text-align:center; display: block; margin-right: auto; margin-left: auto;"><a href="http://blog.fosketts.net/wp-content/uploads/2008/08/picture-8.png" ><img class="size-full wp-image-488" title="img2icns" src="http://blog.fosketts.net/wp-content/uploads/2008/08/picture-8.png" alt="img2icns converts PNG files to icns format" width="378" height="264" /></a><p style=' padding: 0 4px 5px; margin: 0;'  class="wp-caption-text">img2icns converts PNG files to icns format</p></div>
<li>Finally, to make sure it was the right resource type, I converted the icns file to use itself as its icon using <a rel="nofollow" href="http://web.mac.com/zweigand/zweisoft/zweisoft.html"  target="_blank">IconDroplet</a></li>
<div id="attachment_489" class="wp-caption aligncenter" style="width: 450px;  border: 1px solid #dddddd; background-color: #f3f3f3; padding-top: 4px; margin: 10px; text-align:center; display: block; margin-right: auto; margin-left: auto;"><a href="http://blog.fosketts.net/wp-content/uploads/2008/08/picture-12.png" ><img class="size-full wp-image-489" title="IconDroplet" src="http://blog.fosketts.net/wp-content/uploads/2008/08/picture-12.png" alt="IconDroplet simply makes an icns into a droplet of itself" width="440" height="209" /></a><p style=' padding: 0 4px 5px; margin: 0;'  class="wp-caption-text">IconDroplet simply makes an icns into a icon of itself</p></div>
<li>Now I had a perfectly-formed icns resource, ready for use!</li>
</ol>
<p>[ad#banner]</p>
<p><strong>Assigning the Drive Icon</strong></p>
<p>Now we can assign the drive icon to the drive. Note that the drive has to be writable for this to work, which generally means it has to be HFS+ or FAT. I&#8217;ll cover adding icons to NTFS and Boot Camp drives later.</p>
<ol>
<li>Right click on your drive and select &#8220;Get Info&#8221;</li>
<li>Leave that inspector up and right-click the icon file from IconDroplet and select &#8220;Get Info&#8221;</li>
<div id="attachment_490" class="wp-caption aligncenter" style="width: 310px;  border: 1px solid #dddddd; background-color: #f3f3f3; padding-top: 4px; margin: 10px; text-align:center; display: block; margin-right: auto; margin-left: auto;"><a href="http://blog.fosketts.net/wp-content/uploads/2008/08/picture-17.png" ><img class="size-medium wp-image-490" title="Before moving the icns" src="http://blog.fosketts.net/wp-content/uploads/2008/08/picture-17-300x126.png" alt="We will copy and paste the icns resource using these inspectors" width="300" height="126" /></a><p style=' padding: 0 4px 5px; margin: 0;'  class="wp-caption-text">We will copy and paste the icns resource using these inspectors</p></div>
<li>Now we will just move the icns resource from one to the other. Select the desired icon in the upper left corner (not the Preview down below) so it has the blue fuzzies around it and use command-c to copy it.</li>
<li>Now select the one you wish to replace in the other inspector (check for the fuzzies again) and use command-v to paste.</li>
<div id="attachment_491" class="wp-caption aligncenter" style="width: 310px;  border: 1px solid #dddddd; background-color: #f3f3f3; padding-top: 4px; margin: 10px; text-align:center; display: block; margin-right: auto; margin-left: auto;"><a href="http://blog.fosketts.net/wp-content/uploads/2008/08/picture-18.png" ><img class="size-medium wp-image-491" title="After copying the drive icns" src="http://blog.fosketts.net/wp-content/uploads/2008/08/picture-18-300x122.png" alt="Now the drive has the new icon assigned" width="300" height="122" /></a><p style=' padding: 0 4px 5px; margin: 0;'  class="wp-caption-text">Now the drive has the new icon assigned</p></div>
<li>If all went well, you should now have a custom drive icon installed!</li>
</ol>
<p>So there you have it. You should be able to use this method to assign custom drive icons all day long, <a href="http://blog.fosketts.net/2008/09/03/os-x-custom-drive-icons-2-boot-camp-and-ntfs"  target="_self">as long as the media is writable</a>. I was amused at how Apple uses the inspector windows to assign icons &#8211; where Windows would have some buttons to click, OS X is drag and drop. It may be intuitive, but it&#8217;s certainly not obvious &#8211; even Apple has to have <a rel="nofollow" href="http://support.apple.com/kb/HT2493?viewlocale=en_US"  target="_blank">a document describing the process</a>!</p>
<p>[ad#banner]</p>
<div id="crp_related"><h3>You might also want to read these other posts...</h3><ul><li><a href="http://blog.fosketts.net/2008/09/03/os-x-custom-drive-icons-2-boot-camp-ntfs/"  rel="bookmark" class="crp_title">OS X Custom Drive Icons 2: Boot Camp and NTFS</a></li><li><a href="http://blog.fosketts.net/2008/05/27/custom-icons-keep-removable-drives-straight/"  rel="bookmark" class="crp_title">Custom Icons Keep Removable Drives Straight</a></li><li><a href="http://blog.fosketts.net/2009/08/06/access-ntfs-volumes-mac/"  rel="bookmark" class="crp_title">Access NTFS Volumes On Your Mac</a></li><li><a href="http://blog.fosketts.net/2008/07/26/move-os-x-time-machine-backups-new-disk/"  rel="bookmark" class="crp_title">How To Move OS X Time Machine Backups To A New Disk</a></li><li><a href="http://blog.fosketts.net/2008/08/14/vista-os-x-boot-time-compared/"  rel="bookmark" class="crp_title">Vista, OS X Boot Time Compared</a></li></ul></div><script src="http://feeds.feedburner.com/~s/sfoskett?i=http://blog.fosketts.net/2008/08/27/custom-drive-icons-mac-os-x/" type="text/javascript" charset="utf-8"></script><hr />
<p><small>© sfoskett for <a href="http://blog.fosketts.net">Stephen Foskett, Pack Rat</a>, 2008. |
<a href="http://blog.fosketts.net/2008/08/27/custom-drive-icons-mac-os-x/">Custom Drive Icons in Mac OS X</a>
<br/>
This post was categorized as <a href="http://blog.fosketts.net/category/everything/apple/" title="View all posts in Apple" rel="category tag">Apple</a>, <a href="http://blog.fosketts.net/category/everything/terabytehome/" title="View all posts in Terabyte home" rel="category tag">Terabyte home</a>. Each of my categories has its own feed if you'd like to filter out or focus on posts like this.<br/>
</small></p>]]></content:encoded>
			<wfw:commentRss>http://blog.fosketts.net/2008/08/27/custom-drive-icons-mac-os-x/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Custom Icons Keep Removable Drives Straight</title>
		<link>http://blog.fosketts.net/2008/05/27/custom-icons-keep-removable-drives-straight/</link>
		<comments>http://blog.fosketts.net/2008/05/27/custom-icons-keep-removable-drives-straight/#comments</comments>
		<pubDate>Wed, 28 May 2008 00:30:10 +0000</pubDate>
		<dc:creator>Stephen</dc:creator>
				<category><![CDATA[Personal]]></category>
		<category><![CDATA[Terabyte home]]></category>
		<category><![CDATA[autorun.inf]]></category>
		<category><![CDATA[disk drive]]></category>
		<category><![CDATA[disk drives]]></category>
		<category><![CDATA[e-SATA]]></category>
		<category><![CDATA[FireWire]]></category>
		<category><![CDATA[icon]]></category>
		<category><![CDATA[Icon Sushi]]></category>
		<category><![CDATA[IEEE 1394]]></category>
		<category><![CDATA[tech tips]]></category>
		<category><![CDATA[USB]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[Windows Vista]]></category>
		<category><![CDATA[Windows XP]]></category>

		<guid isPermaLink="false">http://blog.fosketts.net/?p=174</guid>
		<description><![CDATA[Update: I have created another page for custom drive icons in Mac OS X If you&#8217;re like most people, you have accumulated a large number of removable USB storage devices over the years, from flash-based thumb drives to external hard disks.  I have seven of these things sitting on my desk or in by laptop [...]]]></description>
			<content:encoded><![CDATA[<p style="padding-left: 30px;"><strong>Update: </strong>I have created another page for <a href="http://blog.fosketts.net/2008/08/27/custom-drive-icons-in-mac-os-x/"  target="_self">custom drive icons in Mac OS X</a></p>
<p>If you&#8217;re like most people, you have accumulated a large number of removable USB storage devices over the years, from flash-based thumb drives to external hard disks.  I have seven of these things sitting on my desk or in by laptop bag right now!  But Windows XP and Vista uses the same icon for all of them, adding a few seconds of examination every time I try to select one.  Icon confusion can cause problems too, like the time I accidentally saved a presentation to my big desktop backup drive instead of the thumb drive I headed out of the office with!</p>
<p style="text-align: center;"><a href="http://blog.fosketts.net/wp-content/uploads/2008/05/no-drive-icons.png" ><img style=' display: block; margin-right: auto; margin-left: auto;'  class="size-medium wp-image-180 aligncenter" title="no-drive-icons" src="http://blog.fosketts.net/wp-content/uploads/2008/05/no-drive-icons-300x195.png" alt="Ugly - no drive icons" width="300" height="195" /></a></p>
<p style="text-align: center;"><strong><em>Before:</em></strong><em> Everything looks like a generic external book type thing.</em></p>
<p>But I&#8217;ve stumbled on a great method to create easy to locate the right drive using free software and the power of Google.  I create a custom drive icon that looks like the physical drive in Windows, so I can see which is which at a glance.  Here&#8217;s how!</p>
<p style="text-align: center;"><a href="http://blog.fosketts.net/wp-content/uploads/2008/05/drive-icons.png" ><img style=' display: block; margin-right: auto; margin-left: auto;'  class="size-medium wp-image-179 aligncenter" title="drive-icons" src="http://blog.fosketts.net/wp-content/uploads/2008/05/drive-icons-300x195.png" alt="An (over)abundance of beautiful drive icons" width="300" height="195" /></a></p>
<p style="text-align: center;"><strong><em>After:</em></strong><em> Aah, now I can see which removable drive is which.  Shame about that iPhone icon, though&#8230;</em></p>
<p><span id="more-174"></span></p>
<ol>
<li>Install a copy of <a href="http://www.towofu.net/soft/e-aicon.php"  target="_blank">Icon Sushi</a>, a small, free icon editing application.</li>
<li>Locate a nice image of your drive and save it to your Pictures folder.  I use <a rel="nofollow" href="http://images.google.com"  target="_blank">Google&#8217;s image search</a> function and key in the brand name for the drive in question.  I&#8217;ve usually been able to locate a good white-background oblique shot in no time &#8211; the manufacturer or a reseller like Amazon.com or Buy.com often has just the right picture.</li>
<li>Convert the picture to a <a rel="nofollow" href="http://en.wikipedia.org/wiki/Portable_Network_Graphics"  target="_blank">PNG</a> file using the built-in Microsoft Paint program.  Open it in mspaint and immediately select &#8220;File&#8221;, &#8220;Save As&#8230;&#8221;, drop down the list and select &#8220;PNG (*.png)&#8221; as the type, and click &#8220;OK&#8221;.<a href="http://blog.fosketts.net/wp-content/uploads/2008/05/mspaint-drive.png" ></a></li>
<p style="text-align: center;"><img class="size-thumbnail wp-image-175 aligncenter" style="vertical-align: top;;  display: block; margin-right: auto; margin-left: auto;" title="Saving a drive icon in MS Paint" src="http://blog.fosketts.net/wp-content/uploads/2008/05/mspaint-drive-150x150.png" alt="Save your new image as a PNG file using MS Paint" width="150" height="150" /></p>
<li>Fire up Icon Sushi and open your new PNG file.  The menus are kind of confusing, but follow along here and you&#8217;ll be fine.<a href="http://blog.fosketts.net/wp-content/uploads/2008/05/icon-sushi-1.png" ></a></li>
<p style="text-align: center;"><img class="size-thumbnail wp-image-176" title="icon-sushi-1" src="http://blog.fosketts.net/wp-content/uploads/2008/05/icon-sushi-1-150x150.png" alt="Our drive as it first appears in Icon Sushi" width="150" height="150" /></p>
<li>Make sure the first line on the left (under &#8220;Icon&#8221;) is selected.  Under &#8220;Edit&#8221;, select &#8220;Edit transparency mask&#8221;.</li>
<li>In the &#8220;Edit transparency mask&#8221; window, select the color dropper (third from left) and click the background of the image. This will select most of the background (as seen below) and might even be enough for your image.<a href="http://blog.fosketts.net/wp-content/uploads/2008/05/icon-sushi-2.png" ></a></li>
<p style="text-align: center;"><img class="size-thumbnail wp-image-177" title="icon-sushi-2" src="http://blog.fosketts.net/wp-content/uploads/2008/05/icon-sushi-2-150x150.png" alt="Picking the background color in Icon Sushi" width="150" height="150" /></p>
<li>If your picture is like my example, there are still lots of off-color areas in the transparency mask.  You can get rid of many of these easily by selecting &#8220;Use color picker continuously&#8221; and clicking on each area in turn.  Use the crayon (far left icon) to select individual pixels if you need to.</li>
<li>Once the background is cleaned up to your satisfaction, click &#8220;OK&#8221; to return to the main window.<a href="http://blog.fosketts.net/wp-content/uploads/2008/05/icon-sushi-3.png" ></a></li>
<p style="text-align: center;"><img class="size-thumbnail wp-image-178" title="icon-sushi-3" src="http://blog.fosketts.net/wp-content/uploads/2008/05/icon-sushi-3-150x150.png" alt="Finished creating a beautiful icon in Icon Sushi" width="150" height="150" /></p>
<li>Now we will save the icon to the target drive.  Under &#8220;File&#8221;, select &#8220;Save as Single Icon(s)&#8230;&#8221;  Locate your removable drive (it <em>is</em> connected, right?) under Computer and save the file with a descriptive name.  I like to use the model name, so in my example, I saved it as &#8220;H:\Coolmax CD-311.ico&#8221;.</li>
<li>Now we tell Windows to use this icon for this drive.  Fire up Notepad and enter the following text, substituting your own drive icon name for mine:</li>
<pre style="padding-left: 90px;">[autorun]
icon = .\Coolmax CD-311.ico</pre>
<li>Save this as &#8220;autorun.inf&#8221; <em>in the root directory of the removable drive</em>.  In my example, this would be &#8220;H:\autorun.inf&#8221;.  If there&#8217;s already an autorun.inf on the drive, take a look at it and see if you can add the &#8220;icon&#8221; line to it.</li>
<li>Now eject the drive and re-insert it.  You should see your new icon in &#8220;My Computer&#8221; &#8211; much better, don&#8217;t you think?</li>
</ol>
<p>I&#8217;ve had great luck using this with thumb drives, memory cards, and removable hard disks.  But it doesn&#8217;t work with iPods, digital cameras, and other such things that show up with bogus icons.  I&#8217;d love a suggestion if you know how to modify these!</p>
<p>Also, note that the icon goes with the drive.  If you&#8217;re a psycho like me that swaps bare disk drives in and out of an enclosure, you might want to use an icon that identifies the drive.  I&#8217;ve added a big numeral for the capacity on top of the enclosure image for my bare drives.</p>
<p>Finally, don&#8217;t buy that Coolmax CD-311 USB/FireWire/e-SATA enclosure I used in my example.  The FireWire is flaky.  It&#8217;s going back to Fry&#8217;s!</p>
<div id="crp_related"><h3>You might also want to read these other posts...</h3><ul><li><a href="http://blog.fosketts.net/2008/08/27/custom-drive-icons-mac-os-x/"  rel="bookmark" class="crp_title">Custom Drive Icons in Mac OS X</a></li><li><a href="http://blog.fosketts.net/2008/09/03/os-x-custom-drive-icons-2-boot-camp-ntfs/"  rel="bookmark" class="crp_title">OS X Custom Drive Icons 2: Boot Camp and NTFS</a></li><li><a href="http://blog.fosketts.net/2009/08/06/access-ntfs-volumes-mac/"  rel="bookmark" class="crp_title">Access NTFS Volumes On Your Mac</a></li><li><a href="http://blog.fosketts.net/2008/07/25/quick-and-easy-bluetooth-sharing-between-pc-and-mac/"  rel="bookmark" class="crp_title">Quick and Easy Bluetooth Sharing Between PC and Mac</a></li><li><a href="http://blog.fosketts.net/2011/11/16/upgrade-music-library-itunes-match/"  rel="bookmark" class="crp_title">How to Legitimize and Upgrade Your Music Library Using iTunes Match</a></li></ul></div><script src="http://feeds.feedburner.com/~s/sfoskett?i=http://blog.fosketts.net/2008/05/27/custom-icons-keep-removable-drives-straight/" type="text/javascript" charset="utf-8"></script><hr />
<p><small>© sfoskett for <a href="http://blog.fosketts.net">Stephen Foskett, Pack Rat</a>, 2008. |
<a href="http://blog.fosketts.net/2008/05/27/custom-icons-keep-removable-drives-straight/">Custom Icons Keep Removable Drives Straight</a>
<br/>
This post was categorized as <a href="http://blog.fosketts.net/category/everything/personal/" title="View all posts in Personal" rel="category tag">Personal</a>, <a href="http://blog.fosketts.net/category/everything/terabytehome/" title="View all posts in Terabyte home" rel="category tag">Terabyte home</a>. Each of my categories has its own feed if you'd like to filter out or focus on posts like this.<br/>
</small></p>]]></content:encoded>
			<wfw:commentRss>http://blog.fosketts.net/2008/05/27/custom-icons-keep-removable-drives-straight/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>

