If you love VMware you have to love Apple and if you love ESX4.0 you have to love a Mac. Well, at least I know I do. Both companies are light years ahead of their competitors and characterized by superior design, excellent performance and both fighting Microsoft’s marketing machine.
Since I’m a great Mac fan and while reading the excellent whitepaper from Xtravirt on Installing ESX 4.0 on Workstation, I wondered how to install ESX 4.0 on VMware Fusion.
Here’s how I did it:
- Start VMware Fusion and create a new Virtual Machine (File -> New). Click on the Continue without disk button.

- Select the Create a custom virtual machine radio button and click Continue.

- In the Operating System field select Linux and in the Version field select Red Hat Enterprise Linux 5 64-bit. Click Continue.

- Click on the Customize Settings button and enter a name and location for the virtual machine. Click Save.

- The new virtual machine gets created and the settings page appears. Click on Processors & RAM and increase the RAM to a minimum of 2048MB. Click Show All to get back.

- Click on Printers and deselect the Enabled checkbox. Click Show All to get back.

- Click on Network and select the Connect directly to the physical network (Bridged) option. Click Show All to get back.

- Click on Hard Disks and select the Pre-allocate disk space checkbox. Next deselect the Split into 2 GB files checkbox. I left the default disk size of 20GB. Click Show All to get back. In the popup window select Apply to apply the changes to the disk file.

- Click on CDs & DVDs. Select the Use disk image option and browse to the VMware ESX 4.0 ISO file. Click Show All to get back.

- Click on Sound and click the Remove Sound Device button. Click Remove in the popup window and click Show All to get back.

- Click on USB Devices and click the Remove USB Controller button. Click Remove in the popup window and click Show All to get back.

- Click on Other Devices and click the minus sign on the bottom-left. Click Remove in the popup window to remove the serial port and click Show All to get back.

- We’re all done now and we can close the settings window.
To be able to create virtual machines inside our virtual ESX server we need to edit the .vmx file. So close fusion and browse to the location where you stored the ESX VM. Select it, right click and select show package contents. Now locate the .vmx file and open it in TextEdit and add the following lines:
monitor_control.restrict_backdoor = TRUE
monitor_control.vt32 = TRUE - Now we’re ready to go. Start VMware Fusion again and power on the virtual ESX server. From here on, follow the Xtravirt documentation starting at “chapter 4.0 – Install VMware ESX 4.0″
I first ran this procedure on VMware Fusion 2.0.2 and my VM crashed whenever I tried to power on a VM inside the ESX server. After upgrading to VMware Fusion 2.0.4 this issue was resolved. So make sure to upgrade to VMware Fusion 2.0.4 which is a free, downloadable upgrade for all VMware Fusion customers.

on Jul 6th, 2009 at 11:46 pm
[...] Install ESXi 4.0 on Workstation 6.5.2 as a VM vSphere ESXi as a VM – VMKernel Traffic Not Working Installing ESX 4.0 on VMware Fusion Running VMware ESXi 4/vSphere in VMware Workstation (video) Author: esiebert7625 Categories: [...]
on Jul 24th, 2009 at 11:11 am
It works on VMware workstation too;
http://www.jhangra.com/blog/2009/07/how-to-install-esxvsphere-4-0-in-vmware-workstation-6-5-2/
on Oct 7th, 2009 at 9:21 pm
I keep getting a problem where it says “Could not open /dev/vmmon: No such file or directory.” Any ideas?
on Oct 11th, 2009 at 2:03 pm
Hi Prasanth,
I don’t know exactly, but it looks like VMware Fusion isn’t initialising properly.
Perhaps try upgrading to the latest version or reinstalling Fusion.
-Arnim
on Dec 10th, 2009 at 5:08 pm
[...] nicht vernünftig, da ein Hypervisor innerhalb eines Hypervisors nicht unterstützt wird. Doch Dank eines Blog-Artikels habe ich es dennoch ans Laufen bekommen, und nun kann ich ESXi ausgiebig [...]
on Dec 30th, 2009 at 5:33 pm
Any ideas how to get 2 ESX 4.0 servers to run on Fusion and connect to the same vCenter server.
Also, with my setup, (running vCenter Server in XP Pro), it drops every minute because I can’t seem to open port 902. Any ideas?
on Jan 3rd, 2010 at 10:17 pm
Hi Prasanth,
To setup 2 ESX4 servers on Fusion just use the same procedure to install an additional ESX4 server. To connect the machines to the vcenter server depends on several things.
Make sure that all 3 vms are on the same network and have a unique ip-address.
So if your vcenter server is NOT running on your Mac, make sure that the network settings of both ESX vms is set to Bridged. (You cannot use NAT in this setup, because both vms will share the same external ip-address with this setting).
If set to bridged, the vms are connected to the same network as your Mac, so setup ip-addresses accordingly. After this is done, check connectivity between vcenter and vm (I use Ping) and connect your ESX servers to your vcenter server.
If your vcenter server runs on your Mac too, you can choose any vm network setting you like, as long as you choose the SAME setting on all 3 vms. Which setting to choose depends on if you want a connection to your external network or not. I would prefer the Host-Only setting, to isolate the environment from the external network.
The ip-adresses to assign to your vms (in case you don’t want to use DHCP) depends on your networking setting again. Go into a terminal windows and issue the command “ifconfig”. Look for the ip info on network adapters vmnet1 (Host-Only) and vmnet8 (NAT) and configure an unique ip-address in the given network range on all of your vms. After this is done, check connectivity between vcenter and vm (I use Ping) and connect your ESX servers to your vcenter server.
Regarding your networking problem on your vcenter server running on WinXP, I suggest disabling the firewall on your WinXP guest.
-Arnim
on Jan 6th, 2010 at 11:40 am
[...] Installing ESX 4.0 on VMware Fusion [...]
on Jan 22nd, 2010 at 1:30 am
Hi Arnim,
Thank you, this was exactly what I was looking for. And yes VMware and Apple rock!
I do experience some very slow performance (both vm consuming lots of host CPU when both are running, in particular the WinXP vm, which goes wild as soon as vSphere client is active) and have no explanation yet (in order to fix it or live with it). Somehow I feel that Fusion is having difficulties managing the simultaneous workloads of the 2 VMs. Do you have similar experiences? Could you comment on that?
This is my current setup:
Host: MacBook 13 (late 2008) with 2.0 Ghz P7380 Core 2 Duo (P7350, has Intel VT) and 4 GB RAM
OS X 10.5.8 with Fusion 2.0.5 (build 173382), performance preference for vm disk performance
VM1 : 1 CPU, 1024 MB, 40 GB (split disk) Bridged Network, Win XP Pro to run vSphere Client v4.0
VM2 : 1 CPU, 2048 MB, 10GB pre-allocated disk, Bridged Network, ESXi 4.0 (build 208167)
Thanks,
Peter
on Feb 1st, 2010 at 9:54 am
To be honest, I don’t use ESX inside Fusion a lot, because I’m lucky to have a testlab for ESX stuff. In my experience the vSphere client is quite cpu and memory intensive, so maybe you’re running out of memory. You could try to increase the memory on your WinXP vm. I calculate 1GB extra for just vSphere client, so I would increase it to 1.5GB. Unfortunately you’re limited to 4GB overall memory on your MacBook, which doesn’t give you much flexibility.
Another thing I noticed in your configuration is that the ESX vm has only 1 CPU while mimimum requirements are 2 CPU. Try increasing that as wel.
Hope this helps.