Showing posts with label VMware. Show all posts
Showing posts with label VMware. Show all posts

Friday, August 5, 2011

Change VMWare Player 3.X IP Address


To change the IP address range or the DHCP addresses when using Windows as the host OS use the program called vmnetcfg.exe.
This program is included in the installer but isn’t installed. To get to it:
1. Run the installer with /e option. For example:
VMware-player-3.0.0-197124.exe /e vm
All contents will be extracted to “vm” folder.
2. Open “network.cab” and copy vmnetcfg.exe to your installation folder,
typically “C:\Program Files\VMware\VMware Player\”.
Now you can use vmnetcfg.

Monday, May 31, 2010

VMware - Windows XP setup cannot find any hard disk drives during installation

  • When installing Windows XP in a virtual machine on VMware ESX, Windows setup fails to detect hard disks in the virtual machine
  • You receive the following error:

    Setup did not find any hard disk drives installed in your computer.

    When installing Windows XP in a virtual machine setup is unable to find the hard drives because no compatible disk controller driver is shipped on the Windows XP setup disc. You must supply the correct drive during setup to proceed with installation.

    To ensure you supply the correct drive:

    1. When creating the new virtual machine, select the BusLogic option for the Virtual SCSI Controller mode.
    2. Download VMware SCSI drvier floppy image from http://download3.vmware.com/software/vmscsi-1.2.0.4.flp and upload to Datastore.
    3. Attach or insert the Windows XP installation media and connect it to the virtual machine.
    4. Power on the virtual machine and open a console view of the virtual machine.
    5. Click in the console to assign keyboard control to the virtual machine.
    6. When the blue Windows setup screen appears, press F6 when prompted.
    7. When prompted for additional drivers, press S.
    8. Attach VMware SCSI driver floppy image to virtual floppy drive.
    9. Press Enter to select the VMware SCSI Controller driver, and then Enter again to continue setup.
    10. Complete Windows XP setup normally from this point.
    11. After setup has completed the first phase of installation and restarts the virtual machine, you need to disconnect or unassign the virtual floppy drive or the virtual machine may attempt to boot from the floppy image.


Sunday, April 11, 2010

VMware ESXi - How to enable SSH

VMMWare ESXi is installed and started with SSH disabled. To enable it is an unsupported option, as it allows a user access to the console, operating system and associated file system.

So to get read/write access to vmfs, one needs to activate SSH on VMWare:

  • At the console of ESXi host, press Alt-F1 to access bypass the simple management window and gain access to the console window.
  • There is no prompt and no text echo, but type unsupported and hit the enter key.
  • Enter the password you’ve assigned for root.
  • A prompt of ~ # will become visible.
  • Use vi to edit /etc/inetd.conf.
  • Find the line that begins with #ssh and remove the #, and save the file.
  • Use ps | grep inetd to find the existing inetd process id.
  • Restart the process with kill -HUP id.
  • You will now have access via SSH.

After logging in, the default datastore can be found at /vmfs/volumes/DataStore1.