Posts

Showing posts with the label VMware

Add shared folders to your VMware VM

Image
Having a few different VMs, but unable to edit them due to not having VMware Workstation can be a hassle. But if you understand the configuration file, *.vmx, and the available options you can actually change up quite a few things. The latest for me was adding a shared folder, so i could get some files from the Host to the VM. Even though I'm using Windows, the Ubuntus Sharing blog had an article the helped me. With the following lines, I shared the C and E drives, with E being Read Only. isolation.tools.hgfs.disable = "FALSE" sharedFolder.maxNum = "2" sharedFolder0.present = "TRUE" sharedFolder0.enabled = "TRUE" sharedFolder0.readAccess = "TRUE" sharedFolder0.writeAccess = "TRUE" sharedFolder0.hostPath = "C:\" sharedFolder0.guestName = "C" sharedFolder0.expiration = "never" sharedFolder1.present = "TRUE" sharedFolder1.enabled = "TRUE" sharedFolder1.re

Add a network adapter to your VMware VM

Image
I recently downloaded 5 VMs from a cloud service my company is using, and 4 of them couldn't create a network connection. I discovered that the 4 that failed had named network connections for their network adapters, and that it required VMware Workstation to change (which I didn't have). Through some research and help from others I discovered that additional network adapters could be added to an existing VM by editing its *.vmx file with a text editor such as Notepad. As noted in Step 2 of Jesin's Blog post, " Adding Custom Network Adapter in VMware Player ", you can added a few lines to the end of the file to add the new network adapter. I didn't follow Step 1, which is defining another network card on the Host, I just modified the file to use the existing network card. The key is to reference the next available network card in the VM and the network card reference in your Host. I did use the VMware Network Editor (vmnetcfg.exe), which came with the VM