<?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>Dogma &#187; cfadisk</title>
	<atom:link href="http://dogma.swiftspirit.co.za/archives/tag/cfadisk/feed" rel="self" type="application/rss+xml" />
	<link>http://dogma.swiftspirit.co.za</link>
	<description>... brakes for Pretty Rocks</description>
	<lastBuildDate>Thu, 10 Jun 2010 23:05:11 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=abc</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Multiple Partitions on a USB memory stick (in Windows)</title>
		<link>http://dogma.swiftspirit.co.za/archives/518</link>
		<comments>http://dogma.swiftspirit.co.za/archives/518#comments</comments>
		<pubDate>Fri, 11 Sep 2009 02:08:10 +0000</pubDate>
		<dc:creator>Tricky</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[windows]]></category>
		<category><![CDATA[arch]]></category>
		<category><![CDATA[cfadisk]]></category>
		<category><![CDATA[device management]]></category>
		<category><![CDATA[disk management]]></category>
		<category><![CDATA[format]]></category>
		<category><![CDATA[hardware ids]]></category>
		<category><![CDATA[hitachi]]></category>
		<category><![CDATA[microdrive]]></category>
		<category><![CDATA[microsoft]]></category>
		<category><![CDATA[nix]]></category>
		<category><![CDATA[no warranty]]></category>
		<category><![CDATA[partitions]]></category>
		<category><![CDATA[solid-state hard disk]]></category>
		<category><![CDATA[unix]]></category>
		<category><![CDATA[usb]]></category>

		<guid isPermaLink="false">http://dogma.swiftspirit.co.za/?p=518</guid>
		<description><![CDATA[Peace in the land of USB
Under a *nix operating system, having multiple partitions on a USB drive isn&#8217;t rocket science, it just works. In my case, my USB drive has two partitions because the first partition is a bootable Arch Linux installer.
I have Windows on a desktop at home &#8211; mostly for gaming &#8211; and [...]]]></description>
			<content:encoded><![CDATA[<h3>Peace in the land of USB</h3>
<p>Under a <a href="http://en.wikipedia.org/wiki/*NIX">*nix</a> operating system, having multiple partitions on a <a href="http://en.wikipedia.org/wiki/USB_flash_drive">USB drive</a> isn&#8217;t rocket science, it just works. In my case, my USB drive has two partitions because the first partition is a bootable <a href="http://archlinux.org/">Arch Linux</a> installer.</p>
<p>I have <a href="http://www.microsoft.com/windows/">Windows</a> on a desktop at home &#8211; mostly for gaming &#8211; and many of my colleagues use it too. Since Windows doesn&#8217;t do very well with non-Windows partitions I figured I could create a <a href="http://www.testfreaks.com/blog/information/usb-flash-drive-comparison-part-2-fat32-vs-ntfs-vs-exfat/">FAT32</a> partition on the memory stick after the bootable Arch Linux partition. FAT32 is almost ubiquitous and is usable on every common desktop operating system in the world.</p>
<h3>Bleh</h3>
<p>Unfortunately it doesn&#8217;t work straight off the bat. Apparently, <a href="http://www.microsoft.com/">Microsoft</a> in their infinite wisdom decided that memory sticks are supposed to have one (and only one) partition. In reality Windows finds the first partition and then ignores any others that happen to be set up:</p>
<div id="attachment_545" class="wp-caption alignright" style="width: 255px"><img class="size-full wp-image-545 " title="Please Format" src="http://dogma.swiftspirit.co.za/wp-content/uploads/2009/09/usb.error.please.format1.png" alt="Please Format" width="245" height="126" /><p class="wp-caption-text">Err, no, I do not want you to format my Arch Linux installation partition</p></div>
<p>The trick to getting it working is to fool Windows into thinking the device is <strong>not</strong> a regular USB memory stick but perhaps a <a href="http://lenovoblogs.com/insidethebox/?p=96">solid-state hard disk</a> which happens to be connected via USB. Yes I know, this is seriously stupid that Windows behaves this way. A solid-state hard disk is just a whopping big (and fast) memory stick after all!</p>
<p>I found a few sources on how to do this however I still had to figure out some things on my own. Specifically, the guides I found either skipped some steps or didn&#8217;t provide enough information on where to download the driver package.</p>
<p>This procedure involves manually changing hardware drivers and installing &#8220;non-signed&#8221; drivers &#8220;not intended for your hardware&#8221;. I know someone is going to break their system and blame me so I say now that I take no responsibility for any damage you may do to your Windows system as a result of this. Read that again. <img src='http://dogma.swiftspirit.co.za/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> </p>
<h3>Instructions</h3>
<div id="attachment_546" class="wp-caption alignright" style="width: 482px"><a href="http://dogma.swiftspirit.co.za/wp-content/uploads/2009/09/usb.notepad.highlight.png"><img class="size-full wp-image-546 " title="remove the highlighted text" src="http://dogma.swiftspirit.co.za/wp-content/uploads/2009/09/usb.notepad.highlight.png" alt="remove the highlighted text" width="472" height="128" /></a><p class="wp-caption-text">click for larger version</p></div>
<p>Download and unzip the driver, originally created by Hitachi, <a href="http://swiftspirit.co.za/downloads/xpfildrvr1224_320.zip">here</a>. Open the cfadisk.inf file in notepad (or your favourite plaintext editor), and find the section labeled [cfadisk_device]. Remove the section highlighted on the right:</p>
<p>Minimize (don&#8217;t close) the editor and go to your desktop icons &#8211; right-click on My Computer and select P<span style="text-decoration: underline;">r</span>operties. Select the hardware tab and then select [<span style="text-decoration: underline;">D</span>evice Manager]:</p>
<p><img class="aligncenter size-full wp-image-547" title="System Properties" src="http://dogma.swiftspirit.co.za/wp-content/uploads/2009/09/usb.system.properties.png" alt="System Properties" width="419" height="479" /></p>
<p>Find the device under &#8220;Disk drives&#8221;, right-click your memory stick and select P<span style="text-decoration: underline;">r</span>operties:</p>
<p><img class="aligncenter size-full wp-image-548" title="Device Manager" src="http://dogma.swiftspirit.co.za/wp-content/uploads/2009/09/usb.device.manager.png" alt="Device Manager" width="457" height="450" /></p>
<p>Click the Details tab and in the dropdown box on that page, select &#8220;Hardware Ids&#8221;. Click the first line in the list of Hardware IDs and press Ctrl+C to copy the name:</p>
<p><img class="aligncenter size-full wp-image-549" title="USB Hardware Ids" src="http://dogma.swiftspirit.co.za/wp-content/uploads/2009/09/usb.corsair.hardwareids.png" alt="USB Hardware Ids" width="404" height="448" /></p>
<p>Don&#8217;t close this dialog, go back to notepad (which was minimised) and paste the hardware ID into where the previous content was removed.</p>
<p><img class="aligncenter size-full wp-image-550" title="Changes pasted into notepad" src="http://dogma.swiftspirit.co.za/wp-content/uploads/2009/09/usb.notepad.pasted.png" alt="Changes pasted into notepad" width="641" height="48" /></p>
<p>Save the file in notepad and go back to the device&#8217;s property dialog window. Click the &#8220;Driver&#8221; tab and click the [<span style="text-decoration: underline;">U</span>pdate Driver...] button. In the windows that pop up, select &#8220;No, not this <span style="text-decoration: underline;">t</span>ime&#8221;; [<span style="text-decoration: underline;">N</span>ext] -&gt; &#8220;Install from a list or a <span style="text-decoration: underline;">s</span>pecific location (Advanced)&#8221;; [<span style="text-decoration: underline;">N</span>ext] -&gt; &#8220;<span style="text-decoration: underline;">D</span>on&#8217;t search. I will choose the driver to install.&#8221;; [<span style="text-decoration: underline;">N</span>ext] -&gt; [<span style="text-decoration: underline;">H</span>ave Disk...].</p>
<p><img class="size-full wp-image-552 alignright" title="Unsigned Drivers - Click Continue Anyway" src="http://dogma.swiftspirit.co.za/wp-content/uploads/2009/09/usb.hardware.installation.png" alt="Unsigned Drivers - Click Continue Anyway" width="395" height="307" /></p>
<p>Browse to the folder where you have saved the modified cfadisk.inf file. Click [OK]. You will find</p>
<p>there is a Hitachi Microdrive driver listed. Select this and click [<span style="text-decoration: underline;">N</span>ext]. When the warning</p>
<p>appears, click [<span style="text-decoration: underline;">Y</span>es]. Another warning will pop up regarding a similar issue (these are the &#8220;unsigned&#8221; and &#8220;not intended for your hardware&#8221; warnings I mentioned earlier). Click [<span style="text-decoration: underline;">C</span>ontinue Anyway]:</p>
<p>At this point I recommend closing all the dialog boxes related to the setup. Finally, remove and re-insert the memory stick into your USB port and you should find that the extra partitions on the stick are accessible. In the worst-case scenario, you might still need to <a href="http://www.theeldergeek.com/disk_management.htm">partition the disk</a> however the hard part is over. <img src='http://dogma.swiftspirit.co.za/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://dogma.swiftspirit.co.za/archives/518/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
