<?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>Needs More Pop</title>
	<atom:link href="http://www.nowai.org/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.nowai.org</link>
	<description>This is the internet, very serious business.</description>
	<lastBuildDate>Sat, 22 Jan 2011 16:01:55 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>Attempt two</title>
		<link>http://www.nowai.org/2011/01/attempt-two/</link>
		<comments>http://www.nowai.org/2011/01/attempt-two/#comments</comments>
		<pubDate>Sat, 22 Jan 2011 15:47:10 +0000</pubDate>
		<dc:creator>Andrew</dc:creator>
				<category><![CDATA[Blog foo]]></category>
		<category><![CDATA[recaptcha]]></category>

		<guid isPermaLink="false">http://www.nowai.org/?p=46</guid>
		<description><![CDATA[So, ZoomCaptcha didn&#8217;t do anything. Trying reCAPTCHA now. It at least looks a bit fancier, so hopefully it&#8217;ll be more difficult to get through. Also, installed mailhide. Not sure what it acts like, haven&#8217;t actually put any email addresses here. Now to figure out how to import posts from other WordPresses&#8230;]]></description>
			<content:encoded><![CDATA[<p>So, ZoomCaptcha didn&#8217;t do anything. Trying reCAPTCHA now. It at least looks a bit fancier, so hopefully it&#8217;ll be more difficult to get through.</p>
<p>Also, installed mailhide. Not sure what it acts like, haven&#8217;t actually put any email addresses here.</p>
<p>Now to figure out how to import posts from other WordPresses&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.nowai.org/2011/01/attempt-two/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Spam, so much spam</title>
		<link>http://www.nowai.org/2011/01/spam-so-much-spam/</link>
		<comments>http://www.nowai.org/2011/01/spam-so-much-spam/#comments</comments>
		<pubDate>Wed, 19 Jan 2011 21:31:21 +0000</pubDate>
		<dc:creator>Andrew</dc:creator>
				<category><![CDATA[Blog foo]]></category>
		<category><![CDATA[ads]]></category>
		<category><![CDATA[food]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[spam]]></category>
		<category><![CDATA[unix]]></category>

		<guid isPermaLink="false">http://www.nowai.org/?p=43</guid>
		<description><![CDATA[I&#8217;ve decided to pay this blog a bit of attention, after a long gap. First thing I&#8217;ve done? Installed a captcha system on the comment box. I had a nice moderation queue of 177 comments, every single one of them was spam. Lovely. I&#8217;m going to merge this site with my other Linux site. There&#8217;s [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve decided to pay this blog a bit of attention, after a long gap. First thing I&#8217;ve done? Installed a captcha system on the comment box. I had a nice moderation queue of 177 comments, every single one of them was spam. Lovely.</p>
<p>I&#8217;m going to merge this site with my other Linux site. There&#8217;s not much on either of them &#8212; certainly not enough to justify having two separate sites for them. Maybe being all in the one place will make me more likely to post to either of them (aside from anything else, it&#8217;ll mean I won&#8217;t be trying to bend posts to fit the particular site better). This site is likely to become a mix of me talking about real stuff (like computers, or ideas) and meaningless ramblings (like what I cooked for dinner, or how hungry I am&#8230; hmm.. that wasn&#8217;t intended to all be about food&#8230;).</p>
<p>Also, if traffic ever ramps up, I might put some ads on the site. No point in putting them there now though with the 20 hits per month that it&#8217;s currently getting.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.nowai.org/2011/01/spam-so-much-spam/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>What developers think when you say &#8220;rock star&#8221;</title>
		<link>http://www.nowai.org/2010/10/what-developers-think-when-you-say-rock-star/</link>
		<comments>http://www.nowai.org/2010/10/what-developers-think-when-you-say-rock-star/#comments</comments>
		<pubDate>Tue, 05 Oct 2010 09:29:53 +0000</pubDate>
		<dc:creator>Andrew</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[Ruthless capitalism]]></category>
		<category><![CDATA[advertisements]]></category>
		<category><![CDATA[developer]]></category>
		<category><![CDATA[jobs]]></category>
		<category><![CDATA[programmer]]></category>
		<category><![CDATA[rock star]]></category>

		<guid isPermaLink="false">http://www.nowai.org/?p=38</guid>
		<description><![CDATA[This guy at one Hirelite blog made a very good point about those job advertisements you see looking for a &#8220;rock star&#8221; programmer. Same basic principle applies to &#8220;ninja&#8221; coders. Stop it, just please stop it. As well as everything that guy just argued, a &#8220;rock star&#8221; programmer to me means someone who&#8217;ll take horrible [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://blog.hirelite.com/what-developers-think-when-you-say-rock-star">This guy</a> at one Hirelite blog made a very good point about those job advertisements you see looking for a &#8220;rock star&#8221; programmer. Same basic principle applies to &#8220;ninja&#8221; coders.</p>
<p>Stop it, just please stop it. As well as everything that guy just argued, a &#8220;rock star&#8221; programmer to me means someone who&#8217;ll take horrible shortcuts and code nasty hacks into already dodgy systems (if the company is iffy enough to seek out a &#8220;rock star&#8221; programmer, they&#8217;ll be dodgy systems) to meet stupidly short deadlines. While completely disregarding proper planning and teamwork. Sure, they&#8217;ll look amazing to management in the short term (&#8220;wow! you got that working <em>this</em> quickly?? But those other shmucks told us it&#8217;d take twice as long!&#8221;), but in the long term, other developers on the team will want to knock their heads off the nearest whiteboard as they end up compensating for said rock star&#8217;s shitty, hacky should-never-have-been-given-life code.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.nowai.org/2010/10/what-developers-think-when-you-say-rock-star/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Github</title>
		<link>http://www.nowai.org/2010/09/github/</link>
		<comments>http://www.nowai.org/2010/09/github/#comments</comments>
		<pubDate>Sun, 26 Sep 2010 16:44:14 +0000</pubDate>
		<dc:creator>Andrew</dc:creator>
				<category><![CDATA[Computers]]></category>

		<guid isPermaLink="false">http://www.nowai.org/?p=30</guid>
		<description><![CDATA[I&#8217;ve decided to play with Github recently. I like it. Git confuses the hell out of me. I get how it works (use Mercurial regularly at work, which is the same DVCS idea), but github does seem to make certain things much easier (setting up a remote repo, worrying about SSH keys, that sort of [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve decided to play with <a title="werdz github" href="http://github.com/werdz">Github</a> recently. I like it.</p>
<p>Git confuses the hell out of me. I get how it works (use Mercurial regularly at work, which is the same DVCS idea), but github does seem to make certain things much easier (setting up a remote repo, worrying about SSH keys, that sort of thing), and gives you an idiot&#8217;s guide to the complicated bits (initialising the local repository, setting the remote master).</p>
<p>It doesn&#8217;t seem to be as feature filled as <a title="werdz Bitbucket" href="http://bitbucket.org/werdz">Bitbucket</a>, but it&#8217;s possible that I just haven&#8217;t gotten around to prodding at it enough. I can&#8217;t find ticket or wiki support anywhere. Support for multiple &#8220;organisations&#8221; is nice though (you can associate your account with multiple roles, and not get your personal stuff mixed up with your work stuff, for example), may end up using it some day.</p>
<p>Another nice feature is the <a title="werdz.github.com" href="http://werdz.github.com">github web page</a> thing that you get. Need to look more into what can be done with this, but it&#8217;s a nice little perk.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.nowai.org/2010/09/github/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Pesto Pasta</title>
		<link>http://www.nowai.org/2010/09/pesto-pasta/</link>
		<comments>http://www.nowai.org/2010/09/pesto-pasta/#comments</comments>
		<pubDate>Sat, 04 Sep 2010 22:31:46 +0000</pubDate>
		<dc:creator>Andrew</dc:creator>
				<category><![CDATA[Impossibly vague]]></category>
		<category><![CDATA[food]]></category>
		<category><![CDATA[pasta]]></category>
		<category><![CDATA[pesto]]></category>

		<guid isPermaLink="false">http://www.nowai.org/?p=23</guid>
		<description><![CDATA[I&#8217;ve eaten this twice in the last while, nyom. You can either do it the lazy way and get the Knorr quick meal thingies (red sachets that you just empty into a pot, add water and boil for 5 minutes) or make it from scratch. To make from scratch: Cook some pasta like normal until [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve eaten this twice in the last while, nyom. You can either do it the lazy way and get the Knorr quick meal thingies (red sachets that you just empty into a pot, add water and boil for 5 minutes) or make it from scratch.</p>
<p>To make from scratch:</p>
<ul>
<li>Cook some pasta like normal until it&#8217;s just slightly harder then you&#8217;d normally eat it. Very slightly. Pour the water off but keep a cupful of it, and throw the cupful of water and the pasta back into the pot.</li>
<li>Grate a large handful of parmesan cheese.</li>
<li>Empty about 3/4 of a small jar of pesto into the pot (I&#8217;m not sure how big the small jars are &#8211; they&#8217;re about 2 inches tall).</li>
<li>Put the heat back on and stir it in. Throw on the cheese and stir that in.</li>
<li>When the water has mostly boiled off and everything&#8217;s mixed fully, it&#8217;s ready.</li>
</ul>
<p>Goes great with garlic bread. Never thought I&#8217;d put cooking guides up here.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.nowai.org/2010/09/pesto-pasta/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PayPal are not a nice group of people</title>
		<link>http://www.nowai.org/2010/07/paypal-are-not-nice/</link>
		<comments>http://www.nowai.org/2010/07/paypal-are-not-nice/#comments</comments>
		<pubDate>Mon, 12 Jul 2010 19:28:26 +0000</pubDate>
		<dc:creator>Andrew</dc:creator>
				<category><![CDATA[Internet rage]]></category>
		<category><![CDATA[Ruthless capitalism]]></category>
		<category><![CDATA[blocked]]></category>
		<category><![CDATA[bullies]]></category>
		<category><![CDATA[cheating]]></category>
		<category><![CDATA[ebay]]></category>
		<category><![CDATA[lying]]></category>
		<category><![CDATA[paypal]]></category>

		<guid isPermaLink="false">http://www.nowai.org/?p=25</guid>
		<description><![CDATA[The word I wanted to use was removed for search engine optimisation purposes. I just tried to buy a copy of an album online, because it&#8217;s fairly decent and I know the guy who wrote it (I&#8217;d mention the name of it, but I don&#8217;t want it to come up in a Google search for [...]]]></description>
			<content:encoded><![CDATA[<p>The word I wanted to use was removed for search engine optimisation purposes.</p>
<p>I just tried to buy a copy of an album online, because it&#8217;s fairly decent and I know the guy who wrote it (I&#8217;d mention the name of it, but I don&#8217;t want it to come up in a Google search for &#8220;lying cheating thieving bullies&#8221;). Unfortunately, PayPal have still got my account blocked (apparently my moderately generic name showed up &#8220;on a list&#8221; &#8211; shocking). Also, they won&#8217;t allow my card to be used without logging in. So I can&#8217;t buy anything through PayPal. I also can&#8217;t close my account with them. Not until I send them some photo ID, some household bills at my billing address that aren&#8217;t phone bills/bank statements, and probably the rights to my first born child. Ignoring the fact that I don&#8217;t actually have bills going to my billing address that aren&#8217;t phone bills or bank statements, who do they think they are?</p>
<p>This isn&#8217;t the first tale of woe I&#8217;ve heard bout them. There&#8217;s an entire community of people who are in the same boat (Google for it), and I&#8217;ve heard accounts of them (or rather, their hired goons) showing up on peoples&#8217; doorsteps demanding debt repayments because they (PayPal) made a clerical error.</p>
<p>Someday I hope to have something worth selling to the internet. It won&#8217;t be through PayPal (or their parent, Ebay, which I used frequently up until this happened). They&#8217;re nothing more then a bunch of thieving, badly regulated bullies.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.nowai.org/2010/07/paypal-are-not-nice/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Birdsitting is complicated</title>
		<link>http://www.nowai.org/2010/07/birdsitting-is-complicated/</link>
		<comments>http://www.nowai.org/2010/07/birdsitting-is-complicated/#comments</comments>
		<pubDate>Tue, 06 Jul 2010 01:00:37 +0000</pubDate>
		<dc:creator>Andrew</dc:creator>
				<category><![CDATA[Impossibly vague]]></category>
		<category><![CDATA[birdsitting]]></category>
		<category><![CDATA[budgie]]></category>
		<category><![CDATA[complicated]]></category>
		<category><![CDATA[imadeafunny]]></category>

		<guid isPermaLink="false">http://www.nowai.org/?p=3</guid>
		<description><![CDATA[You let them out of the cage for five minutes, and they start documenting your every move.]]></description>
			<content:encoded><![CDATA[<p>You let them out of the cage for five minutes, and they start documenting your every move.</p>
<div id="attachment_21" class="wp-caption aligncenter" style="width: 510px"><a href="http://www.nowai.org/wp-content/uploads/2010/06/cb.jpg"><img class="size-full wp-image-21" title="Ceiling Budgie" src="http://www.nowai.org/wp-content/uploads/2010/06/cb.jpg" alt="Ceiling Budgie" width="500" height="330" /></a><p class="wp-caption-text">Ceiling Budgie</p></div>
]]></content:encoded>
			<wfw:commentRss>http://www.nowai.org/2010/07/birdsitting-is-complicated/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Backing up a MacBook to a Linux server with dirvish</title>
		<link>http://www.nowai.org/2010/06/backing-up-a-macbook-to-a-linux-server-with-dirvish/</link>
		<comments>http://www.nowai.org/2010/06/backing-up-a-macbook-to-a-linux-server-with-dirvish/#comments</comments>
		<pubDate>Mon, 28 Jun 2010 00:16:36 +0000</pubDate>
		<dc:creator>Andrew</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[OS X]]></category>
		<category><![CDATA[backups]]></category>
		<category><![CDATA[dirvish]]></category>
		<category><![CDATA[macbook]]></category>
		<category><![CDATA[time machine]]></category>

		<guid isPermaLink="false">http://www.unixforthought.com/?p=54</guid>
		<description><![CDATA[I mentioned yesterday that I was trying to finally sort out backups for my laptop. I had used Time Machine before to backup to my desktop (the only machine I own with ass loads of disk space), and it worked beautifully as far as actually taking the backups went, but it was a nightmare when [...]]]></description>
			<content:encoded><![CDATA[<p>I mentioned yesterday that I was trying to finally sort out backups for my laptop. I had used Time Machine before to backup to my desktop (the only machine I own with ass loads of disk space), and it worked beautifully as far as actually taking the backups went, but it was a nightmare when it came to restoring from them. The advantages you normally get with Time Machine in that area (being able to restore a Time Machine instance from inside the OS X installer) just didn&#8217;t work from a Linux server. It&#8217;s a pity, because I&#8217;ve seen it working from an external hard drive, and it&#8217;s the definition of an automagic Just Works-ism.</p>
<p>With that, I decided to cut my losses and go with dirvish instead. An advantage of dirvish over Time Machine is that I can easily navigate the backup images on the server, where as Time Machine used a sparse disk image format, which Linux didn&#8217;t like dealing with.</p>
<p>In addition to the steps yesterday, I did a couple more things &#8211; added an SSH key to root&#8217;s authorized_keys2 file on the laptop. OS X is one of the few operating systems that seems to disable root logins by default; a sensible measure, but one I have to undo. The SSH configuration is stored in /etc/sshd_config (not /etc/ssh/sshd_config as it usually would be). Also, the root user doesn&#8217;t quite exist on OS X &#8211; everything would normally operate through sudo. Root&#8217;s home directory is hidden in /var/root/, not /root as usual. I also added the CheckHostIP no line to /var/root/.ssh/config.</p>
<p>Following the instructions <a title="Dirvish howto" href="http://wiki.edseek.com/howto:dirvish">here</a> and taking hints from Andrew Harford&#8217;s guide <a title="Laptop backups with dirvish" href="http://blog.theinternets.be/laptop-backups-with-dirvish/">here</a>, I set up a vault on my desktop that will back up /Users on my laptop. I&#8217;d do the whole thing, but it seems a little pointless given that I can&#8217;t really restore a full system image from it anyway (there&#8217;ll be extended file attributes that Linux can&#8217;t handle&#8230; rsync can via -X but Linux can&#8217;t). Also, anything outside of /Users can probably be re-downloaded from a vendor easily enough. I might back up /opt at some stage, if only because getting everything back up and running from MacPorts is an enormous pain in the neck, and ports wouldn&#8217;t make huge use of OS X specific file system features anyway.</p>
<p>The only other thing of note that I changed from either of those guides is that I specified the rsync-client option in the vault&#8217;s default.conf file. I set it to MacPorts rsync, which is newer then the Apple-supplied rsync (v2.6.9 versus v3.0.7) and doesn&#8217;t wait around as long building a file list as its predecessor.</p>
<pre>rsync-client: /opt/local/bin/rsync
</pre>
<p>It&#8217;s currently initializing the vault, I&#8217;m expecting this to take most of the night (going over wireless).</p>
<p>In the morning (or whenever I get a second to look over it) I&#8217;ll look into hooking in Andrew&#8217;s <a title="Dirvish expirations for laptops" href="http://blog.theinternets.be/dirvish-part-2/">expiration script</a>, it makes more sense then using dirvish&#8217;s regular expiration mechanisms for a laptop.</p>
<p>3.8G down, 107G to go..</p>
]]></content:encoded>
			<wfw:commentRss>http://www.nowai.org/2010/06/backing-up-a-macbook-to-a-linux-server-with-dirvish/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>mDNS lookups and SSH host key fun</title>
		<link>http://www.nowai.org/2010/06/mdns-lookups-and-ssh-host-key-fun/</link>
		<comments>http://www.nowai.org/2010/06/mdns-lookups-and-ssh-host-key-fun/#comments</comments>
		<pubDate>Sat, 26 Jun 2010 23:37:19 +0000</pubDate>
		<dc:creator>Andrew</dc:creator>
				<category><![CDATA[OS X]]></category>
		<category><![CDATA[avahi]]></category>
		<category><![CDATA[dns]]></category>
		<category><![CDATA[host keys]]></category>
		<category><![CDATA[link local]]></category>
		<category><![CDATA[mdns]]></category>
		<category><![CDATA[rendezvous]]></category>
		<category><![CDATA[ssh]]></category>

		<guid isPermaLink="false">http://www.unixforthought.com/?p=49</guid>
		<description><![CDATA[I recently moved to a new apartment, and through a combination of not being assed setting up a proper DNS/DHCP/firewall box and not having a huge need for it, the network here is a fairly bog standard &#8220;home networking&#8221; type setup, running off the router supplied by my ISP. There&#8217;s no local DNS server, just [...]]]></description>
			<content:encoded><![CDATA[<p>I recently moved to a new apartment, and through a combination of not being assed setting up a proper DNS/DHCP/firewall box and not having a huge need for it, the network here is a fairly bog standard &#8220;home networking&#8221; type setup, running off the router supplied by my ISP. There&#8217;s no local DNS server, just a forwarder &#8211; trying to look up my desktop&#8217;s hostname will return the IP of a &#8220;helpful&#8221; search result page provided by the ISP.</p>
<p>I decided to finally look into the mDNS (multicast DNS) thing &#8211; I know my laptop (running OS X) has it set up out of the box because Apple&#8217;s file sharing uses it. I think they call it Rendezvous. Linux supports it through Avahi daemon and libnss-mdns, which I know is enabled on my desktop (I set up netatalk advertised via Avahi a while ago on it). After a few minutes of googling, I figured it out &#8211; just need to append &#8220;.local&#8221; to a hostname to do a lookup using mDNS instead of DNS.</p>
<pre>[andrew@Strongbad ~]$ ssh xenu.local
The authenticity of host 'xenu.local (fe80::250:8dff:fe95:4ae7%en1)' can't be established.
RSA key fingerprint is dc:bc:96:3e:77:e0:51:b9:74:37:3b:4b:06:f4:a5:17.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added 'xenu.local,fe80::250:8dff:fe95:4ae7%en1' (RSA) to the list of known hosts.
Password:</pre>
<p>Whahey, it worked \o/ Interestingly, it uses the IPv6 automagical link local address, not the v4 addresses on the network. There&#8217;s a slight problem with this though. The IP address was used in the host key line that was added to known_hosts. If the IP (or in this case, the interface I&#8217;m connected via) changes it&#8217;ll splurt out an error, and I&#8217;m planning to set up dirvish over SSH (want to back my laptop up to my desktop), so this will need to work in an automated sort of way. To get around this, I can make SSH ignore the IP address when checking host keys by adding the following to ~/.ssh/config:</p>
<pre>CheckHostIP no</pre>
<p>This would be a problem if anything I used relied on IP addresses as a security measure, but they don&#8217;t. Host keys associated with host names are all that matter. I remove the line that was added to known_hosts last time, and try connecting again using the mDNS name:</p>
<pre>[andrew@Strongbad ~]$ ssh xenu.local
The authenticity of host 'xenu.local (fe80::250:8dff:fe95:4ae7%en1)' can't be established.
RSA key fingerprint is dc:bc:96:3e:77:e0:51:b9:74:37:3b:4b:06:f4:a5:17.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added 'xenu.local' (RSA) to the list of known hosts.</pre>
<p>It worked. Now to get dirvish to work. This lack of backups is making me extremely nervous (Time Machine failed me miserably last time I needed it).</p>
]]></content:encoded>
			<wfw:commentRss>http://www.nowai.org/2010/06/mdns-lookups-and-ssh-host-key-fun/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Converting VirtualBox VDI files to raw disk images</title>
		<link>http://www.nowai.org/2010/06/converting-virtualbox-vdi-files-to-raw-disk-images/</link>
		<comments>http://www.nowai.org/2010/06/converting-virtualbox-vdi-files-to-raw-disk-images/#comments</comments>
		<pubDate>Thu, 24 Jun 2010 17:26:31 +0000</pubDate>
		<dc:creator>Andrew</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[disk]]></category>
		<category><![CDATA[futility]]></category>
		<category><![CDATA[image]]></category>
		<category><![CDATA[img]]></category>
		<category><![CDATA[raw]]></category>
		<category><![CDATA[useless]]></category>
		<category><![CDATA[vdi]]></category>
		<category><![CDATA[virtualbox]]></category>
		<category><![CDATA[windows sucks donkey balls]]></category>

		<guid isPermaLink="false">http://www.nowai.org/?p=13</guid>
		<description><![CDATA[A while back for a forensics assignment, I had to complete a task that involved analysing a VirtualBox disk image. I wrote a quick script that converted the VDI image to RAW (.img) format by just stripping out some headers. I knew at the time that it wouldn&#8217;t support split images. It turns out that [...]]]></description>
			<content:encoded><![CDATA[<p>A while back for a forensics assignment, I had to complete a task that involved analysing a VirtualBox disk image. I wrote a quick script that converted the VDI image to RAW (.img) format by just stripping out some headers. I knew at the time that it wouldn&#8217;t support split images.</p>
<p>It turns out that it only works for really small images too. Apparently larger images (I tested the script with 20MB images, today I had a 20GB image) are compressed in some strange way. Today, after a Windows VM decided to eat four hours of work on me, I wanted to try using Sleuthkit to recover the data, so wanted to get the raw disk image. After examining the image with xxd (and Sleuthkit throwing errors) I concluded that something wasn&#8217;t right, and then realised that the 20GB disk image was only a 10GB file. Something was not right.</p>
<p>It turns out that the correct way to do this is to use the VBoxManage tool:</p>
<p><code>VBoxManage clonehd --format RAW original_file.vdi new_image.img</code></p>
<p>This trick was found at <a title="VBox VDI to KVM QCOW" href="http://blog.bodhizazen.net/linux/convert-virtualbox-vdi-to-kvm-qcow/">this guy&#8217;s blog</a> (thanks!). It took an age and made my laptop cry while it was working, but in the end Sleuthkit saw the filesystem and I could continue my (eventually futile) quest to recover the data. (Really, if you actually wanted Windows to delete a file that cleanly, it wouldn&#8217;t have done it. There was no sign of it on the image. Not even searching the entire thing with strings and grep returned any trace of it. Screw you Windows.)</p>
]]></content:encoded>
			<wfw:commentRss>http://www.nowai.org/2010/06/converting-virtualbox-vdi-files-to-raw-disk-images/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

