<?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>plasmid.co.uk</title>
	<atom:link href="http://plasmid.co.uk/feed/" rel="self" type="application/rss+xml" />
	<link>http://plasmid.co.uk</link>
	<description>because life is faster in reverse ...</description>
	<lastBuildDate>Thu, 20 May 2010 23:07:11 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<image>
  <link>http://plasmid.co.uk</link>
  <url>http://plasmid.co.uk/wp/favicon.ico</url>
  <title>plasmid.co.uk</title>
</image>
		<item>
		<title>Windows Search Hang</title>
		<link>http://plasmid.co.uk/2010/05/19/windows-search-hang/</link>
		<comments>http://plasmid.co.uk/2010/05/19/windows-search-hang/#comments</comments>
		<pubDate>Wed, 19 May 2010 12:05:01 +0000</pubDate>
		<dc:creator>plasmid</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Freeze]]></category>
		<category><![CDATA[Hang]]></category>
		<category><![CDATA[Process Monitor]]></category>
		<category><![CDATA[Search]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://plasmid.co.uk/?p=221</guid>
		<description><![CDATA[I recently found my Windows Search functionality just stopped dead in its tracks. I'm still investigating the exact cause of this (haven't ruled out malware just yet) but it would appear this is a problem with the Windows Search registry entries.
Symptoms:
Opening Windows Search, clicking "Search now" and the explorer process hangs / freezes.
Fix: (queue eyebrow-raising [...]]]></description>
			<content:encoded><![CDATA[<p>I recently found my Windows Search functionality just stopped dead in its tracks. I'm still investigating the exact cause of this (haven't ruled out malware just yet) but it would appear this is a problem with the Windows Search registry entries.</p>
<p><strong>Symptoms:</strong><br />
Opening Windows Search, clicking "Search now" and the explorer process hangs / freezes.</p>
<p><strong>Fix:</strong> (queue eyebrow-raising solution)<br />
If you download <a href="http://technet.microsoft.com/en-us/sysinternals/bb896645.aspx">ProcMon</a> and filter for explorer.exe, you'll see it is trying to open the same file again and again. For me, this was a zip file containing icons for a web project I'm working on.</p>
<p>To make the search feature work again, rename the file it is getting stuck on and restart explorer. You should find everything is operational.</p>
<p>If anything is unclear and you think this problem might be affecting you, leave a comment and I'll have a look.</p>
]]></content:encoded>
			<wfw:commentRss>http://plasmid.co.uk/2010/05/19/windows-search-hang/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Emulating *nix Shell with Windows Command Prompt</title>
		<link>http://plasmid.co.uk/2009/12/03/emulating-nix-shell-with-windows-command-prompt/</link>
		<comments>http://plasmid.co.uk/2009/12/03/emulating-nix-shell-with-windows-command-prompt/#comments</comments>
		<pubDate>Thu, 03 Dec 2009 23:04:36 +0000</pubDate>
		<dc:creator>plasmid</dc:creator>
				<category><![CDATA[Hacks]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[auto-complete]]></category>
		<category><![CDATA[autorun]]></category>
		<category><![CDATA[cmd]]></category>
		<category><![CDATA[CoreUtils]]></category>
		<category><![CDATA[doskey]]></category>
		<category><![CDATA[GnuWin32]]></category>
		<category><![CDATA[nix]]></category>
		<category><![CDATA[shell]]></category>

		<guid isPermaLink="false">http://plasmid.co.uk/?p=202</guid>
		<description><![CDATA[Ever tried to ls or rm under Windows?
With just a few minor adjustments the Windows Command Prompt (cmd.exe) can emulate the behaviour of your favourite *nix shell. Please note, this isn't a full emulation method - the existing Windows commands are being manipulated to appear as their *nix shell counterparts.
Note: This is for systems where [...]]]></description>
			<content:encoded><![CDATA[<p>Ever tried to <strong>ls</strong> or <strong>rm</strong> under Windows?</p>
<p>With just a few minor adjustments the Windows Command Prompt (cmd.exe) can emulate the behaviour of your favourite *nix shell. Please note, this isn't a full emulation method - the existing Windows commands are being manipulated to appear as their *nix shell counterparts.</p>
<p><ins datetime="2010-05-20T23:02:03+00:00">Note: This is for systems where unauthorized software is not permitted. If you administrate your own system, I highly recommend checking the <a href="http://gnuwin32.sourceforge.net/">GnuWin32</a>, in particular the <a href="http://gnuwin32.sourceforge.net/packages/coreutils.htm">CoreUtils package</a>.</ins><br />
<span id="more-202"></span><br />
<strong>Background</strong></p>
<p>This method involves simple implementation of the <a href="http://en.wikipedia.org/wiki/DOSKey">doskey macro utility</a>. For convenience, a Windows batch file (*.bat) will be used to wrap calls to doskey. Some small adjustments to the registry are necessary, so it is <strong>strongly advised that the registry is backed up</strong> before reading further.</p>
<p><strong>Create a Command List Batch File</strong></p>
<ol>
<li>Open a text editor of your choice (e.g. notepad).</li>
<li>The following are some examples of how to add a *nix command, with the Windows Command Prompt equivalent:<br />
<code>@ECHO OFF<br />
doskey sudo=runas /user:administrator $*<br />
doskey alias=doskey $*<br />
doskey ls=dir $*<br />
doskey rm=del $*<br />
doskey cp=copy $*<br />
doskey mv=move $*<br />
doskey clear=cls<br />
doskey reboot=echo The system is going down for reboot NOW!$T shutdown -r<br />
doskey restart=reboot<br />
doskey top=tasklist<br />
doskey traceroute=tracert $*<br />
doskey kill=taskkill /F /IM $*<br />
echo [%USERNAME%@%COMPUTERNAME%]$ *nix commands added<br />
</code></li>
<li>Save as a batch file somewhere on your system, <strong>e.g. C:\nix-cmd.bat</strong></li>
</ol>
<p>Please note: Not all commands will behave exactly like their counterpart, however these are some examples from my batch file.</p>
<p><strong>Enabling Batch File and Tab-key Auto-complete</strong></p>
<ol>
<li>Start->Run->regedit</li>
<li>To add auto-complete for...<br />
		... <strong>just your username</strong>:<br /><em>HKEY_CURRENT_USER\Software\Microsoft\Command Processor</em><br />
		... <strong>all system users</strong>:<br /><em>HKEY_LOCAL_MACHINE\Software\Microsoft\Command Processor</em>
	</li>
<li>Modify the key entries to reflect your system settings, although they should appear somewhat similar to the below:<br />
<div id="attachment_211" class="wp-caption aligncenter" style="width: 310px"><a href="http://plasmid.co.uk/wp/wp-content/uploads/2009/12/nix-cmd_registry.png"><img src="http://plasmid.co.uk/wp/wp-content/uploads/2009/12/nix-cmd_registry-300x71.png" alt="*nix cmd registry screen capture" title="nix-cmd_registry" width="300" height="71" class="size-medium wp-image-211" /></a><p class="wp-caption-text">*nix cmd registry screen capture</p></div></li>
</ol>
<p>If you want to use a different key for auto-complete (i.e. not tab), then change the CompletionChar and PathCompletionChar values to the desired hexadecimal character code.</p>
<p><strong>Footnote</strong></p>
<p>That is all there is to it! I mostly make do with the commands above - its just a nice little tweak to make the command prompt a bit more usable.</p>
]]></content:encoded>
			<wfw:commentRss>http://plasmid.co.uk/2009/12/03/emulating-nix-shell-with-windows-command-prompt/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Beware XAMPP meddling with your Environment Variables!</title>
		<link>http://plasmid.co.uk/2009/11/11/beware-xampp-meddling-with-your-environment-variables/</link>
		<comments>http://plasmid.co.uk/2009/11/11/beware-xampp-meddling-with-your-environment-variables/#comments</comments>
		<pubDate>Wed, 11 Nov 2009 03:25:41 +0000</pubDate>
		<dc:creator>plasmid</dc:creator>
				<category><![CDATA[Commentary]]></category>
		<category><![CDATA[Environment Variables]]></category>
		<category><![CDATA[PATH]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[XAMPP]]></category>

		<guid isPermaLink="false">http://plasmid.co.uk/?p=197</guid>
		<description><![CDATA[I decided to grab a copy of the official release of PHP 5.3.0 for XAMPP and try it out (replacing my hacked version in an effort to resolve some database compatibility issues).
Unfortunately, this proved to be a BIG MISTAKE!
Moments after installing the software, all my new shell windows reported that mkdir, doskey, ipconfig and even [...]]]></description>
			<content:encoded><![CDATA[<p>I decided to grab a copy of the official release of PHP 5.3.0 for XAMPP and try it out (replacing <a href="http://plasmid.co.uk/2009/05/23/installing-php-530rc2-for-xampp-windows/">my hacked version</a> in an effort to resolve some database compatibility issues).</p>
<p>Unfortunately, this proved to be a <strong>BIG MISTAKE</strong>!</p>
<p>Moments after installing the software, all my new shell windows reported that <strong>mkdir</strong>, <strong>doskey</strong>, <strong>ipconfig</strong> and even <strong>HELP</strong> are 'unrecognized' - so began my hour-long search for a resolution to the amnesia that had suddenly afflicted the command-line.</p>
<p>The problem turned out to be two-fold:</p>
<ol>
<li>It would seem the installation script (<strong>setup_xampp.bat</strong>) or shell script (<strong>xampp_shell.bat</strong>) had a misunderstanding with some of my custom command-line settings. In fact, it decided my <strong>PATH</strong> environment variable wasn't up to scratch... so it erased it! This meant that the command-line had no idea where to look for system apps. and as result shut-down a large portion of my system utilities.</li>
<li>In addition to the above, the script added to my default shell script (HKEY_USERS\...\Software\Microsoft\Command Processor\AutoRun) a small 'set PATH=' command that each time it was run added the XAMPP directory to PATH and then deformed it with an increasingly long string of semi-colons.</li>
</ol>
<p>Needless to say, I'm somewhat annoyed that there is no visible warning during installation that it could potentially FUBAR your environment variables. I hope this provides some insight for people who might be experiencing a similar problem.</p>
]]></content:encoded>
			<wfw:commentRss>http://plasmid.co.uk/2009/11/11/beware-xampp-meddling-with-your-environment-variables/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Installing PHP 5.3.0rc2 for XAMPP (Windows)</title>
		<link>http://plasmid.co.uk/2009/05/23/installing-php-530rc2-for-xampp-windows/</link>
		<comments>http://plasmid.co.uk/2009/05/23/installing-php-530rc2-for-xampp-windows/#comments</comments>
		<pubDate>Sat, 23 May 2009 23:06:26 +0000</pubDate>
		<dc:creator>plasmid</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[PHP 5.3.0rc2]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[XAMPP]]></category>

		<guid isPermaLink="false">http://plasmid.co.uk/?p=142</guid>
		<description><![CDATA[Having been unable to find a definitive guide to upgrading the XAMPP PHP version to PHP 5.3.0rc2, I decided to improvise on a guide for installing the PHP 5.3 alpha.
My guide will describe how to upgrade the current XAMPP PHP version to the second release candidate of version 5.3. It is expected that this method [...]]]></description>
			<content:encoded><![CDATA[<p>Having been unable to find a definitive guide to upgrading the XAMPP PHP version to PHP 5.3.0rc2, I decided to improvise on <a href="http://forge.typo3.org/wiki/flow3-overview/PHP_53alpha_installation_on_Windows_(xampp)">a guide for installing the PHP 5.3 alpha</a>.</p>
<p>My guide will describe how to upgrade the current XAMPP PHP version to the second release candidate of version 5.3. It is expected that this method will also work for the <strong>third release candidate</strong> when it is released later this month.<br />
<span id="more-142"></span><br />
<strong>Step 1: Make backups</strong></p>
<p>Before starting, make sure to backup any settings, custom modules and most importantly the <strong>htdocs directory</strong>, which contains your scripts and page resources. This directory is normally located at <em>C:\xampp\htdocs\</em></p>
<p><strong>Step 2: Preparation</strong></p>
<ol>
<li><a href="http://windows.php.net/downloads/qa/php-5.3.0RC2-Win32-VC6-x86.zip">Download PHP 5.3.0rc2</a>. I use the VC6 build in order to minimise any potential compatibility issues.</li>
<li>It is also recommended that you download the <a href="http://www.apachefriends.org/en/xampp-windows.html">latest Windows version of XAMPP</a>. While this is an upgrade guide that <em>should</em> work with previous versions of XAMPP, it is recommended that a fresh copy of the core files is used.</li>
<li>Stop any instances of the Apache service that might be running.</li>
</ol>
<p><strong>Step 3: The upgrade</strong></p>
<p>This guide will assume your XAMPP directory is <em>C:\xampp\</em></p>
<ol>
<li>Extract the XAMPP archive to a directory of your choosing, I would recommend using the default <em>C:\xampp\</em></li>
<li>Extract the contents of the PHP archive to <em>C:\xampp\php\</em>, overwriting the contents of this directory with the new files.</li>
<li>Open the file <em>C:\xampp\apache\conf\extra\httpd-xampp.conf</em> and ensure the following lines are present in this order:
<pre>LoadFile "/xampp/php/php5ts.dll"
LoadModule php5_module "/xampp/apache/bin/php5apache2_2.dll"</pre>
</li>
<li>Replace <em>C:\xampp\php\php.ini</em> with <em>C:\xampp\php\php.ini-dist</em><br />
Uncomment the lines:</p>
<pre>;extension=php_mbstring.dll
;extension=php_pdo_sqlite.dll</pre>
<p>Replace the line
<pre>magic_quotes_gpc = On</pre>
<p> with
<pre>magic_quotes_gpc = Off</pre>
</li>
<li>Copy all files in the <em>C:\xampp\php\</em> to <em>C:\xampp\apache\bin\</em> (<strong>do not</strong> copy the subdirectories or their contents).</li>
</ol>
<p>After following the above steps, restart your Apache service (this can be done using <em>C:\xampp\xampp-control.exe</em> or manually through the control panel/command prompt). Your PHPinfo should indicate that the upgrade has been successful.</p>
<p>I will update this post if I discover any problems from using this method, or a cleaner (automated) means of performing the upgrade.</p>
]]></content:encoded>
			<wfw:commentRss>http://plasmid.co.uk/2009/05/23/installing-php-530rc2-for-xampp-windows/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Dissertation time! (fun with LaTeX)</title>
		<link>http://plasmid.co.uk/2009/03/26/dissertation-time-fun-with-latex/</link>
		<comments>http://plasmid.co.uk/2009/03/26/dissertation-time-fun-with-latex/#comments</comments>
		<pubDate>Thu, 26 Mar 2009 16:56:56 +0000</pubDate>
		<dc:creator>plasmid</dc:creator>
				<category><![CDATA[Downloads]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[exams]]></category>
		<category><![CDATA[LaTeX]]></category>
		<category><![CDATA[MiKTeX]]></category>
		<category><![CDATA[update]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://plasmid.co.uk/?p=126</guid>
		<description><![CDATA[UPDATE: Improved the batch file significantly. Enjoy!
I'm moving into exam / dissertation territory now. My updates probably won't be too frequent until they're finished in May. Recently I've started using LaTeX (or to be more exact, MiKTeX, since I'm a Windows user) and have found it to be most useful as a complete replacement for [...]]]></description>
			<content:encoded><![CDATA[<p><ins datetime="2009-04-24T20:03:47+00:00"><strong>UPDATE: Improved the batch file significantly. Enjoy!</strong></ins></p>
<p>I'm moving into exam / dissertation territory now. My updates probably won't be too frequent until they're finished in May. Recently I've started using <a href="http://en.wikipedia.org/wiki/LaTeX">LaTeX</a> (or to be more exact, <a href="http://miktex.org/">MiKTeX</a>, since I'm a Windows user) and have found it to be most useful as a complete replacement for writing scientific reports using Word.</p>
<p>To simplify the process of compiling a pdf using the MiKTeX package, I've written a <a href='http://plasmid.co.uk/wp/wp-content/uploads/2009/03/make.bat'>small batch file</a> that links together all the preparatory processes with ps2pdf. Just download it and then drag and drop the .tex file onto it to get started!</p>
<p><strong>Download make.bat <a href='http://plasmid.co.uk/wp/wp-content/uploads/2009/03/make.bat'>here</a>.</strong></p>
<p>(NOTE - I haven't tested it extensively, so it <strong>may not work as expected</strong> - make backups!)</p>
<p>//-plasm!d-//</p>
]]></content:encoded>
			<wfw:commentRss>http://plasmid.co.uk/2009/03/26/dissertation-time-fun-with-latex/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Belated New Year Greetings!</title>
		<link>http://plasmid.co.uk/2009/01/30/belated-new-year-greetings/</link>
		<comments>http://plasmid.co.uk/2009/01/30/belated-new-year-greetings/#comments</comments>
		<pubDate>Fri, 30 Jan 2009 23:28:22 +0000</pubDate>
		<dc:creator>plasmid</dc:creator>
				<category><![CDATA[News]]></category>
		<category><![CDATA[New Year]]></category>
		<category><![CDATA[update]]></category>

		<guid isPermaLink="false">http://plasmid.co.uk/?p=123</guid>
		<description><![CDATA[After an incredibly busy Christmas period and New Year, I've finally found a spare moment. This is a quick heads up on plans for the the coming year:

Fyrwerks is still in development. Roll on PHP 5.3!
	After a dozen iterations, I couldn't settle on a workflow model that met my expectations. In answer to this, I've [...]]]></description>
			<content:encoded><![CDATA[<p>After an incredibly busy Christmas period and New Year, I've <em>finally</em> found a spare moment. This is a quick heads up on plans for the the coming year:</p>
<ul>
<li><strong>Fyrwerks is still in development. Roll on PHP 5.3!</strong><br />
	After a dozen iterations, I couldn't settle on a workflow model that met my expectations. In answer to this, I've decided to redesign the Fyrwerks concept to match up with the changes we can expect to see in PHP 5.3 - most notably with the addition of <em>Namespace Support</em>.</li>
<li><strong>Web 2.0 Projects</strong><br />
	I've had quite a few ideas brewing for some time - plan is to unleash them later this year and get some <em>community development</em> going.
</li>
<li><strong>New Tools &amp; Services</strong><br />
	Do what they say on the tin! Interested in managing your <em>online resources</em> and <em>traffic</em>? I might have a few toys to keep you ahead of the game ... stay tuned!
</li>
</ul>
<p>... and last but not least ...<br />
<strong>Greetings to all my subscribers and best wishes for 2009 :-)</strong></p>
<p>//-plasm!d-//</p>
]]></content:encoded>
			<wfw:commentRss>http://plasmid.co.uk/2009/01/30/belated-new-year-greetings/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>REVEALED: A next metal gear is &#8230;</title>
		<link>http://plasmid.co.uk/2008/12/06/revealed-a-next-metal-gear-is/</link>
		<comments>http://plasmid.co.uk/2008/12/06/revealed-a-next-metal-gear-is/#comments</comments>
		<pubDate>Sat, 06 Dec 2008 03:51:59 +0000</pubDate>
		<dc:creator>plasmid</dc:creator>
				<category><![CDATA[Commentary]]></category>
		<category><![CDATA[a next metal gear is]]></category>
		<category><![CDATA[answer]]></category>
		<category><![CDATA[metal gear solid]]></category>
		<category><![CDATA[mgs]]></category>
		<category><![CDATA[teaser]]></category>

		<guid isPermaLink="false">http://plasmid.co.uk/?p=111</guid>
		<description><![CDATA[EDIT: Damn you iPhone! :-)


I'm experiencing an 'outside the box' moment. It wouldn't surprise me at all if Kojima intends this image to be shuffled around a bit.
Another possibility: interpret this equation literally ...
i + ! = (!)
i (as in 'I, Hideo Kojima') + NOT (! is a logic symbol) = In Power
Perhaps this is [...]]]></description>
			<content:encoded><![CDATA[<p><ins datetime="2009-06-17T14:25:59+00:00">EDIT: Damn you iPhone! :-)</ins></p>
<p><a href="http://plasmid.co.uk/wp/wp-content/uploads/2008/12/a_next_metal_gear_mgs_teaser.png"><img src="http://plasmid.co.uk/wp/wp-content/uploads/2008/12/a_next_metal_gear_mgs_teaser.png" alt="A next metal gear is ..." title="a_next_metal_gear_mgs_teaser" width="376" height="263" class="size-full wp-image-112" /></a><br />
<br />
I'm experiencing an 'outside the box' moment. It wouldn't surprise me at all if Kojima intends this image to be shuffled around a bit.</p>
<p>Another possibility: <strong>interpret this equation literally</strong> ...</p>
<p><strong>i</strong> + <strong>!</strong> = <strong>(!)</strong><br />
<strong>i</strong> (as in 'I, Hideo Kojima') + <strong>NOT</strong> (! is a logic symbol) = <strong>In Power</strong></p>
<p>Perhaps this is a sign that Hideo is handing over the reigns to someone else? (boo hiss!) In any case, I'm looking forward to seeing the outcome of this interesting teaser!</p>
<p><ins datetime="2008-12-06T03:51:47+00:00">ADD: Try putting the 'power sign' on the top and use the cross as the body. Looks a <em>tiny bit</em> like the cyborg ninja, no?</ins></p>
]]></content:encoded>
			<wfw:commentRss>http://plasmid.co.uk/2008/12/06/revealed-a-next-metal-gear-is/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Repairing broken USB partition tables</title>
		<link>http://plasmid.co.uk/2008/12/04/repairing-broken-usb-partition-tables/</link>
		<comments>http://plasmid.co.uk/2008/12/04/repairing-broken-usb-partition-tables/#comments</comments>
		<pubDate>Thu, 04 Dec 2008 02:47:12 +0000</pubDate>
		<dc:creator>plasmid</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[fix]]></category>
		<category><![CDATA[partition table]]></category>
		<category><![CDATA[USB]]></category>

		<guid isPermaLink="false">http://plasmid.co.uk/?p=101</guid>
		<description><![CDATA[While trying to use my 16GB USB flash drive as a raw-disk for VMware, I managed to corrupt the partition table. This rendered the drive useless for data storage. As none of the information contained on the drive was useful, it seemed that the best solution was a straightforward partition table wipe and rebuild. This [...]]]></description>
			<content:encoded><![CDATA[<p>While trying to use my 16GB USB flash drive as a raw-disk for VMware, I managed to corrupt the partition table. This rendered the drive useless for data storage. As none of the information contained on the drive was useful, it seemed that the best solution was a straightforward partition table wipe and rebuild. This can be difficult on Windows as <strong>Control Panel->Administrative Tools->Disk Management</strong> does not allow the deletion of the primary partition.</p>
<p>Many Googl'd solutions involved rebooting with one repair/installation disk or another, however I've found a quicker way...<br />
<span id="more-101"></span><br />
<strong>The Fix</strong></p>
<ol>
<li>Download <a href="http://www.sysint.no/nedlasting/mbrfix.htm">MbrFix</a>. [<a href="http://www.download.com/MbrFix/3000-2094_4-10485990.html">Working mirror at time of writing.</a>]</li>
<li>Use <code>mbrfix /drive &lt;num&gt; driveinfo</code> to identify the USB flash drive. The <em>&lt;num&gt;</em> refers to the physical identifier. Start at zero and increment until one of them gives a size reading that matches; this is probably the correct drive.</li>
<li>Use <code>mbrfix /drive &lt;num&gt; clean</code> and enter "y" to confirm partition deletion. <strong>WARNING: IF YOU DO THIS, DATA RECOVERY FROM THE DRIVE IS DIFFICULT, BE SURE YOU HAVE CHOSEN THE CORRECT DRIVE!</strong></li>
<li>Go to <strong>Control Panel->Administrative Tools->Disk Management</strong> and right-click on the unallocated space. Select create new partition and fill in the details.</li>
<p>This has reset the drive with a healthy partition, you should find it has regained functionality!</p>
]]></content:encoded>
			<wfw:commentRss>http://plasmid.co.uk/2008/12/04/repairing-broken-usb-partition-tables/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Fyrwerks Update</title>
		<link>http://plasmid.co.uk/2008/12/02/fyrwerks-update/</link>
		<comments>http://plasmid.co.uk/2008/12/02/fyrwerks-update/#comments</comments>
		<pubDate>Tue, 02 Dec 2008 02:06:06 +0000</pubDate>
		<dc:creator>plasmid</dc:creator>
				<category><![CDATA[News]]></category>
		<category><![CDATA[fyrwerks]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://plasmid.co.uk/?p=96</guid>
		<description><![CDATA[This project is still very much in early development. Many alterations and additions have been integrated into the final plans; accommodating these will push back a release until early 2009.
More information will be provided once I've modified the framework core to adopt some of the most important changes. The Fyrwerks development site will be uploaded [...]]]></description>
			<content:encoded><![CDATA[<p>This project is still very much in early development. Many alterations and additions have been integrated into the final plans; accommodating these will push back a release until <strong>early 2009</strong>.</p>
<p>More information will be provided once I've modified the framework core to adopt some of the most important changes. The <a href="http://fyrwerks.com">Fyrwerks development site</a> will be uploaded when I get around to finishing it (I am hoping to use the first developmental release to power it!).</p>
<p>//-plasm!d-//</p>
]]></content:encoded>
			<wfw:commentRss>http://plasmid.co.uk/2008/12/02/fyrwerks-update/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ubuntu broke my MBR!</title>
		<link>http://plasmid.co.uk/2008/10/27/ubuntu-broke-my-mbr/</link>
		<comments>http://plasmid.co.uk/2008/10/27/ubuntu-broke-my-mbr/#comments</comments>
		<pubDate>Mon, 27 Oct 2008 19:24:40 +0000</pubDate>
		<dc:creator>plasmid</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[GRUB]]></category>
		<category><![CDATA[MBR]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://plasmid.co.uk/?p=82</guid>
		<description><![CDATA[When installing Ubuntu on to a USB stick it will overwrite your system disk MBR. This is a significant problem for those with multi-boot or a Windows installation (as the system disk can no longer boot without putting in the USB stick each time!). The following is the account of my little adventure in to [...]]]></description>
			<content:encoded><![CDATA[<p>When installing <abbr title="8.04.1-desktop-i386 in this case">Ubuntu</abbr> on to a USB stick it will overwrite your <strong>system disk MBR</strong>. This is a significant problem for those with multi-boot or a Windows installation (as the system disk can no longer boot without putting in the USB stick each time!). The following is the account of my <em>little adventure</em> in to repairing my laptop disk MBR...<br />
<span id="more-82"></span></p>
<p><ins datetime="2008-10-29T00:04:12+00:00"><em>EDIT: At step 7 of the installation, click on the advanced settings and select the drive on which the boot manager should be installed. This has been verified using Ubuntu 8.10rc1. I don't remember seeing this in the menu of 8.04, maybe they should put something so important in a more prominent place (or I should at least look harder)!</em></ins></p>
<p><strong>The problem</strong></p>
<p>In a nutshell (please forgive the amateur dramatisation):</p>
<ul>
<li>You make the reasonable assumption that: because you're installing Ubuntu to a USB stick and not the system partition, it will put GRUB on to the USB stick so you can boot it as a USB-HDD.</li>
<li>Upon rebooting the system, you find that Ubuntu has <strong>OVERWRITTEN your system disk boot partition</strong> - uh oh! Inexplicably, Ubuntu still installs GRUB to the USB stick, even though it has modified the system MBR. Booting is now impossible without the USB stick plugged in! (oh dear, oh dear!)</li>
<li>After furious searching, you can't find a working XP installation disk so try to use <a href="http://tips.vlaurie.com/2006/05/23/recovery-console-for-those-without-an-xp-disk/">this little guide</a> on downloading the recovery console to rebuild your MBR.</li>
<li>Rebooting once again, you find the recovery console <abbr title="Blue Screen of Death">BSOD</abbr>s before you can even touch the <em>fixmbr</em> command.</li>
<li>Getting desperate now, you Google again for <a href="http://ph.ubuntuforums.com/showthread.php?t=938042">anyone else who might have the same problem</a> but find they're using Vista and this is inapplicable to your situation.</li>
<li>You spend the next hour facepalming until your hand starts to bleed ...</li>
</ul>
<p><strong>The solution</strong> (hurrah!)</p>
<p>Fortunately, Google did come up trumps in the end. A little tool know as <a href="http://www.sysint.no/nedlasting/mbrfix.htm">MbrFix</a> can be run from within Windows to fix the problem and dispose of the broken GRUB once and for all!</p>
<p>If you don't fancy reading through the entire manual, here is my <strong>3-step fix</strong>:</p>
<ol>
<li>Download a copy of MbrFix.exe</li>
<li>Extract it anywhere on your hard disk.</li>
<li>Run the program (as admin) with these parameters:
<p>	<code>MbrFix /drive 0 fixmbr /yes</code></p>
</li>
</ol>
<p>After restarting, your system should boot Windows as normal!</p>
]]></content:encoded>
			<wfw:commentRss>http://plasmid.co.uk/2008/10/27/ubuntu-broke-my-mbr/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

<!-- Dynamic Page Served (once) in 0.257 seconds -->
<!-- Cached page served by WP-Cache -->
