<?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>MacLochlainns Weblog &#187; VMWare</title>
	<atom:link href="http://blog.mclaughlinsoftware.com/category/vmware/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.mclaughlinsoftware.com</link>
	<description>Michael McLaughlin's Technical Blog</description>
	<lastBuildDate>Wed, 28 Jul 2010 00:02:37 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>VMWare Fusion Permissions</title>
		<link>http://blog.mclaughlinsoftware.com/2010/06/10/vmware-fusion-permissions/</link>
		<comments>http://blog.mclaughlinsoftware.com/2010/06/10/vmware-fusion-permissions/#comments</comments>
		<pubDate>Fri, 11 Jun 2010 05:28:50 +0000</pubDate>
		<dc:creator>maclochlainn</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Mac]]></category>
		<category><![CDATA[Mac OS X]]></category>
		<category><![CDATA[VMWare]]></category>
		<category><![CDATA[bash]]></category>

		<guid isPermaLink="false">http://blog.mclaughlinsoftware.com/?p=3924</guid>
		<description><![CDATA[It&#8217;s always interesting when I have to sort out problems with VMWare Fusion on my Mac OS X. Right, as you guessed, interesting means frustrating. What started the whole thing was my investigating why VMWare networking would sometimes not start. I noticed the problem began after my upgrade to VMWare Fusion 3.1.0 (261058). Rather than [...]]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s always interesting when I have to sort out problems with VMWare Fusion on my Mac OS X. Right, as you guessed, interesting means frustrating. <img src='http://blog.mclaughlinsoftware.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' />  What started the whole thing was my investigating why VMWare networking would sometimes not start. I noticed the problem began after my upgrade to VMWare Fusion 3.1.0 (261058).</p>
<p>Rather than reboot the Mac OS X, which has fixed the problem, I tried to restart the service after closing my VMs. You can find how to do that in <a href="http://blog.mclaughlinsoftware.com/2008/09/10/an-ugly-vmware-fusion-error-devvmnet0-is-not-running/">this older post of mine</a>.</p>
<p>When I tried to restart it with the following command:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #666666; font-style: italic;"># sudo /Library/Application\ Support/VMware\ Fusion/boot.sh  --restart</span></pre></div></div>

<p>I got the following error on VMWare file permissions:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">VMware Fusion <span style="color: #000000;">261058</span>: Shutting down VMware Fusion: 
Stopped DHCP service on vmnet1
Disabled hostonly virtual adapter on vmnet1
Stopped DHCP service on vmnet8
Stopped NAT service on vmnet8
Disabled hostonly virtual adapter on vmnet8
Stopped all configured services on all networks
No matching processes were found
No matching processes were found
No matching processes were found
No matching processes were found
No matching processes were found
No matching processes were found
<span style="color: #7a0874; font-weight: bold;">&#40;</span>kernel<span style="color: #7a0874; font-weight: bold;">&#41;</span> Kext com.vmware.kext.vmcrosstalk not found <span style="color: #000000; font-weight: bold;">for</span> unload request.
Failed to unload com.vmware.kext.vmcrosstalk - <span style="color: #7a0874; font-weight: bold;">&#40;</span>libkern<span style="color: #000000; font-weight: bold;">/</span>kext<span style="color: #7a0874; font-weight: bold;">&#41;</span> not found.
<span style="color: #7a0874; font-weight: bold;">&#40;</span>kernel<span style="color: #7a0874; font-weight: bold;">&#41;</span> Kext com.vmware.kext.vmmon not found <span style="color: #000000; font-weight: bold;">for</span> unload request.
Failed to unload com.vmware.kext.vmmon - <span style="color: #7a0874; font-weight: bold;">&#40;</span>libkern<span style="color: #000000; font-weight: bold;">/</span>kext<span style="color: #7a0874; font-weight: bold;">&#41;</span> not found.
&nbsp;
VMware Fusion <span style="color: #000000;">261058</span>: Starting VMware Fusion: 
<span style="color: #000000;">2010</span>-06-<span style="color: #000000;">10</span> <span style="color: #000000;">22</span>:<span style="color: #000000;">22</span>:<span style="color: #000000;">30.588</span> repair_packages<span style="color: #7a0874; font-weight: bold;">&#91;</span><span style="color: #000000;">455</span>:<span style="color: #000000;">607</span><span style="color: #7a0874; font-weight: bold;">&#93;</span> PackageKit: <span style="color: #000000; font-weight: bold;">***</span> Missing bundle identifier: <span style="color: #000000; font-weight: bold;">/</span>Library<span style="color: #000000; font-weight: bold;">/</span>Receipts<span style="color: #000000; font-weight: bold;">/</span>vpn.pkg
Verifying files from package <span style="color: #ff0000;">'com.vmware.fusion.application'</span> on <span style="color: #ff0000;">'/'</span>.
	Permissions differ on <span style="color: #ff0000;">&quot;Library/Application Support/VMware Fusion/VMDKMounter.app/Contents/MacOS/vmware-vmdkMounter&quot;</span>, should be <span style="color: #660033;">-rwxr-xr-x</span> , they are <span style="color: #660033;">-rwsr-xr-x</span> .
	Warning: SUID <span style="color: #c20cb9; font-weight: bold;">file</span> <span style="color: #ff0000;">'Library/Application Support/VMware Fusion/VMDKMounter.app/Contents/MacOS/vmware-vmdkMounter'</span> has been modified and will not be repaired.
Finished verifying files from package <span style="color: #ff0000;">'com.vmware.fusion.application'</span> on <span style="color: #ff0000;">'/'</span>.
Started network services
Verifying and re-installing files from <span style="color: #000000; font-weight: bold;">/</span>Library<span style="color: #000000; font-weight: bold;">/</span>Application Support<span style="color: #000000; font-weight: bold;">/</span>VMware Fusion<span style="color: #000000; font-weight: bold;">/</span>thnuclnt</pre></div></div>

<p>Navigating to the directory, an <code>ls -al</code> found the two files below and their respective permissions.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">drwxr-xr-x  <span style="color: #000000;">4</span> root  wheel      <span style="color: #000000;">136</span> Jun <span style="color: #000000;">10</span> <span style="color: #000000;">22</span>:<span style="color: #000000;">51</span> .
drwxr-xr-x  <span style="color: #000000;">5</span> root  wheel      <span style="color: #000000;">170</span> May <span style="color: #000000;">27</span> <span style="color: #000000;">21</span>:<span style="color: #000000;">22</span> ..
<span style="color: #660033;">-rwsr-xr-x</span>  <span style="color: #000000;">1</span> root  wheel  <span style="color: #000000;">1593620</span> May <span style="color: #000000;">21</span> 03:<span style="color: #000000;">51</span> vmware-vmdkMounter
<span style="color: #660033;">-rwsr-xr-x</span>  <span style="color: #000000;">1</span> root  wheel  <span style="color: #000000;">1475396</span> May <span style="color: #000000;">21</span> 03:<span style="color: #000000;">51</span> vmware-vmdkMounterTool</pre></div></div>

<p>I thought perhaps both files required the same permissions but I was wrong. If you change the permissions on the <code>vmware-vmdkMounterTool</code> file, you&#8217;ll raise an error telling you that it should be <code>-rwsr-xr-x</code>. If you make that same mistake too, I&#8217;ve got the reset syntax at the bottom of the post.</p>
<p>You should only change the permissions of <code>vmware-vmdkMounter</code> file. The following syntax lets you remove the squeaky bit from the <em>user</em> permissions but you&#8217;ll need the root password (the administrator password).</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: #c20cb9; font-weight: bold;">chmod</span> <span style="color: #007800;">u</span>=rwx,<span style="color: #007800;">go</span>=rx vmware-vmdkMounter</pre></div></div>

<p>That should leave you with the following permissions:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">drwxr-xr-x  <span style="color: #000000;">4</span> root  wheel      <span style="color: #000000;">136</span> Jun <span style="color: #000000;">10</span> <span style="color: #000000;">22</span>:<span style="color: #000000;">51</span> .
drwxr-xr-x  <span style="color: #000000;">5</span> root  wheel      <span style="color: #000000;">170</span> May <span style="color: #000000;">27</span> <span style="color: #000000;">21</span>:<span style="color: #000000;">22</span> ..
<span style="color: #660033;">-rwxr-xr-x</span>  <span style="color: #000000;">1</span> root  wheel  <span style="color: #000000;">1593620</span> May <span style="color: #000000;">21</span> 03:<span style="color: #000000;">51</span> vmware-vmdkMounter
<span style="color: #660033;">-rwsr-xr-x</span>  <span style="color: #000000;">1</span> root  wheel  <span style="color: #000000;">1475396</span> May <span style="color: #000000;">21</span> 03:<span style="color: #000000;">51</span> vmware-vmdkMounterTool</pre></div></div>

<p>When you restart you should get the following pseudo clean output. Pseudo because apparently the two errors are not meaningful. At least, I couldn&#8217;t find anything on them and VMWare Fusion now works. I&#8217;ll probably investigate this a bit more later, and I&#8217;ll update anything in this post. If you know something, post it as a comment to help everybody.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">VMware Fusion <span style="color: #000000;">261058</span>: Shutting down VMware Fusion: 
Stopped DHCP service on vmnet1
Disabled hostonly virtual adapter on vmnet1
Stopped DHCP service on vmnet8
Stopped NAT service on vmnet8
Disabled hostonly virtual adapter on vmnet8
Stopped all configured services on all networks
No matching processes were found
No matching processes were found
No matching processes were found
No matching processes were found
No matching processes were found
No matching processes were found
<span style="color: #7a0874; font-weight: bold;">&#40;</span>kernel<span style="color: #7a0874; font-weight: bold;">&#41;</span> Kext com.vmware.kext.vmcrosstalk not found <span style="color: #000000; font-weight: bold;">for</span> unload request.
Failed to unload com.vmware.kext.vmcrosstalk - <span style="color: #7a0874; font-weight: bold;">&#40;</span>libkern<span style="color: #000000; font-weight: bold;">/</span>kext<span style="color: #7a0874; font-weight: bold;">&#41;</span> not found.
<span style="color: #7a0874; font-weight: bold;">&#40;</span>kernel<span style="color: #7a0874; font-weight: bold;">&#41;</span> Kext com.vmware.kext.vmmon not found <span style="color: #000000; font-weight: bold;">for</span> unload request.
Failed to unload com.vmware.kext.vmmon - <span style="color: #7a0874; font-weight: bold;">&#40;</span>libkern<span style="color: #000000; font-weight: bold;">/</span>kext<span style="color: #7a0874; font-weight: bold;">&#41;</span> not found.
&nbsp;
VMware Fusion <span style="color: #000000;">261058</span>: Starting VMware Fusion: 
<span style="color: #000000;">2010</span>-06-<span style="color: #000000;">10</span> <span style="color: #000000;">22</span>:<span style="color: #000000;">58</span>:<span style="color: #000000;">45.276</span> repair_packages<span style="color: #7a0874; font-weight: bold;">&#91;</span><span style="color: #000000;">861</span>:<span style="color: #000000;">607</span><span style="color: #7a0874; font-weight: bold;">&#93;</span> PackageKit: <span style="color: #000000; font-weight: bold;">***</span> Missing bundle identifier: <span style="color: #000000; font-weight: bold;">/</span>Library<span style="color: #000000; font-weight: bold;">/</span>Receipts<span style="color: #000000; font-weight: bold;">/</span>vpn.pkg
Verifying files from package <span style="color: #ff0000;">'com.vmware.fusion.application'</span> on <span style="color: #ff0000;">'/'</span>.
Finished verifying files from package <span style="color: #ff0000;">'com.vmware.fusion.application'</span> on <span style="color: #ff0000;">'/'</span>.
Started network services
Verifying and re-installing files from <span style="color: #000000; font-weight: bold;">/</span>Library<span style="color: #000000; font-weight: bold;">/</span>Application Support<span style="color: #000000; font-weight: bold;">/</span>VMware Fusion<span style="color: #000000; font-weight: bold;">/</span>thnuclnt</pre></div></div>

<p>If you <em>fat fingered</em> the resetting command and also changed the <code>vmware-vmdkMounterTool</code> file permissions, you can reset them to <em>shared</em> user by using the following syntax:</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: #c20cb9; font-weight: bold;">chmod</span> <span style="color: #007800;">u</span>=rwxs,<span style="color: #007800;">go</span>=rx vmware-vmdkMounterTool</pre></div></div>

<p>As always, I hope this helps others.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.mclaughlinsoftware.com/2010/06/10/vmware-fusion-permissions/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>VMWare Fusion NAT</title>
		<link>http://blog.mclaughlinsoftware.com/2010/03/01/vmware-fusion-nat/</link>
		<comments>http://blog.mclaughlinsoftware.com/2010/03/01/vmware-fusion-nat/#comments</comments>
		<pubDate>Tue, 02 Mar 2010 05:41:34 +0000</pubDate>
		<dc:creator>maclochlainn</dc:creator>
				<category><![CDATA[Mac]]></category>
		<category><![CDATA[Mac OS X]]></category>
		<category><![CDATA[VMWare]]></category>

		<guid isPermaLink="false">http://blog.mclaughlinsoftware.com/?p=3564</guid>
		<description><![CDATA[This is to correct an earlier omission and provide instructions for configuring static and dynamic IP addresses for Virtual Machines runing on VMWare Fusion on Mac OS X. The benefit of static IP address is important for those installing multiple development and test instances of Oracle Databases in virtual environments. Back in September 2008, I [...]]]></description>
			<content:encoded><![CDATA[<p>This is to correct an earlier omission and provide instructions for configuring static and dynamic IP addresses for Virtual Machines runing on VMWare Fusion on Mac OS X. The benefit of static IP address is important for those installing multiple development and test instances of Oracle Databases in virtual environments.</p>
<p>Back in September 2008, I blogged about how to configure the <a href="http://blog.mclaughlinsoftware.com/how-to-configure-mac-os-x-as-an-oracle-client/">Oracle Client 10g on Mac OS X</a>. It&#8217;s been used a lot but in hindsight it could have been organized more effectively. One thing that I noticed (through somebody bringing it to my attention) is that explaining the VMWare Fusion component by itself would have been more helpful then listing the IP ranges for releases through the date of my post. Hopefully, this corrects that omission.</p>
<p><span style="font-size:125%;font-weight:bold">VMWare NAT Configuration</span></p>
<p>There are only a few steps that you must do. These are they:</p>
<ol>
<li>Read the subnet value from the <code>dhcpd.conf</code> file.</li>
<li>Dynamic IP address only require you to set the guest operating system to DHCP.</li>
<li>Static IP addresses require you to set the IP address, subnet, default gateway, and preferred DNS server.</li>
<li>Add assigned IP address and the guest operating system <code>hostname</code> to your Mac OS X <code>/etc/hosts</code> file.</li>
</ol>
<p>The next sections gives the details of where to find all the things that you may want to experiment with. Remember if you make an error that damages these configuration files, you have to fix it or re-install VMWare Fusion.</p>
<p><span style="font-size:125%;font-weight:bold">VMWare NAT Files and Configurations</span></p>
<p>You can find the IP ranges for the Network Address Translation (NAT) here:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">/</span>Library<span style="color: #000000; font-weight: bold;">/</span>Application Support<span style="color: #000000; font-weight: bold;">/</span>VMware Fusion<span style="color: #000000; font-weight: bold;">/</span>vmnet8<span style="color: #000000; font-weight: bold;">/</span>dhcpd.conf</pre></div></div>

<p>You can open the file for editing like this:</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: #c20cb9; font-weight: bold;">vi</span> <span style="color: #ff0000;">&quot;/Library/Application Support/VMware Fusion/vmnet8/dhcpd.conf&quot;</span></pre></div></div>

<p>The file contains the subnet, which I&#8217;ve found changes with release. You can configure this file and assign fixed addresses in it. However, you don&#8217;t need to install fixed addresses in this file unless you want to reserve addresses in the dynamic range.</p>
<p>The dynamic range is between <code>xxx.xxx.xxx.128</code> and <code>xxx.xxx.xxx.254</code>. The range of <code>xxx.xxx.xxx.3</code> to <code>xxx.xxx.xxx.127</code> is available for static IP addresses. You can set a static IP address inside the native operating system of the VM.</p>
<p>The <code>dhcpd.conf</code> file with it&#8217;s instructions, looks like this:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #666666; font-style: italic;"># Configuration file for ISC 2.0 vmnet-dhcpd operating on vmnet8.</span>
<span style="color: #666666; font-style: italic;">#</span>
<span style="color: #666666; font-style: italic;"># This file was automatically generated by the VMware configuration program.</span>
<span style="color: #666666; font-style: italic;"># See Instructions below if you want to modify it.</span>
<span style="color: #666666; font-style: italic;">#</span>
<span style="color: #666666; font-style: italic;"># We set domain-name-servers to make some DHCP clients happy</span>
<span style="color: #666666; font-style: italic;"># (dhclient as configured in SuSE, TurboLinux, etc.).</span>
<span style="color: #666666; font-style: italic;"># We also supply a domain name to make pump (Red Hat 6.x) happy.</span>
<span style="color: #666666; font-style: italic;">#</span>
&nbsp;
<span style="color: #666666; font-style: italic;">###### VMNET DHCP Configuration. Start of &quot;DO NOT MODIFY SECTION&quot; #####</span>
<span style="color: #666666; font-style: italic;"># Modification Instructions: This section of the configuration file contains</span>
<span style="color: #666666; font-style: italic;"># information generated by the configuration program. Do not modify this</span>
<span style="color: #666666; font-style: italic;"># section.</span>
<span style="color: #666666; font-style: italic;"># You are free to modify everything else. Also, this section must start </span>
<span style="color: #666666; font-style: italic;"># on a new line </span>
<span style="color: #666666; font-style: italic;"># This file will get backed up with a different name in the same directory </span>
<span style="color: #666666; font-style: italic;"># if this section is edited and you try to configure DHCP again.</span>
&nbsp;
<span style="color: #666666; font-style: italic;"># Written at: 02/18/2010 23:30:54</span>
allow unknown-clients;
default-lease-time <span style="color: #000000;">1800</span>;                <span style="color: #666666; font-style: italic;"># default is 30 minutes</span>
max-lease-time <span style="color: #000000;">7200</span>;                    <span style="color: #666666; font-style: italic;"># default is 2 hours</span>
&nbsp;
subnet 172.16.123.0 netmask 255.255.255.0 <span style="color: #7a0874; font-weight: bold;">&#123;</span>
	range 172.16.123.128 172.16.123.254;
	option broadcast-address 172.16.123.255;
	option domain-name-servers 172.16.123.2;
	option domain-name localdomain;
	default-lease-time <span style="color: #000000;">1800</span>;                <span style="color: #666666; font-style: italic;"># default is 30 minutes</span>
	max-lease-time <span style="color: #000000;">7200</span>;                    <span style="color: #666666; font-style: italic;"># default is 2 hours</span>
	option routers 172.16.123.2;
<span style="color: #7a0874; font-weight: bold;">&#125;</span>
host vmnet8 <span style="color: #7a0874; font-weight: bold;">&#123;</span>
	hardware ethernet 00:<span style="color: #000000;">50</span>:<span style="color: #000000;">56</span>:C0:00:08;
	fixed-address 172.16.123.1;
	option domain-name-servers 0.0.0.0;
	option domain-name <span style="color: #ff0000;">&quot;&quot;</span>;
	option routers 0.0.0.0;
<span style="color: #7a0874; font-weight: bold;">&#125;</span>
<span style="color: #666666; font-style: italic;">####### VMNET DHCP Configuration. End of &quot;DO NOT MODIFY SECTION&quot; #######</span></pre></div></div>

<p>Unless you&#8217;ve changed the location of your VM repository on your Mac OS X, you can set a fixed-address for the virtual machine. You add the following lines at the bottom of the <code>dhcpd.conf</code> file:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">host mclaughlinxp32 <span style="color: #7a0874; font-weight: bold;">&#123;</span>
	hardware ethernet 00:0c:<span style="color: #000000;">29</span>:<span style="color: #000000;">55</span>:<span style="color: #000000;">38</span>:1b;
        fixed-address 172.16.123.21;
<span style="color: #7a0874; font-weight: bold;">&#125;</span></pre></div></div>

<p>You pick whichever IP address you&#8217;d like to use. You also need to configure the guest opearting system in the VM with that same IP address. You can find the <em>ethernet hardware</em> value in the following file:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">~<span style="color: #000000; font-weight: bold;">/</span>Documents<span style="color: #000000; font-weight: bold;">/</span>Virtual Machines<span style="color: #000000; font-weight: bold;">/</span>VMName<span style="color: #000000; font-weight: bold;">/</span>VMName.vmx</pre></div></div>

<p>You can open the file and hunt for it, or simply run this command from the directory where the file exists:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">grep</span> ethernet0.generatedAddress <span style="color: #000000; font-weight: bold;">*</span>.vmx</pre></div></div>

<p>As always, I hope this helps some folks.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.mclaughlinsoftware.com/2010/03/01/vmware-fusion-nat/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>What a VMWare Thrill &#8230;</title>
		<link>http://blog.mclaughlinsoftware.com/2010/02/06/what-a-vmware-thrill/</link>
		<comments>http://blog.mclaughlinsoftware.com/2010/02/06/what-a-vmware-thrill/#comments</comments>
		<pubDate>Sat, 06 Feb 2010 17:49:23 +0000</pubDate>
		<dc:creator>maclochlainn</dc:creator>
				<category><![CDATA[LAMP]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Mac]]></category>
		<category><![CDATA[Mac OS X]]></category>
		<category><![CDATA[Red Hat]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[VMWare]]></category>

		<guid isPermaLink="false">http://blog.mclaughlinsoftware.com/?p=3473</guid>
		<description><![CDATA[I&#8217;d upgraded from VMWare Fusion 2 to 3 and taken care of most instances. A NASTY surprise awaited me when I tried to upgrade my Linux installations this morning. You MUST to uninstall VMWare tools from your repository of Linux operating systems before upgrading your VMWare Fusion or ESX server. If you don&#8217;t, you can&#8217;t [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;d upgraded from VMWare Fusion 2 to 3 and taken care of most instances. A <span style="color:red"><em><strong>NASTY surprise</strong></em></span> awaited me when I tried to upgrade my Linux installations this morning.</p>
<p>You <em><strong>MUST</strong></em> to uninstall VMWare tools from your repository of Linux operating systems before upgrading your VMWare Fusion or ESX server. If you don&#8217;t, you can&#8217;t access the console because the drivers make the console look like this:</p>
<p><a href="http://blog.mclaughlinsoftware.com/wp-content/uploads/2010/02/RedHatZappedbyVMWare.png"><img src="http://blog.mclaughlinsoftware.com/wp-content/uploads/2010/02/RedHatZappedbyVMWare-300x225.png" alt="" title="RedHatZappedbyVMWare" width="300" height="225" class="aligncenter size-medium wp-image-3474" /></a></p>
<p>Perhaps I missed <a href="http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&#038;cmd=displayKC&#038;externalId=998">this note</a> when, as an early adopted I opted to move straight to VMWare Fusion 3. I would have complied with these instructions to avoid this headache.</p>
<p>All that&#8217;s required now, is that: (a) I export 500 GBs worth of virtual machines to another machine running VMWare Fusion 2; (b) Individually start each machine and run the uninstall VMWare Tools command individually; and, (c) Shutdown and reposition all virtual machines on the original server.</p>
<p>As stated in the note, the command to remove it is:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span>vmware-tools-uninstall.pl</pre></div></div>

<p>Click on the note in the event the link fails to resolve, which would mean the note vanishes into oblivion some day in the future &#8230; </p>
<p><a href="http://blog.mclaughlinsoftware.com/wp-content/uploads/2010/02/VMWareZappedNote.png"><img src="http://blog.mclaughlinsoftware.com/wp-content/uploads/2010/02/VMWareZappedNote-300x187.png" alt="" title="VMWareZappedNote" width="300" height="187" class="aligncenter size-medium wp-image-3475" /></a></p>
<p>While I&#8217;ve another machine that&#8217;s not yet upgraded, this is a major inconvenience. It&#8217;s a shame that the Linux components don&#8217;t install automatically. It&#8217;s a shame that the install didn&#8217;t say something like, <em>&#8220;Don&#8217;t do this if you&#8217;ve Linux virtual machines, unless you&#8217;ve removed their VMWare Tools installation.&#8221;</em></p>
<p>Another word to the wise, you don&#8217;t get the Linux Tools automatically when you download the product. The software prompts you to download the additional components when you attempt to launch a Linux environment. A cruel irony since by the time you see the prompt, you can&#8217;t! This is a change from the prior upgrade process.</p>
<p>Yes, haste makes waste but now I know. In the future, treat all VMWare upgrades like those from Microsoft test, re-test, re-authenticate in a small way before upgrading. Do you think VMWare really want to send that message to its customer base?</p>
<p><a href="http://blog.mclaughlinsoftware.com/wp-content/uploads/2010/02/RedHatSessionManagement.png"><img src="http://blog.mclaughlinsoftware.com/wp-content/uploads/2010/02/RedHatSessionManagement.png" alt="" title="RedHatSessionManagement" width="93" height="36" class="alignright size-full wp-image-3486" /></a>I got back to this tonight, and thanks to Red Hat&#8217;s Session Manager I was able to fix the Red Hat VMs. Launching it, I simply switched to the Failsafe Terminal and ran the following command, as per the note:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #666666; font-style: italic;"># /usr/bin/vmware-uninstall.pl</span></pre></div></div>

<p style="clear:both">
<p><a href="http://blog.mclaughlinsoftware.com/wp-content/uploads/2010/02/RedHatFailsafeTerminal.png"><img src="http://blog.mclaughlinsoftware.com/wp-content/uploads/2010/02/RedHatFailsafeTerminal.png" alt="" title="RedHatFailsafeTerminal" style="border:none" width="264" height="181" class="aligncenter size-full wp-image-3487" /></a></p>
<p>After that, I rebooted. Then, installed (mounted the VMWare Tools disk) from the VMWare Fusion menu. Opening a terminal as <code>root</code>, I then re-installed and configured VMWare Fusion. Those are done. As more time allows, I&#8217;ll update about the others.</p>
<p>I&#8217;m now reconfiguring the network since the VMWare Fusion 2 bridged at a 172.16.153 subdomain and VMWare Fusion 3 bridges at a 172.16.123 subdomain.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.mclaughlinsoftware.com/2010/02/06/what-a-vmware-thrill/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>VMWare nabs me again &#8230;</title>
		<link>http://blog.mclaughlinsoftware.com/2009/12/08/vmware-nabs-me-again/</link>
		<comments>http://blog.mclaughlinsoftware.com/2009/12/08/vmware-nabs-me-again/#comments</comments>
		<pubDate>Tue, 08 Dec 2009 21:43:27 +0000</pubDate>
		<dc:creator>maclochlainn</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Mac OS X]]></category>
		<category><![CDATA[VMWare]]></category>
		<category><![CDATA[bash]]></category>

		<guid isPermaLink="false">http://blog.mclaughlinsoftware.com/?p=3323</guid>
		<description><![CDATA[When I run into failures on VMWare Fusion, they&#8217;re always a bit tedious. This one happened on my iMac (OS X Leopard) running VMWare 2 (both constrained to old releases by university governance policies). The VM is Microsoft Vista in an IDE partition, it hung after running too long. I had to force quit the [...]]]></description>
			<content:encoded><![CDATA[<p>When I run into failures on VMWare Fusion, they&#8217;re always a bit tedious. This one happened on my iMac (OS X Leopard) running VMWare 2 (both constrained to old releases by university governance policies). The VM is Microsoft Vista in an IDE partition, it hung after running too long. I had to <em>force quit</em> the application. On reboot the <em>socket</em> file was still there, and it gave the following error message when trying to start it.</p>
<p><a href="http://blog.mclaughlinsoftware.com/wp-content/uploads/2009/12/VMwarefusionvirtualdevice0.png"><img src="http://blog.mclaughlinsoftware.com/wp-content/uploads/2009/12/VMwarefusionvirtualdevice0.png" alt="VMwarefusionvirtualdevice0" title="VMwarefusionvirtualdevice0" style="border:none" width="429" height="301" class="aligncenter size-full wp-image-3324" /></a></p>
<p>Here&#8217;s the error in plain text, so search engines can find it for others.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">Virtual device serial0: File <span style="color: #ff0000;">&quot;/var/folders/Sf/SfvoJITAHMq1Vp8bNI7QZU+++TM/-Tmp-//vmware-mmclaugh/thnuclnt-641/socket&quot;</span> exists, but no server is listening to it.
&nbsp;
There are three possible causes <span style="color: #000000; font-weight: bold;">for</span> this:
 - The server is alive but not ready yet, and you can retry later.
 - The server is busy communicating with another client, so you cannot run this client at the same time.
 - A previous server exited abruptly, and you can remove the <span style="color: #c20cb9; font-weight: bold;">file</span> and try again.
&nbsp;
The device will be disconnected.</pre></div></div>

<p><span style="font-size:125%">How to fix it?</span></p>
<p>Delete the file, right? Yes, but there&#8217;s a trick. Navigating through the <code>-Tmp-</code> directory required a Unix shell trick because the <code>-</code> (dash) is a switch and backquoting it with a <code>\</code> (backslash) didn&#8217;t work. Jeff Yoder, told me the trick to change directory into a dash leading directory name. It was this:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">cd</span> <span style="color: #660033;">--</span> <span style="color: #660033;">-Tmp-</span></pre></div></div>

<p>The <code>--</code> is how most shells mark the end of options to a command. After a <code>--</code> all <code>-</code> (dashes) are treated as ordinary characters.</p>
<p>Mark Olaveson reminded me that using the present working directory before the directory name also worked. It demotes the dash to an ordinary character too.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">cd</span> .<span style="color: #000000; font-weight: bold;">/</span>-Tmp-</pre></div></div>

<p>When I got to the directory, there was the socket file. I deleted it and everything worked like a charm.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">srwxrwxrwx  <span style="color: #000000;">1</span> mmclaugh  staff     <span style="color: #000000;">0</span> Dec  <span style="color: #000000;">8</span> <span style="color: #000000;">13</span>:04 socket</pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://blog.mclaughlinsoftware.com/2009/12/08/vmware-nabs-me-again/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>Windows 7 Static IP</title>
		<link>http://blog.mclaughlinsoftware.com/2009/11/26/windows-7-static-ip/</link>
		<comments>http://blog.mclaughlinsoftware.com/2009/11/26/windows-7-static-ip/#comments</comments>
		<pubDate>Fri, 27 Nov 2009 03:34:15 +0000</pubDate>
		<dc:creator>maclochlainn</dc:creator>
				<category><![CDATA[Microsoft Windows 7]]></category>
		<category><![CDATA[VMWare]]></category>

		<guid isPermaLink="false">http://blog.mclaughlinsoftware.com/?p=3132</guid>
		<description><![CDATA[There are some subtle changes between Windows 7 and either Windows XP and Windows Vista. Since I use virtualization (with VMWare Fusion) extensively to test environments, I seem to go through this drill too often. By the way, I upgraded to VMWare Fusion 3 before testing the production releases of Windows 7. The easiest Windows [...]]]></description>
			<content:encoded><![CDATA[<p>There are some <em>subtle</em> changes between Windows 7 and either Windows XP and Windows Vista. Since I use virtualization (with VMWare Fusion) extensively to test environments, I seem to go through this drill too often. By the way, I upgraded to VMWare Fusion 3 before testing the production releases of Windows 7.</p>
<p>The easiest Windows 7 installation uses DHCP. That&#8217;s what I did before patching the OS, installing virus protection software, and installing a few tools and program. Then, I change from a dynamic IP to static IP address and add a meaningful name to the <code>C:\Windows\System32\Drivers\etc\hosts</code> file. Here are the steps to set a static IP address on Windows 7:</p>
<ol start="1">
<li>Assuming that you&#8217;re in the <em>Category</em> view, you should navigate to the <em>Control Panel</em>, choose <em>Network and Internet</em>, and then click <em>Network and Sharing Center</em>.  This is the window that you should see (click image to enlarge it):</li>
</ol>
<p><a href="http://blog.mclaughlinsoftware.com/wp-content/uploads/2009/11/NetworkSetup1.png"><img src="http://blog.mclaughlinsoftware.com/wp-content/uploads/2009/11/NetworkSetup1.png" alt="NetworkSetup1" title="NetworkSetup1" style="border:none" width="512" height="388" class="aligncenter size-full wp-image-3133" /></a></p>
<ol start="2"<li>Click the <em>Local Area Connection</em> to begin configuring your static IP address.</li>
</ol>
<p><a href="http://blog.mclaughlinsoftware.com/wp-content/uploads/2009/11/NetworkSetup2.png"><img src="http://blog.mclaughlinsoftware.com/wp-content/uploads/2009/11/NetworkSetup2.png" alt="NetworkSetup2" title="NetworkSetup2" width="377" height="456" class="aligncenter size-full wp-image-3135" /></a></p>
<ol start="3">
<li>From the <em>Local Area Connection Status</em> window, click the <em>Details</em> button to see your existing connection details (most likely DHCP). If you&#8217;re running this in VMWare Fusion, the <code>172.16.153.129</code> is the first IP address allocated. You should note the default gateway and DNS server IP address, which should always be <code>172.16.153.2</code>. Click the <em>Close</em> button when you&#8217;ve made note of those IP addresses for subsequent steps.</li>
</ol>
<p><a href="http://blog.mclaughlinsoftware.com/wp-content/uploads/2009/11/NetworkSetup3.png"><img src="http://blog.mclaughlinsoftware.com/wp-content/uploads/2009/11/NetworkSetup3.png" alt="NetworkSetup3" title="NetworkSetup3" width="376" height="444" class="aligncenter size-full wp-image-3137" /></a></p>
<ol start="4">
<li>Back at the <em>Local Area Connection Status</em> window, click the <em>Properties</em> button. It will show you the <em>Local Area Connection Properties</em> dialog. Click on the <em>Internet Protocol Version 4 (TCP/IPv4)</em> in the item box of the dialog window.</li>
</ol>
<p><a href="http://blog.mclaughlinsoftware.com/wp-content/uploads/2009/11/NetworkSetup4.png"><img src="http://blog.mclaughlinsoftware.com/wp-content/uploads/2009/11/NetworkSetup4.png" alt="NetworkSetup4" title="NetworkSetup4" width="377" height="474" class="aligncenter size-full wp-image-3139" /></a></p>
<ol start="5">
<li>Click the <em>Use the following IP address</em> radio button and enter the appropriate values for your static IP address. The default gateway and DNS server are generally different but are the same when you&#8217;re using NAT addressing inside VMWare.</li>
</ol>
<p><a href="http://blog.mclaughlinsoftware.com/wp-content/uploads/2009/11/NetworkSetup5.png"><img src="http://blog.mclaughlinsoftware.com/wp-content/uploads/2009/11/NetworkSetup5.png" alt="NetworkSetup5" title="NetworkSetup5" width="414" height="461" class="aligncenter size-full wp-image-3141" /></a></p>
<p>You should be completed now. If you test the connection, Windows 7 raises and error but everything works after you reboot the operating system.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.mclaughlinsoftware.com/2009/11/26/windows-7-static-ip/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>VMWare Locked Files</title>
		<link>http://blog.mclaughlinsoftware.com/2009/07/25/vmware-locked-files/</link>
		<comments>http://blog.mclaughlinsoftware.com/2009/07/25/vmware-locked-files/#comments</comments>
		<pubDate>Sun, 26 Jul 2009 00:29:15 +0000</pubDate>
		<dc:creator>maclochlainn</dc:creator>
				<category><![CDATA[Mac]]></category>
		<category><![CDATA[VMWare]]></category>

		<guid isPermaLink="false">http://blog.mclaughlinsoftware.com/?p=2966</guid>
		<description><![CDATA[Working on my stuff today, and the Belkin Flip DVI KVM Switch went nuts. First, I lost the keyboard, and then video. After a couple fruitless minutes, I did the unthinkable and opted for the 7 second to oblivion restart while two VMWare instances were up and running. By the way, I disconnected the Belkin [...]]]></description>
			<content:encoded><![CDATA[<p>Working on my stuff today, and the <a href="http://catalog.belkin.com/IWCatProductPage.process?Product_Id=375076">Belkin Flip DVI KVM Switch</a> went nuts. First, I lost the keyboard, and then video. After a couple fruitless minutes, I did the unthinkable and opted for the 7 second to oblivion restart while two VMWare instances were up and running. By the way, I disconnected the Belkin Flip DVI KVM Switch because that was the last straw. For those looking at the product, I&#8217;d advise against it because infrequently the device transmits haze or golden flashing pixels. Also, this wasn&#8217;t the first time the keyboard disconnected itself without rhyme or reason.</p>
<p>All my VMs were locked when I rebooted. It didn&#8217;t matter whether they were running or not when I did the forced shutdown. This is not the image you want to see when you&#8217;re short on time against a fixed deadline.</p>
<p><a href="http://blog.mclaughlinsoftware.com/wp-content/uploads/2009/07/VMWareLockedFile.png"><img src="http://blog.mclaughlinsoftware.com/wp-content/uploads/2009/07/VMWareLockedFile.png" alt="VMWareLockedFile" title="VMWareLockedFile" style="border:none" width="321" height="241" class="aligncenter size-full wp-image-2967" /></a></p>
<p>The fix was simple. You go to the directory where each VM is located and find if you have locked files. You can run this command to find them:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">$ <span style="color: #c20cb9; font-weight: bold;">ls</span> <span style="color: #000000; font-weight: bold;">*</span>.lck</pre></div></div>

<p>If they&#8217;re locked you&#8217;ll see something this:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">564df021-1de5-dec0-942a-37635b35361b.vmem.lck:
M00680.lck
&nbsp;
Windows XP Professional <span style="color: #000000;">32</span>-bit.vmdk.lck:
M25400.lck
&nbsp;
Windows XP Professional <span style="color: #000000;">32</span>-bit.vmx.lck:
M47433.lck</pre></div></div>

<p>You need to delete all three files, I used this command:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">$ <span style="color: #c20cb9; font-weight: bold;">rm</span> <span style="color: #660033;">-rf</span> <span style="color: #000000; font-weight: bold;">*</span>.lck</pre></div></div>

<p>When you restart VMWare Fusion, everything will be fine. Hope this helps a few folks.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.mclaughlinsoftware.com/2009/07/25/vmware-locked-files/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Reluctant Print Sharing</title>
		<link>http://blog.mclaughlinsoftware.com/2009/06/07/reluctant-print-sharing/</link>
		<comments>http://blog.mclaughlinsoftware.com/2009/06/07/reluctant-print-sharing/#comments</comments>
		<pubDate>Sun, 07 Jun 2009 18:00:06 +0000</pubDate>
		<dc:creator>maclochlainn</dc:creator>
				<category><![CDATA[Mac]]></category>
		<category><![CDATA[Microsoft XP]]></category>
		<category><![CDATA[Printer Driver]]></category>
		<category><![CDATA[VMWare]]></category>

		<guid isPermaLink="false">http://blog.mclaughlinsoftware.com/?p=2490</guid>
		<description><![CDATA[About 8 months ago I published how to set up a shared network printer in Windows XP, using VMWare Fusion on a Mac OS X. Recently, I went to follow my own instructions and found they failed with an older Windows XP media &#8211; OUCH! When I checked whether or not the version of Windows [...]]]></description>
			<content:encoded><![CDATA[<p>About 8 months ago I published <a href="http://blog.mclaughlinsoftware.com/2008/10/06/setting-up-a-printer-in-vmware-windows-instance/">how to set up a shared network printer in Windows XP</a>, using VMWare Fusion on a Mac OS X. Recently, I went to follow my own instructions and found they failed with an older Windows XP media &#8211; OUCH!</p>
<p>When I checked whether or not the version of Windows XP knew about my much newer printer, the problem became clear. If you want to set up a newer printer than Windows recognizes, you&#8217;ll need the vendors media.</p>
<p>Here are the steps to install a printer when Windows can&#8217;t recognize the network printer:</p>
<p>1. First make sure you navigate to <em>Virtual Machine</em> on the VMWare Fusion menu, choose <em>CD/DVD</em> and then <em>Connect CD/DVD</em> to proceed.</p>
<p><img src="http://blog.mclaughlinsoftware.com/wp-content/uploads/2009/06/vmprinterconnectcd.png" alt="vmprinterconnectcd" title="vmprinterconnectcd" style="border:none" width="466" height="514" class="aligncenter size-full wp-image-2491" /></p>
<p>2. Insert the disk that came with your printer. My disk is for my HP 2420 duplex printer on Windows XP, 32-bit. If you&#8217;re installing to a 64-bit version of Windows, the installer will die and the complexity rises as you download the media from HP and manually install the driver files.</p>
<p>The screen shots are those for configuring a printer because I neglected to capture the driver install shots earlier and didn&#8217;t have the time to do so. When I have to setup another similar version, I&#8217;ll add those. The first screen shot after the welcome screen and choosing your language follows. Click the <em>Next</em> button to continue.</p>
<p><img src="http://blog.mclaughlinsoftware.com/wp-content/uploads/2009/06/vmwarehpshot1.png" alt="vmwarehpshot1" title="vmwarehpshot1" style="border:none" width="504" height="388" class="aligncenter size-full wp-image-2493" /></p>
<p>3. Choose the <em>Add an additional printer on printer driver</em> radio button, then click the <em>Next</em> button to proceed.</p>
<p><img src="http://blog.mclaughlinsoftware.com/wp-content/uploads/2009/06/vmwarehpshot2.png" alt="vmwarehpshot2" title="vmwarehpshot2" style="border:none" width="504" height="388" class="aligncenter size-full wp-image-2494" /></p>
<p>4. Choose the <em>Connected via the network</em> radio button, and then click the <em>Next</em> button to continue.</p>
<p><img src="http://blog.mclaughlinsoftware.com/wp-content/uploads/2009/06/vmwarehpshot3.png" alt="vmwarehpshot3" title="vmwarehpshot3" style="border:none" width="504" height="388" class="aligncenter size-full wp-image-2495" /></p>
<p>5. Choose the <em>Basic network setup for a PC or server (recommended)</em> radio button, and then click <em>Next</em> button to continue.</p>
<p><img src="http://blog.mclaughlinsoftware.com/wp-content/uploads/2009/06/vmwarehpshot4.png" alt="vmwarehpshot4" title="vmwarehpshot4" style="border:none" width="504" height="388" class="aligncenter size-full wp-image-2496" /></p>
<p>6. Choose a method to search by enabling the <em>Search from a list of detected printers (recommended)</em>. This choice fails from the normal process that adds a printer because it can&#8217;t detect newer printers. Click the <em>Next</em> button to continue.</p>
<p><img src="http://blog.mclaughlinsoftware.com/wp-content/uploads/2009/06/vmwarehpshot5.png" alt="vmwarehpshot5" title="vmwarehpshot5" style="border:none" width="510" height="404" class="aligncenter size-full wp-image-2497" /></p>
<p>7. This next screen is a progress bar, and it takes enough time that you&#8217;ll notice it. Click the <em>Next</em> button to continue.</p>
<p><img src="http://blog.mclaughlinsoftware.com/wp-content/uploads/2009/06/vmwarehpshot6.png" alt="vmwarehpshot6" title="vmwarehpshot6" style="border:none" width="510" height="404" class="aligncenter size-full wp-image-2498" /></p>
<p>8. Hopefully, you&#8217;ll find your printer. Click the <em>Yes, install this printer.</em> Click the <em>Next</em> button to continue.</p>
<p><img src="http://blog.mclaughlinsoftware.com/wp-content/uploads/2009/06/vmwarehpshot7.png" alt="vmwarehpshot7" title="vmwarehpshot7" style="border:none" width="510" height="404" class="aligncenter size-full wp-image-2499" /></p>
<p>9. The following confirms the settings. Unless you&#8217;ve manually assigned the Network Interface Card for the printer to a fixed IP address, I&#8217;d leave these settings alone. Click the <em>Next</em> button to continue.</p>
<p><img src="http://blog.mclaughlinsoftware.com/wp-content/uploads/2009/06/vmwarehpshot8.png" alt="vmwarehpshot8" title="vmwarehpshot8" style="border:none" width="510" height="404" class="aligncenter size-full wp-image-2500" /></p>
<p>10. If you&#8217;ve manually installed the Post Script driver you may want to enable it here. As to the <em>HP LaserJet Toolbox</em>, I would definitely leave it alone. Click the <em>Next</em> button to continue.</p>
<p><img src="http://blog.mclaughlinsoftware.com/wp-content/uploads/2009/06/vmwarehpshot9.png" alt="vmwarehpshot9" title="vmwarehpshot9" style="border:none" width="504" height="388" class="aligncenter size-full wp-image-2501" /></p>
<p>11. This is where you can rename your printer if you have a desired name. Enter any change from the default, and then click <em>Next</em> to continue.</p>
<p><img src="http://blog.mclaughlinsoftware.com/wp-content/uploads/2009/06/vmwarehpshot10.png" alt="vmwarehpshot10" title="vmwarehpshot10" style="border:none" width="504" height="388" class="aligncenter size-full wp-image-2502" /></p>
<p>12. Generally, it&#8217;s a very bad idea to share a printer from a virtual machine instance. The only time I&#8217;d even think about it would be if I were trying to replicate a problem with a nested virtual machine. Therefore, I&#8217;d suggest you choose <em>Not Shared</em>, and then click <em>Next</em> to continue.</p>
<p><img src="http://blog.mclaughlinsoftware.com/wp-content/uploads/2009/06/vmwarehpshot11.png" alt="vmwarehpshot11" title="vmwarehpshot11" style="border:none" width="504" height="388" class="aligncenter size-full wp-image-2503" /></p>
<p>13. Here you can put a location in for the printer and any comment you&#8217;d like to have for it. Click the <em>Next</em> button to continue.</p>
<p><img src="http://blog.mclaughlinsoftware.com/wp-content/uploads/2009/06/vmwarehpshot12.png" alt="vmwarehpshot12" title="vmwarehpshot12" style="border:none" width="504" height="388" class="aligncenter size-full wp-image-2504" /></p>
<p>14. Everything to here as been choosing the configuration. Click the <em>Install</em> button to install the printer.</p>
<p><img src="http://blog.mclaughlinsoftware.com/wp-content/uploads/2009/06/vmwarehpshot13.png" alt="vmwarehpshot13" title="vmwarehpshot13" style="border:none" width="504" height="388" class="aligncenter size-full wp-image-2505" /></p>
<p>15. This progress bar fills four times, so take a break. When it is done, click <em>Next</em> to continue. Don&#8217;t click that <em>Cancel</em> button when it hangs for bit because it may do that. You&#8217;ll need to be patient, after all it is Microsoft&#8217;s operating system and most likely an HP driver.</p>
<p><img src="http://blog.mclaughlinsoftware.com/wp-content/uploads/2009/06/vmwarehpshot14.png" alt="vmwarehpshot14" title="vmwarehpshot14" style="border:none" width="504" height="388" class="aligncenter size-full wp-image-2506" /></p>
<p>16. You&#8217;ve now completed the installation, click the <em>Finish</em> button to complete the process.</p>
<p><img src="http://blog.mclaughlinsoftware.com/wp-content/uploads/2009/06/vmwarehpshot15.png" alt="vmwarehpshot15" title="vmwarehpshot15" style="border:none" width="506" height="386" class="aligncenter size-full wp-image-2507" /></p>
<p>Hopefully, this helps a couple folks that are configuring a Windows XP printer inside a 32-bit Windows XP installation.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.mclaughlinsoftware.com/2009/06/07/reluctant-print-sharing/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>VMWare, Spaces, and F8</title>
		<link>http://blog.mclaughlinsoftware.com/2009/04/19/vmware-spaces-and-f8/</link>
		<comments>http://blog.mclaughlinsoftware.com/2009/04/19/vmware-spaces-and-f8/#comments</comments>
		<pubDate>Sun, 19 Apr 2009 06:20:03 +0000</pubDate>
		<dc:creator>maclochlainn</dc:creator>
				<category><![CDATA[Microsoft XP]]></category>
		<category><![CDATA[VMWare]]></category>

		<guid isPermaLink="false">http://blog.mclaughlinsoftware.com/?p=2247</guid>
		<description><![CDATA[Starting writing with the new publisher&#8217;s template and found that I couldn&#8217;t use Word 2007 or Word 2008. I ran into a neat twist with the F8 key when building a Windows XP virtual machine for Word 2003. Whether inside or outside the virtual machine, the focus for the F8 key always stayed with Mac [...]]]></description>
			<content:encoded><![CDATA[<p>Starting writing with the new publisher&#8217;s template and found that I couldn&#8217;t use Word 2007 or Word 2008. I ran into a neat twist with the F8 key when building a Windows XP virtual machine for Word 2003. Whether inside or outside the virtual machine, the focus for the F8 key always stayed with Mac OS X. That meant F8 launches <em>Spaces</em> instead of letting the Windows XP install proceed.</p>
<p>The fix was simple enough, I disabled F8 as the launch key for <em>Spaces</em>. Then, it let the Windows XP install work.</p>
<p>Should that work around be there? It&#8217;s probably a bug in VMWare Fusion, Version 2.0 (116369). If you know for sure, let me and other readers know.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.mclaughlinsoftware.com/2009/04/19/vmware-spaces-and-f8/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>VMWare and Fedora 10</title>
		<link>http://blog.mclaughlinsoftware.com/2009/04/11/vmware-and-fedora-10/</link>
		<comments>http://blog.mclaughlinsoftware.com/2009/04/11/vmware-and-fedora-10/#comments</comments>
		<pubDate>Sun, 12 Apr 2009 00:01:54 +0000</pubDate>
		<dc:creator>maclochlainn</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Mac]]></category>
		<category><![CDATA[Red Hat]]></category>
		<category><![CDATA[VMWare]]></category>

		<guid isPermaLink="false">http://blog.mclaughlinsoftware.com/?p=2226</guid>
		<description><![CDATA[It sometimes gets tiresome to sort the VMWare compatibility issues with Linux release-by-release but at the end of the cycle it&#8217;s fine. I downloaded the current Fedora 10 Live release because it is so much smaller than the install disk. It uses a kernel of 2.6.27.5-117.fc10.i686. I encountered a critical errors when I tried to [...]]]></description>
			<content:encoded><![CDATA[<p>It sometimes gets tiresome to sort the VMWare compatibility issues with Linux release-by-release but at the end of the cycle it&#8217;s fine. I downloaded the current Fedora 10 Live release because it is so much smaller than the install disk. It uses a kernel of 2.6.27.5-117.fc10.i686. I encountered a critical errors when I tried to install the VMWare Toolkit from VMWare Fusion, version 2.0.3 (156731). The only error guidance you&#8217;ll get is that there isn&#8217;t any make file.</p>
<p>There&#8217;s a twist here if you&#8217;re most familiar with Ubuntu and <code>sudo</code> command execution. You need to <code>su</code> to the <code>root</code> account and run everything as <code>root</code> user. An alternative would be to edit the <code>/etc/inittab</code> file to allow the <code>root</code> user to boot the instance. The default is 5 (X11). You enable the <code>root</code> user by changing it to 3 (full multiuser mode). Don&#8217;t forget to change it back, you really shouldn&#8217;t log in as the <code>root</code> user. Anyway, you&#8217;ll have to do it to run the VMWare Toolkit successfully as shown later in the post.</p>
<p>You fix the incompatibility of the VMWare Fusion Toolkit by downloading the following two missing RPMs. You should be able to find them <a href="http://rpmfind.net/linux/RPM/">here</a>. As to why they&#8217;re not in the Live DVD distribution, who knows.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">binutils-2.18.50.0.9-8.fc10.i386.rpm
gcc-4.3.2-7.i386.rpm
glibc-<span style="color: #000000;">2.9</span>-2.i686.rpm
glibc-devel-<span style="color: #000000;">2.9</span>-2.i386.rpm
glibc-headers-<span style="color: #000000;">2.9</span>-2.i386.rpm
kernel-devel-2.6.27.5-117.fc10.i686.rpm
kernel-headers-2.6.27.5-117.fc10.i386.rpm
libgomp-4.3.2-7.i386.rpm</pre></div></div>

<p>You can&#8217;t run some of them through the RPM utility, so you should probably run them all at the command line. The command line syntax and sequence for these packages is:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">rpm <span style="color: #660033;">-ivh</span> kernel-headers-2.6.27.5-117.fc10.i386.rpm
rpm <span style="color: #660033;">-ivh</span> kernel-devel-2.6.27.5-117.fc10.i686.rpm
rpm <span style="color: #660033;">-ivh</span> binutils-2.18.50.0.9-8.fc10.i386.rpm
rpm <span style="color: #660033;">-ivh</span> libgomp-4.3.2-7.i386.rpm
rpm <span style="color: #660033;">-ivh</span> glibc-headers-<span style="color: #000000;">2.9</span>-2.i386.rpm
rpm <span style="color: #660033;">-ivh</span> glibc-devel-<span style="color: #000000;">2.9</span>-2.i386.rpm
rpm <span style="color: #660033;">-ivh</span> glibc-<span style="color: #000000;">2.9</span>-2.i686.rpm
rpm <span style="color: #660033;">-ivh</span> gcc-4.3.2-7.i386.rpm</pre></div></div>

<p>As the <code>root</code> user, you can now install the VMWare Toolkit. While running the installation, you&#8217;ll receive a prompt to confirm the <code>/usr/src/linux/include</code>. Don&#8217;t accept the default path because it won&#8217;t work unless you created a symbolic link. The kernel header files require you to enter the following path:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>src<span style="color: #000000; font-weight: bold;">/</span>kernels<span style="color: #000000; font-weight: bold;">/</span>2.6.27.5-117.fc10.i686<span style="color: #000000; font-weight: bold;">/</span>include</pre></div></div>

<p>Everything should work finxs e when you compile the modules. Hope this helps a couple folks.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.mclaughlinsoftware.com/2009/04/11/vmware-and-fedora-10/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Aborting hung VMWare</title>
		<link>http://blog.mclaughlinsoftware.com/2009/04/11/aborting-hung-vmware/</link>
		<comments>http://blog.mclaughlinsoftware.com/2009/04/11/aborting-hung-vmware/#comments</comments>
		<pubDate>Sat, 11 Apr 2009 19:39:19 +0000</pubDate>
		<dc:creator>maclochlainn</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Red Hat]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[VMWare]]></category>

		<guid isPermaLink="false">http://blog.mclaughlinsoftware.com/?p=2218</guid>
		<description><![CDATA[Customizing the toolbar is one of the things that I&#8217;ve found important in using VMWare Fusion to test various Linux distributions. It&#8217;s nice they put Suspend by default on the toolbar but it would be nicer still if they put Shut Down. I got tired of looking for the PID to manually kill the virtualization [...]]]></description>
			<content:encoded><![CDATA[<p>Customizing the toolbar is one of the things that I&#8217;ve found important in using VMWare Fusion to test various Linux distributions. It&#8217;s nice they put <em>Suspend</em> by default on the toolbar but it would be nicer still if they put <em>Shut Down</em>. I got tired of looking for the PID to manually kill the virtualization from the <em>Terminal</em> command line. It is so much easier to add a <em>Shut Down</em> widget before trying to install VMWare Tools because that&#8217;s where some distributions hang.</p>
<p>Here are the steps to customize the toolbar:</p>
<p>1. Right click on the toolbar before running the VMWare instance, and you&#8217;ll see this context menu. Choose the <em>Customize Toolbar&#8230;</em> choice from the list.</p>
<p><img src="http://blog.mclaughlinsoftware.com/wp-content/uploads/2009/04/vmwarecustomize1.png" alt="vmwarecustomize1" title="vmwarecustomize1" style="border:none" width="186" height="160" class="aligncenter size-full wp-image-2219" /></p>
<p>2.  The prior step lets you customize the toolbar though the following menu option dialog. Just click on the icon you want and drag it on to the toolbar. I&#8217;d suggest dragging <em>Shut Down</em> and <em>Full Screen</em> on to the toolbar.</p>
<p><img src="http://blog.mclaughlinsoftware.com/wp-content/uploads/2009/04/vmwarecustomize2.png" alt="vmwarecustomize2" title="vmwarecustomize2" style="border:none" width="677" height="405" class="aligncenter size-full wp-image-2220" /></p>
<p>I prefer putting the <em>Shut Down</em> to the left of the <em>Suspend</em> button, like this:</p>
<p><img src="http://blog.mclaughlinsoftware.com/wp-content/uploads/2009/04/vmwarecustomize3.png" alt="vmwarecustomize3" title="vmwarecustomize3" style="border:none" width="132" height="74" class="aligncenter size-full wp-image-2221" /></p>
<p>Hope this helps somebody.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.mclaughlinsoftware.com/2009/04/11/aborting-hung-vmware/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
