<?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>/dev/stu &#187; vmware</title>
	<atom:link href="http://www.stuartaxon.com/tag/vmware/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.stuartaxon.com</link>
	<description>Adding LOC to the web.</description>
	<lastBuildDate>Mon, 09 Jan 2012 18:11:32 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1</generator>
		<item>
		<title>Access files in a Linux virtual machine from Windows</title>
		<link>http://www.stuartaxon.com/2010/01/21/access-files-in-a-linux-virtual-machine-from-windows/</link>
		<comments>http://www.stuartaxon.com/2010/01/21/access-files-in-a-linux-virtual-machine-from-windows/#comments</comments>
		<pubDate>Thu, 21 Jan 2010 04:46:17 +0000</pubDate>
		<dc:creator>stu</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[ext3]]></category>
		<category><![CDATA[filesystem]]></category>
		<category><![CDATA[interoperability]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[virtual-machine]]></category>
		<category><![CDATA[vm]]></category>
		<category><![CDATA[vmware]]></category>
		<category><![CDATA[windows]]></category>
		<category><![CDATA[workflow]]></category>

		<guid isPermaLink="false">http://www.stuartaxon.com/?p=195</guid>
		<description><![CDATA[I recently found a neat way of accessing files in a linux VMWare image.   This is really useful, as theres never really a good time to break your VMWare image, this is also handy if you don&#8217;t want to run the whole machine, but just access the files inside. There is one caveat: It only [...]]]></description>
			<content:encoded><![CDATA[<p>I recently found a neat way of accessing files in a linux VMWare image.   This is really useful, as theres never really a good time to break your VMWare image, this is also handy if you don&#8217;t want to run the whole machine, but just access the files inside.</p>
<p>There is one caveat:</p>
<ul>
<li>It only works if the filesystem is ext2 (ext3 works, and ext4 probably works).</li>
</ul>
<h2>Install VMWare DiskMount Utility</h2>
<p>Accept the EULA, download and install the <a href="http://www.vmware.com/download/eula/diskmount_ws_v55.html">VMWare DiskMount utility</a>.</p>
<p>For convenience add the utilities folder to the path:</p>
<pre>C:\Program Files\VMware\VMware DiskMount Utility</pre>
<blockquote><p>Do this through the Windows Gui, or even use my <a href="http://code.google.com/p/batch-flow/">addpath</a> utility.</p></blockquote>
<p>At this point you can mount Windows VMWare images.</p>
<p>The usage is:  <em>vmware-mount drive-letter vmdk-image</em>.</p>
<p>Heres how I mount my Ubuntu image to the j: drive</p>
<blockquote>
<pre>[C:\vmware\Ubuntu]vmware-mount j: ubuntu.vmdk</pre>
<pre>[C:\vmware\Ubuntu]</pre>
</blockquote>
<p>No output here indicates success.</p>
<p>At this point everything seems fine, but a crucial piece of the puzzle is still missing; try and view the files and you still can&#8217;t:</p>
<p style="text-align: center;"><a href="http://www.stuartaxon.com/wp-content/uploads/2010/01/vmware-mount-no-ext2.png"><img class="size-full wp-image-198 aligncenter" title="vmware-mount-no-ext2" src="http://www.stuartaxon.com/wp-content/uploads/2010/01/vmware-mount-no-ext2.png" alt="Failing to see files in an ext2 VMWare image" width="677" height="340" /></a></p>
<div style="clear:both;"></div>
<p>The next step is to make Windows understand the ext2 filesystem, using a special driver.</p>
<h2>Install ext2ifs</h2>
<p>Grab ext2ifs from <a href="http://www.fs-driver.org/">www.fs-driver.org</a> and install.</p>
<p>If the following steps don&#8217;t work then you may need to reboot.</p>
<h2>Thats it!</h2>
<p>You should be now able to access files inside your VMWare image (assuming it&#8217;s ext2 and not reiserfs), remount the image and have a go:</p>
<p>In my case I did:</p>
<blockquote>
<pre>[C:\vmware\Ubuntu]vmware-mount j: ubuntu.vmdk</pre>
<pre>[C:\vmware\Ubuntu] dir j:</pre>
</blockquote>
<p>Heres the output &#8211; hooray, I can copy my work out of the image !</p>
<p><a href="http://www.stuartaxon.com/wp-content/uploads/2010/01/vmware-mount-and-ext2ifs.png"><img class="size-full wp-image-197 aligncenter" title="vmware-mount-and-ext2ifs" src="http://www.stuartaxon.com/wp-content/uploads/2010/01/vmware-mount-and-ext2ifs.png" alt="Viewing files inside a VMWare image with ext2fs" width="677" height="580" /></a></p>
<div style="clear:both;"></div>
<p>This is very useful, especially if you do dist-upgrade in ubuntu and can&#8217;t access the network.</p>
<h2>Bonus tip:</h2>
<p>Newer versions of VMWare player let you install VMWare tools from inside the GUI, this is another way to fix the kind of catestrophic problems you can cause yourself by accidentally upgrading the kernel in an image.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.stuartaxon.com/2010/01/21/access-files-in-a-linux-virtual-machine-from-windows/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Virtual Machines in version control</title>
		<link>http://www.stuartaxon.com/2008/09/28/virtual-machines-in-version-control/</link>
		<comments>http://www.stuartaxon.com/2008/09/28/virtual-machines-in-version-control/#comments</comments>
		<pubDate>Sun, 28 Sep 2008 15:15:58 +0000</pubDate>
		<dc:creator>stu</dc:creator>
				<category><![CDATA[general]]></category>
		<category><![CDATA[bochs]]></category>
		<category><![CDATA[git]]></category>
		<category><![CDATA[mecurial]]></category>
		<category><![CDATA[parallels desktop]]></category>
		<category><![CDATA[qemu]]></category>
		<category><![CDATA[svn]]></category>
		<category><![CDATA[usb]]></category>
		<category><![CDATA[version control]]></category>
		<category><![CDATA[vmware]]></category>

		<guid isPermaLink="false">http://www.stuartaxon.com/?p=107</guid>
		<description><![CDATA[Put your virtual machines in version control and have access to the latest version of your computer anytime, anywhere]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.stuartaxon.com/wp-content/uploads/2008/09/vmware-ubuntu.png"><img class="size-medium wp-image-109 alignnone" title="vmware-ubuntu" src="http://www.stuartaxon.com/wp-content/uploads/2008/09/vmware-ubuntu-300x235.png" alt="" width="300" height="235" /></a></p>
<p>I&#8217;ve been interested for a while in putting virtual machines into version control &#8211; I haven&#8217;t tried it yet as I&#8217;d imagine most modern vcs would grind to a halt.    The idea is &#8211; keep your machine in something like git (I hear it&#8217;s the most space efficient &#8211; svn would be a definate nono), and keep a copy on one of the large usb sticks that are now available.</p>
<p><span id="more-107"></span></p>
<p>After using your machine push the updates to git, then when you go somewhere else put in the usb stick and pull the latest version of it back off.</p>
<p>You&#8217;d end up being able to carry your computer with you very easily, and only download the changes when you moved to a new location &#8211; keeping copies wherever you needed it.</p>
<p>At some point when I have better hardware I might give this a go, in the meantime if anybody tries it, let me know how it goes.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.stuartaxon.com/2008/09/28/virtual-machines-in-version-control/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

