<?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>langui.sh &#187; vmware</title>
	<atom:link href="http://langui.sh/tag/vmware/feed/" rel="self" type="application/rss+xml" />
	<link>http://langui.sh</link>
	<description>Fun hacks, WP plugins, photography, and PKI junk.  Languishing since 2008.</description>
	<lastBuildDate>Sat, 19 May 2012 01:42:40 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
<atom:link rel="hub" href="http://pubsubhubbub.appspot.com"/><atom:link rel="hub" href="http://superfeedr.com/hubbub"/>		<item>
		<title>Ubuntu 10.04 in VMWare Fusion</title>
		<link>http://langui.sh/2010/02/27/ubuntu-10-04-in-vmware-fusion/</link>
		<comments>http://langui.sh/2010/02/27/ubuntu-10-04-in-vmware-fusion/#comments</comments>
		<pubDate>Sat, 27 Feb 2010 20:20:42 +0000</pubDate>
		<dc:creator>Paul Kehrer</dc:creator>
				<category><![CDATA[Posts]]></category>
		<category><![CDATA[10.04]]></category>
		<category><![CDATA[lucid lynx]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[vmware]]></category>

		<guid isPermaLink="false">http://langui.sh/?p=1121</guid>
		<description><![CDATA[<a href="http://langui.sh/2010/02/27/ubuntu-10-04-in-vmware-fusion/" title="Ubuntu 10.04 in VMWare Fusion"></a>I installed the 10.04 LTS (Lucid Lynx) 64-bit alpha 3 this morning to check out some of the new features. And since I&#8217;ve done a few other articles about running Ubuntu in a VM I thought I&#8217;d share the experience &#8230;<p class="read-more"><a href="http://langui.sh/2010/02/27/ubuntu-10-04-in-vmware-fusion/">Read more &#187;</a></p>]]></description>
			<content:encoded><![CDATA[<a href="http://langui.sh/2010/02/27/ubuntu-10-04-in-vmware-fusion/" title="Ubuntu 10.04 in VMWare Fusion"></a><p>I installed the 10.04 LTS (Lucid Lynx) 64-bit alpha 3 this morning to check out some of the new features.  And since I&#8217;ve done <a href="/2009/10/29/upgrading-ubuntu-server-to-9-10/" target="_blank">a</a> <a href="/2009/10/05/ubuntu-9-10-in-vmware/" target="_blank">few</a> <a href="/2009/04/26/upgrading-ubuntu-server-810-intrepid-to-904-jaunty/" target="_blank">other</a> <a href="/2009/04/04/ubuntu-904-beta-in-vmware-fusion/" target="_blank">articles</a> about running Ubuntu in a VM I thought I&#8217;d share the experience yet again.</p>
<p>If you&#8217;re running VMWare Fusion 3.0+ (or the current release of Workstation 7) then the version of VMWare Tools you have with your software can successfully install with no manual intervention.  Simply pick easy install and let VMWare do all the work.</p>
<p>If you&#8217;re running an older version you will want to take a look at my Ubuntu 9.10 <a href="/2009/10/05/ubuntu-9-10-in-vmware/" target="_blank">instructions</a> for help with getting open-vm-tools running for you in 10.04.</p>
<p>I&#8217;ll update this article if anything changes (the kernel freeze for Lucid Lynx is not until March 11).</p>
]]></content:encoded>
			<wfw:commentRss>http://langui.sh/2010/02/27/ubuntu-10-04-in-vmware-fusion/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Installing OS X Client in VMware Fusion</title>
		<link>http://langui.sh/2009/10/27/installing-os-x-client-in-vmware-fusion/</link>
		<comments>http://langui.sh/2009/10/27/installing-os-x-client-in-vmware-fusion/#comments</comments>
		<pubDate>Tue, 27 Oct 2009 15:08:47 +0000</pubDate>
		<dc:creator>Paul Kehrer</dc:creator>
				<category><![CDATA[Posts]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[vmware]]></category>

		<guid isPermaLink="false">http://langui.sh/?p=722</guid>
		<description><![CDATA[<a href="http://langui.sh/2009/10/27/installing-os-x-client-in-vmware-fusion/" title="Installing OS X Client in VMware Fusion"></a>Mac OS X&#8217;s EULA only allows for usage of OS X Server within VMware Fusion, but with a (relatively) simple script you can modify the darwin.iso to function with OS X client as a guest.1 This script should hypothetically work &#8230;<p class="read-more"><a href="http://langui.sh/2009/10/27/installing-os-x-client-in-vmware-fusion/">Read more &#187;</a></p>]]></description>
			<content:encoded><![CDATA[<a href="http://langui.sh/2009/10/27/installing-os-x-client-in-vmware-fusion/" title="Installing OS X Client in VMware Fusion"></a><p>Mac OS X&#8217;s EULA only allows for usage of OS X Server within VMware Fusion, but with a (relatively) simple script you can modify the darwin.iso to function with OS X client as a guest.<sup class='footnote'><a href='#fn-722-1' id='fnref-722-1'>1</a></sup> This script should hypothetically work with Fusion 2.0 and 3.0 on Leopard and Snow Leopard (as both guest and host).  Save the following script to a file.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #666666; font-style: italic;">#!/bin/bash</span>
<span style="color: #7a0874; font-weight: bold;">cd</span> <span style="color: #ff0000;">&quot;/Library/Application Support/VMware Fusion/isoimages&quot;</span>
<span style="color: #c20cb9; font-weight: bold;">mkdir</span> original
<span style="color: #c20cb9; font-weight: bold;">mv</span> darwin.iso tools-key.pub <span style="color: #000000; font-weight: bold;">*</span>.sig original
<span style="color: #c20cb9; font-weight: bold;">perl</span> <span style="color: #660033;">-n</span> <span style="color: #660033;">-p</span> <span style="color: #660033;">-e</span> <span style="color: #ff0000;">'s/ServerVersion.plist/SystemVersion.plist/g'</span> <span style="color: #000000; font-weight: bold;">&lt;</span> original<span style="color: #000000; font-weight: bold;">/</span>darwin.iso <span style="color: #000000; font-weight: bold;">&gt;</span> darwin.iso
openssl genrsa <span style="color: #660033;">-out</span> tools-priv.pem <span style="color: #000000;">2048</span>
openssl rsa <span style="color: #660033;">-in</span> tools-priv.pem <span style="color: #660033;">-pubout</span> <span style="color: #660033;">-out</span> tools-key.pub
openssl dgst <span style="color: #660033;">-sha1</span> <span style="color: #660033;">-sign</span> tools-priv.pem <span style="color: #000000; font-weight: bold;">&lt;</span> darwin.iso <span style="color: #000000; font-weight: bold;">&gt;</span> darwin.iso.sig
<span style="color: #000000; font-weight: bold;">for</span> i <span style="color: #000000; font-weight: bold;">in</span> <span style="color: #000000; font-weight: bold;">*</span>.iso ; <span style="color: #000000; font-weight: bold;">do</span> openssl dgst <span style="color: #660033;">-sha1</span> <span style="color: #660033;">-sign</span> tools-priv.pem <span style="color: #000000; font-weight: bold;">&lt;</span> <span style="color: #007800;">$i</span> <span style="color: #000000; font-weight: bold;">&gt;</span> <span style="color: #007800;">$i</span>.sig ; <span style="color: #000000; font-weight: bold;">done</span>
<span style="color: #7a0874; font-weight: bold;">exit</span></pre></div></div>

<p>Now open Terminal and chmod the script to executable.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">chmod</span> <span style="color: #000000;">755</span> <span style="color: #000000; font-weight: bold;">/</span>path<span style="color: #000000; font-weight: bold;">/</span>to<span style="color: #000000; font-weight: bold;">/</span>my<span style="color: #000000; font-weight: bold;">/</span>script</pre></div></div>

<p>Finally, execute the script with root privileges.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> .<span style="color: #000000; font-weight: bold;">/</span>path<span style="color: #000000; font-weight: bold;">/</span>to<span style="color: #000000; font-weight: bold;">/</span>my<span style="color: #000000; font-weight: bold;">/</span>script</pre></div></div>

<p>This will modify and re-sign the darwin.iso to allow OS X client as a guest.  Hat tip to several sources online (which I can no longer remember) that were used to help make this script many moons ago.</p>
<div class='footnotes'>
<div class='footnotedivider'></div>
<ol>
<li id='fn-722-1'>Of course, since this is against the license agreement no one is going to use it, right? <span class='footnotereverse'><a href='#fnref-722-1'>&#8617;</a></span></li>
</ol>
</div>
]]></content:encoded>
			<wfw:commentRss>http://langui.sh/2009/10/27/installing-os-x-client-in-vmware-fusion/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Ubuntu 9.10 In VMware &#8211; Updated</title>
		<link>http://langui.sh/2009/10/05/ubuntu-9-10-in-vmware/</link>
		<comments>http://langui.sh/2009/10/05/ubuntu-9-10-in-vmware/#comments</comments>
		<pubDate>Mon, 05 Oct 2009 18:12:28 +0000</pubDate>
		<dc:creator>Paul Kehrer</dc:creator>
				<category><![CDATA[Posts]]></category>
		<category><![CDATA[karmic koala]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[vmware]]></category>

		<guid isPermaLink="false">http://langui.sh/?p=694</guid>
		<description><![CDATA[<a href="http://langui.sh/2009/10/05/ubuntu-9-10-in-vmware/" title="Ubuntu 9.10 In VMware - Updated"></a>Update 2: Preliminary 10.04 instructions are available here. No real obstacles for those running the latest Fusion/Workstation. Update: If you&#8217;re using VMware Fusion 3.0 or any VMware Tools version 8.2.3-204229 or better you can follow a drastically simplified process. sudo &#8230;<p class="read-more"><a href="http://langui.sh/2009/10/05/ubuntu-9-10-in-vmware/">Read more &#187;</a></p>]]></description>
			<content:encoded><![CDATA[<a href="http://langui.sh/2009/10/05/ubuntu-9-10-in-vmware/" title="Ubuntu 9.10 In VMware - Updated"></a><p>Update 2: Preliminary 10.04 instructions are available <a href="/2010/02/27/ubuntu-10-04-in-vmware-fusion/">here</a>. No real obstacles for those running the latest Fusion/Workstation.</p>
<p>Update: If you&#8217;re using VMware Fusion 3.0 or any VMware Tools version 8.2.3-204229 or better you can follow a drastically simplified process.  <b>sudo apt-get install build-essential</b>, choose install VMware Tools from the menu, copy tar to desktop, untar, sudo ./vmware-install.pl and follow the instructions.  Simple!</p>
<p>With the release of the Ubuntu 9.10 RC it&#8217;s time to revisit installing Ubuntu into a VMware VM.  I&#8217;m using VMware Fusion 2.0.x, but behavior should be largely the same for any recent VMware release.</p>
<p>First, create a new VM and point the installation disk at your Ubuntu 9.10 ISO.  At this time I would not recommend using &#8220;easy install&#8221;, so uncheck that and continue.  If you wish to use the graphical installer you&#8217;ll need to increase the RAM allocated to your VM from 512MB to 768MB.<sup class='footnote'><a href='#fn-694-1' id='fnref-694-1'>1</a></sup></p>
<p>Now you can boot your VM and follow the graphical installer.  Once complete your VM will hopefully reboot properly and ask you if you want to force the CD to disconnect (you do).  If this doesn&#8217;t occur, force the guest to shut down, disconnect the ISO in the settings, then boot the VM again.</p>
<p>The official VMware Tools do not work properly due to the newer kernel (2.6.31), so we&#8217;ll need to build the <a href="http://sourceforge.net/projects/open-vm-tools/develop">open-vm-tools</a> for this kernel.  Follow the steps below to build them yourself or simply <a href="http://c0396982.cdn.cloudfiles.rackspacecloud.com/open-vm-modules-2.6.31-14-generic_2009.07.22-179896-2+2.6.31-14.48_amd64.deb">download</a> the AMD64 deb package I have already built for the modules.<sup class='footnote'><a href='#fn-694-2' id='fnref-694-2'>2</a></sup></p>
<ol>
<li>Obtain the build prerequisities<sup class='footnote'><a href='#fn-694-3' id='fnref-694-3'>3</a></sup>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">apt-get</span> <span style="color: #c20cb9; font-weight: bold;">install</span> open-vm-tools build-essential open-vm-toolbox</pre></div></div>

</li>
<li>Run module assistant to build the modules

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> m-a</pre></div></div>

</li>
<li>Choose select and activate open-vm<br />
<a href="http://cdn.langui.sh/2009/10/Screen-shot-2009-10-25-at-12.37.06-PM.png"><img src="http://cdn.langui.sh/2009/10/Screen-shot-2009-10-25-at-12.37.06-PM-150x150.png" alt="Select open-vm" title="Select open-vm" width="150" height="150" class="alignnone size-thumbnail wp-image-714" /></a></li>
<li>Click okay, then select build<br />
<a href="http://cdn.langui.sh/2009/10/Screen-shot-2009-10-25-at-12.41.35-PM.png"><img src="http://cdn.langui.sh/2009/10/Screen-shot-2009-10-25-at-12.41.35-PM-150x150.png" alt="Screen shot 2009-10-25 at 12.41.35 PM" title="Options" width="150" height="150" class="alignnone size-thumbnail wp-image-716" /></a><br />
<a href="http://cdn.langui.sh/2009/10/Screen-shot-2009-10-25-at-12.37.37-PM.png"><img src="http://cdn.langui.sh/2009/10/Screen-shot-2009-10-25-at-12.37.37-PM-150x150.png" alt="Screen shot 2009-10-25 at 12.37.37 PM" title="Building" width="150" height="150" class="alignnone size-thumbnail wp-image-715" /></a></li>
<li>Once it completes it will ask if you want to install.  Choose yes, then quit out of m-a and reboot.</li>
<li>After a reboot check to see that the vm modules inserted into the kernel properly.

<div class="wp_syntax"><div class="code"><pre class="none" style="font-family:monospace;">vmware@vmware-desktop:~$ lsmod | grep vm
vmsync                  5104  0 
vmmemctl               10120  0 
vmhgfs                 59080  0 
vmci                   33952  0</pre></div></div>

</li>
</ol>
<p>If you see the 4 modules listed above then you should have functioning copy/paste, auto-resolution switching, and even shared folders.  However, to enable shared folders you&#8217;ll need to follow these steps:</p>
<ol>
<li>Enable shared folders and add a folder in the VM settings<sup class='footnote'><a href='#fn-694-4' id='fnref-694-4'>4</a></sup></li>
<li>Run this command:<sup class='footnote'><a href='#fn-694-5' id='fnref-694-5'>5</a></sup>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">mount</span> <span style="color: #660033;">-t</span> vmhgfs <span style="color: #660033;">-v</span> <span style="color: #660033;">-o</span> ro .host:<span style="color: #000000; font-weight: bold;">/</span>sharedfoldername <span style="color: #000000; font-weight: bold;">/</span>path<span style="color: #000000; font-weight: bold;">/</span>to<span style="color: #000000; font-weight: bold;">/</span>mnt</pre></div></div>

</li>
</ol>
<p>Let me know in the comments if you have issues or have improvements to the process.  Waiting for the official VMware Tools release is boring!</p>
<div class='footnotes'>
<div class='footnotedivider'></div>
<ol>
<li id='fn-694-1'>It may not be necessary to increase it a full 256MB, but the 512MB default causes the install to fail as of the release candidate. <span class='footnotereverse'><a href='#fnref-694-1'>&#8617;</a></span></li>
<li id='fn-694-2'>If you choose to install the package, you&#8217;ll need to do step 1 and then skip to step 6. <span class='footnotereverse'><a href='#fnref-694-2'>&#8617;</a></span></li>
<li id='fn-694-3'>open-vm-toolbox is only required for desktops <span class='footnotereverse'><a href='#fnref-694-3'>&#8617;</a></span></li>
<li id='fn-694-4'>If you get a message about &#8220;Unable to update run-time folder sharing status: The command is not recognized by the Guest OS tools&#8221; you can ignore this error. <span class='footnotereverse'><a href='#fnref-694-4'>&#8617;</a></span></li>
<li id='fn-694-5'>You can change ro to rw if you want your shared folder to be read/write capable <span class='footnotereverse'><a href='#fnref-694-5'>&#8617;</a></span></li>
</ol>
</div>
]]></content:encoded>
			<wfw:commentRss>http://langui.sh/2009/10/05/ubuntu-9-10-in-vmware/feed/</wfw:commentRss>
		<slash:comments>20</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using memcached
Page Caching using memcached
Database Caching 15/17 queries in 0.006 seconds using memcached
Object Caching 638/638 objects using memcached

Served from: langui.sh @ 2012-05-21 14:02:20 -->
