Top Banner
CLONING A VIRTUAL MACHINE IN "VMWARE PLAYER" IN A "WINDOWS" HOST COMPUTER HIGH-LEVEL EXECUTIVE SUMMARY: In "VMware Player", you can copy a virtual machine directly, using "Windows Explorer" or "My Computer" or the "copy" command at a command prompt. In "VMware Player", you can copy a virtual hard drive directly, using "Windows Explorer" or "My Computer" or the "copy" command at a command prompt. A key advantage of "VMware Player" over "Oracle VM VirtualBox" and "Windows Virtual PC" is the ease with which virtual machines and virtual hard drives can be cloned in "VMware Player". TECHNICAL DETAILS: When you follow this procedure to clone a virtual machine, the new virtual machine that you create will have a new, unique "UUID.BIOS" (="computer UUID"). However, the virtual hard drive of the new virtual machine will have the same "hard disk UUID" as the virtual hard drive of the original virtual machine. In a "VMware Player", the *.vmx file of a virtual machine stores the following: the "UUID.BIOS", the "UUID.Location", and the unique MAC addresses of each virtual network adapter. STEP-BY-STEP EXAMPLE: * In "VMware Player", when the host is "Windows 7" or "Windows Vista", the default location for a virtual machine and its virtual hard drive file is located at C:\Users\<your profile name>\My Documents\Virtual Machines\
44

CLONING A VIRTUAL MACHINE IN VMWARE PLAYER IN … · CLONING A VIRTUAL MACHINE IN "VMWARE PLAYER" IN A "WINDOWS" HOST COMPUTER HIGH-LEVEL EXECUTIVE SUMMARY: In "VMware Player", you

Apr 16, 2018

Download

Documents

dangnhi
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: CLONING A VIRTUAL MACHINE IN VMWARE PLAYER IN … · CLONING A VIRTUAL MACHINE IN "VMWARE PLAYER" IN A "WINDOWS" HOST COMPUTER HIGH-LEVEL EXECUTIVE SUMMARY: In "VMware Player", you

CLONING A VIRTUAL MACHINE IN "VMWARE PLAYER"

IN A "WINDOWS" HOST COMPUTER HIGH-LEVEL EXECUTIVE SUMMARY: In "VMware Player", you can copy a virtual machine directly, using "Windows Explorer" or "My Computer" or the "copy" command at a command prompt. In "VMware Player", you can copy a virtual hard drive directly, using "Windows Explorer" or "My Computer" or the "copy" command at a command prompt. A key advantage of "VMware Player" over "Oracle VM VirtualBox" and "Windows Virtual PC" is the ease with which virtual machines and virtual hard drives can be cloned in "VMware Player".

TECHNICAL DETAILS: When you follow this procedure to clone a virtual machine, the new virtual machine that you create will have a new, unique "UUID.BIOS" (="computer UUID"). However, the virtual hard drive of the new virtual machine will have the same "hard disk UUID" as the virtual hard drive of the original virtual machine. In a "VMware Player", the *.vmx file of a virtual machine stores the following: the "UUID.BIOS", the "UUID.Location", and the unique MAC addresses of each virtual network adapter.

STEP-BY-STEP EXAMPLE: * In "VMware Player", when the host is "Windows 7" or "Windows Vista", the default location for a virtual machine and its virtual hard drive file is located at C:\Users\<your profile name>\My Documents\Virtual Machines\

Page 2: CLONING A VIRTUAL MACHINE IN VMWARE PLAYER IN … · CLONING A VIRTUAL MACHINE IN "VMWARE PLAYER" IN A "WINDOWS" HOST COMPUTER HIGH-LEVEL EXECUTIVE SUMMARY: In "VMware Player", you

In "VMware Player", when the host is "Windows XP", the default location for a virtual machine and its virtual hard drive file is located at C:\Documents and Settings\<your profile name>\My Documents\Virtual Machines\ In "VMware Player", a folder that by default has the same name as the name of the virtual machine is created, when you create a virtual machine:

*

Page 3: CLONING A VIRTUAL MACHINE IN VMWARE PLAYER IN … · CLONING A VIRTUAL MACHINE IN "VMWARE PLAYER" IN A "WINDOWS" HOST COMPUTER HIGH-LEVEL EXECUTIVE SUMMARY: In "VMware Player", you

* To copy an entire virtual machine in "VMware Player", you can use the right mouse button to drag it to a new location.

Page 4: CLONING A VIRTUAL MACHINE IN VMWARE PLAYER IN … · CLONING A VIRTUAL MACHINE IN "VMWARE PLAYER" IN A "WINDOWS" HOST COMPUTER HIGH-LEVEL EXECUTIVE SUMMARY: In "VMware Player", you

* When your mouse cursor reaches the desired location, release the mouse button and a popup context menu will be displayed:

Click on "Copy here": *

Page 5: CLONING A VIRTUAL MACHINE IN VMWARE PLAYER IN … · CLONING A VIRTUAL MACHINE IN "VMWARE PLAYER" IN A "WINDOWS" HOST COMPUTER HIGH-LEVEL EXECUTIVE SUMMARY: In "VMware Player", you

*

*

Page 6: CLONING A VIRTUAL MACHINE IN VMWARE PLAYER IN … · CLONING A VIRTUAL MACHINE IN "VMWARE PLAYER" IN A "WINDOWS" HOST COMPUTER HIGH-LEVEL EXECUTIVE SUMMARY: In "VMware Player", you

*

*

Page 7: CLONING A VIRTUAL MACHINE IN VMWARE PLAYER IN … · CLONING A VIRTUAL MACHINE IN "VMWARE PLAYER" IN A "WINDOWS" HOST COMPUTER HIGH-LEVEL EXECUTIVE SUMMARY: In "VMware Player", you

*

* Windows will give the new virtual machine folder a name in the format of <name of original virtual machine folder> - Copy

Page 8: CLONING A VIRTUAL MACHINE IN VMWARE PLAYER IN … · CLONING A VIRTUAL MACHINE IN "VMWARE PLAYER" IN A "WINDOWS" HOST COMPUTER HIGH-LEVEL EXECUTIVE SUMMARY: In "VMware Player", you

Use the right mouse button to click on the newly-created virtual machine folder:

Page 9: CLONING A VIRTUAL MACHINE IN VMWARE PLAYER IN … · CLONING A VIRTUAL MACHINE IN "VMWARE PLAYER" IN A "WINDOWS" HOST COMPUTER HIGH-LEVEL EXECUTIVE SUMMARY: In "VMware Player", you

* A pop-up context menu will be displayed:

Page 10: CLONING A VIRTUAL MACHINE IN VMWARE PLAYER IN … · CLONING A VIRTUAL MACHINE IN "VMWARE PLAYER" IN A "WINDOWS" HOST COMPUTER HIGH-LEVEL EXECUTIVE SUMMARY: In "VMware Player", you
Page 11: CLONING A VIRTUAL MACHINE IN VMWARE PLAYER IN … · CLONING A VIRTUAL MACHINE IN "VMWARE PLAYER" IN A "WINDOWS" HOST COMPUTER HIGH-LEVEL EXECUTIVE SUMMARY: In "VMware Player", you

Click on "Rename" in the pop-up context menu:

* Type in an appropriate name for the new virtual machine:

Page 12: CLONING A VIRTUAL MACHINE IN VMWARE PLAYER IN … · CLONING A VIRTUAL MACHINE IN "VMWARE PLAYER" IN A "WINDOWS" HOST COMPUTER HIGH-LEVEL EXECUTIVE SUMMARY: In "VMware Player", you

* In our example, we typed Windows 7 Enterprise Trial--vm901 clone01 Then press the Enter key to lock in the name.

Page 13: CLONING A VIRTUAL MACHINE IN VMWARE PLAYER IN … · CLONING A VIRTUAL MACHINE IN "VMWARE PLAYER" IN A "WINDOWS" HOST COMPUTER HIGH-LEVEL EXECUTIVE SUMMARY: In "VMware Player", you

* Start the "VMware Player" program:

Page 14: CLONING A VIRTUAL MACHINE IN VMWARE PLAYER IN … · CLONING A VIRTUAL MACHINE IN "VMWARE PLAYER" IN A "WINDOWS" HOST COMPUTER HIGH-LEVEL EXECUTIVE SUMMARY: In "VMware Player", you

* Click on "Open a Virtual Machine":

Page 15: CLONING A VIRTUAL MACHINE IN VMWARE PLAYER IN … · CLONING A VIRTUAL MACHINE IN "VMWARE PLAYER" IN A "WINDOWS" HOST COMPUTER HIGH-LEVEL EXECUTIVE SUMMARY: In "VMware Player", you

* An "Open Virtual Machine" box will be displayed:

Page 16: CLONING A VIRTUAL MACHINE IN VMWARE PLAYER IN … · CLONING A VIRTUAL MACHINE IN "VMWARE PLAYER" IN A "WINDOWS" HOST COMPUTER HIGH-LEVEL EXECUTIVE SUMMARY: In "VMware Player", you

* Navigate to the location of the newly-created virtual machine folder:

Page 17: CLONING A VIRTUAL MACHINE IN VMWARE PLAYER IN … · CLONING A VIRTUAL MACHINE IN "VMWARE PLAYER" IN A "WINDOWS" HOST COMPUTER HIGH-LEVEL EXECUTIVE SUMMARY: In "VMware Player", you

*

*

Page 18: CLONING A VIRTUAL MACHINE IN VMWARE PLAYER IN … · CLONING A VIRTUAL MACHINE IN "VMWARE PLAYER" IN A "WINDOWS" HOST COMPUTER HIGH-LEVEL EXECUTIVE SUMMARY: In "VMware Player", you

*

*

Page 19: CLONING A VIRTUAL MACHINE IN VMWARE PLAYER IN … · CLONING A VIRTUAL MACHINE IN "VMWARE PLAYER" IN A "WINDOWS" HOST COMPUTER HIGH-LEVEL EXECUTIVE SUMMARY: In "VMware Player", you

*

* Double-click on the folder of the newly-created virtual machine:

Page 20: CLONING A VIRTUAL MACHINE IN VMWARE PLAYER IN … · CLONING A VIRTUAL MACHINE IN "VMWARE PLAYER" IN A "WINDOWS" HOST COMPUTER HIGH-LEVEL EXECUTIVE SUMMARY: In "VMware Player", you

* Inside the virtual machine folder, you will find a *.vmx file.

* Click on this .vmx file:

Page 21: CLONING A VIRTUAL MACHINE IN VMWARE PLAYER IN … · CLONING A VIRTUAL MACHINE IN "VMWARE PLAYER" IN A "WINDOWS" HOST COMPUTER HIGH-LEVEL EXECUTIVE SUMMARY: In "VMware Player", you

* Click on the "Open" button:

* Your newly-created virtual machine is now at the top of the list of virtual machines in the left pane of the main "VMware Player" window:

Page 22: CLONING A VIRTUAL MACHINE IN VMWARE PLAYER IN … · CLONING A VIRTUAL MACHINE IN "VMWARE PLAYER" IN A "WINDOWS" HOST COMPUTER HIGH-LEVEL EXECUTIVE SUMMARY: In "VMware Player", you

* Click on "Edit virtual machine settings":

Page 23: CLONING A VIRTUAL MACHINE IN VMWARE PLAYER IN … · CLONING A VIRTUAL MACHINE IN "VMWARE PLAYER" IN A "WINDOWS" HOST COMPUTER HIGH-LEVEL EXECUTIVE SUMMARY: In "VMware Player", you

* * A "Virtual Machine Settings" box will be displayed: Adjust the amount of RAM that is to be allocated to the new virtual machine, if you need to do so. Then click on the "OK" button.

Page 24: CLONING A VIRTUAL MACHINE IN VMWARE PLAYER IN … · CLONING A VIRTUAL MACHINE IN "VMWARE PLAYER" IN A "WINDOWS" HOST COMPUTER HIGH-LEVEL EXECUTIVE SUMMARY: In "VMware Player", you

* Click on the "Options" tab:

Page 25: CLONING A VIRTUAL MACHINE IN VMWARE PLAYER IN … · CLONING A VIRTUAL MACHINE IN "VMWARE PLAYER" IN A "WINDOWS" HOST COMPUTER HIGH-LEVEL EXECUTIVE SUMMARY: In "VMware Player", you

* Modify the displayed name of the new virtual machine. In most situations, it is best to make the displayed name the same as the name of the folder that contains the virtual machine. In our example, we change the displayed name slightly from Windows 7 x64 Enterprise Trial--vm901 to Windows 7 x64 Enterprise Trial--vm901 clone01

Page 26: CLONING A VIRTUAL MACHINE IN VMWARE PLAYER IN … · CLONING A VIRTUAL MACHINE IN "VMWARE PLAYER" IN A "WINDOWS" HOST COMPUTER HIGH-LEVEL EXECUTIVE SUMMARY: In "VMware Player", you

* Click on the "OK" button:

Page 27: CLONING A VIRTUAL MACHINE IN VMWARE PLAYER IN … · CLONING A VIRTUAL MACHINE IN "VMWARE PLAYER" IN A "WINDOWS" HOST COMPUTER HIGH-LEVEL EXECUTIVE SUMMARY: In "VMware Player", you

* The "Virtual Machine Settings" box will disappear. You should now be back at the main Window of "VMware Player":

Page 28: CLONING A VIRTUAL MACHINE IN VMWARE PLAYER IN … · CLONING A VIRTUAL MACHINE IN "VMWARE PLAYER" IN A "WINDOWS" HOST COMPUTER HIGH-LEVEL EXECUTIVE SUMMARY: In "VMware Player", you

* Click on "Play virtual machine".

Page 29: CLONING A VIRTUAL MACHINE IN VMWARE PLAYER IN … · CLONING A VIRTUAL MACHINE IN "VMWARE PLAYER" IN A "WINDOWS" HOST COMPUTER HIGH-LEVEL EXECUTIVE SUMMARY: In "VMware Player", you

* The new virtual machine will start up.

Page 30: CLONING A VIRTUAL MACHINE IN VMWARE PLAYER IN … · CLONING A VIRTUAL MACHINE IN "VMWARE PLAYER" IN A "WINDOWS" HOST COMPUTER HIGH-LEVEL EXECUTIVE SUMMARY: In "VMware Player", you

* A "The virtual machine has been moved or copied" box will be displayed: Select the "I copied it" option to tell "VMware Player" to perform the following actions: Action 1: Provide the new virtual machine with a unique, new "UUID BIOS" which is also known as a "motherboard UUID" or a "system UUID". Action 2: Provide the new virtual machine with a unique, new "UUID Location" which is also known as a "Location UUID" which is a UUID that "VMware Player" uses to keep track of the location on the host's hard drive for the folder of the virtual machine. Action 3:

Page 31: CLONING A VIRTUAL MACHINE IN VMWARE PLAYER IN … · CLONING A VIRTUAL MACHINE IN "VMWARE PLAYER" IN A "WINDOWS" HOST COMPUTER HIGH-LEVEL EXECUTIVE SUMMARY: In "VMware Player", you

Provide the virtual network adapter of the new virtual machine with a new, unique MAC address.

* Click on "OK" in the "This virtual machine may have been moved or copied" box. The virtual machine will continue with the Windows boot up process:

Page 32: CLONING A VIRTUAL MACHINE IN VMWARE PLAYER IN … · CLONING A VIRTUAL MACHINE IN "VMWARE PLAYER" IN A "WINDOWS" HOST COMPUTER HIGH-LEVEL EXECUTIVE SUMMARY: In "VMware Player", you

*

Page 33: CLONING A VIRTUAL MACHINE IN VMWARE PLAYER IN … · CLONING A VIRTUAL MACHINE IN "VMWARE PLAYER" IN A "WINDOWS" HOST COMPUTER HIGH-LEVEL EXECUTIVE SUMMARY: In "VMware Player", you

*

Page 34: CLONING A VIRTUAL MACHINE IN VMWARE PLAYER IN … · CLONING A VIRTUAL MACHINE IN "VMWARE PLAYER" IN A "WINDOWS" HOST COMPUTER HIGH-LEVEL EXECUTIVE SUMMARY: In "VMware Player", you

*

Page 35: CLONING A VIRTUAL MACHINE IN VMWARE PLAYER IN … · CLONING A VIRTUAL MACHINE IN "VMWARE PLAYER" IN A "WINDOWS" HOST COMPUTER HIGH-LEVEL EXECUTIVE SUMMARY: In "VMware Player", you

*

APPENDIX 1 YOU CANNOT CHANGE HARD DRIVE UUIDs FOR THE CLONED .VMDK VIRTUAL HARD DRIVE OF A CLONED VIRTUAL MACHINE IN "VMWARE PLAYER"

Page 36: CLONING A VIRTUAL MACHINE IN VMWARE PLAYER IN … · CLONING A VIRTUAL MACHINE IN "VMWARE PLAYER" IN A "WINDOWS" HOST COMPUTER HIGH-LEVEL EXECUTIVE SUMMARY: In "VMware Player", you

The virtual hard drive of a cloned virtual machine has to have the same "hard drive UUID" (="disk signature") as the original virtual machine. The "hard drive UUID" of the .vmdk virtual hard drive of the new, cloned virtual machine has to stay exactly the same as the "hard drive UUID" of the original virtual machine: In the next example, we proved this. We changed the "hard drive UUID" of the virtual hard drive of a newly-created, cloned virtual machine: We used the "diskpart" command followed by the uniqueid disk ID=<new UUID for hard drive> to change the "harddrive UUID" from F36380A1 to F36380A2 See http://www.howtohaven.com/system/change-disk-signature.shtml

Page 37: CLONING A VIRTUAL MACHINE IN VMWARE PLAYER IN … · CLONING A VIRTUAL MACHINE IN "VMWARE PLAYER" IN A "WINDOWS" HOST COMPUTER HIGH-LEVEL EXECUTIVE SUMMARY: In "VMware Player", you

*

*

Page 38: CLONING A VIRTUAL MACHINE IN VMWARE PLAYER IN … · CLONING A VIRTUAL MACHINE IN "VMWARE PLAYER" IN A "WINDOWS" HOST COMPUTER HIGH-LEVEL EXECUTIVE SUMMARY: In "VMware Player", you

Our exact steps were: Click on Windows "Start" button. Type cmd into the "Search" box. Use right mouse button to click on "CMD" in the left-most side of the "Start menu". Click on "Run as administrator" in the popup context menu. Type in diskpart

Page 39: CLONING A VIRTUAL MACHINE IN VMWARE PLAYER IN … · CLONING A VIRTUAL MACHINE IN "VMWARE PLAYER" IN A "WINDOWS" HOST COMPUTER HIGH-LEVEL EXECUTIVE SUMMARY: In "VMware Player", you

and hit the Enter key. Type in select disk 0 and hit the Enter key. Type in uniqueid disk and hit the Enter key. Type in uniqueid disk id=F36380A82 Type in exit and hit the Enter key. We then restarted the virtual machine:

* This virtual machine was then unable to boot:

Page 40: CLONING A VIRTUAL MACHINE IN VMWARE PLAYER IN … · CLONING A VIRTUAL MACHINE IN "VMWARE PLAYER" IN A "WINDOWS" HOST COMPUTER HIGH-LEVEL EXECUTIVE SUMMARY: In "VMware Player", you

*

APPENDIX 2

YOU CAN VIEW THE "UUID.BIOS", "UUID.Location", AND MAC ADDRESS FOR ANY VIRTUAL MACHINE IN "VMWARE PLAYER"

Page 41: CLONING A VIRTUAL MACHINE IN VMWARE PLAYER IN … · CLONING A VIRTUAL MACHINE IN "VMWARE PLAYER" IN A "WINDOWS" HOST COMPUTER HIGH-LEVEL EXECUTIVE SUMMARY: In "VMware Player", you

Each virtual machine in "VMware Player" has a .vmx file. If you open this .vmx file with Windows "Notepad", or "Wordpad". you can view these three values.

* Use your right mouse button to perform a click on the *.vmx file:

Page 42: CLONING A VIRTUAL MACHINE IN VMWARE PLAYER IN … · CLONING A VIRTUAL MACHINE IN "VMWARE PLAYER" IN A "WINDOWS" HOST COMPUTER HIGH-LEVEL EXECUTIVE SUMMARY: In "VMware Player", you

* A popup context menu will be displayed. * Click on "Notepad".

Page 43: CLONING A VIRTUAL MACHINE IN VMWARE PLAYER IN … · CLONING A VIRTUAL MACHINE IN "VMWARE PLAYER" IN A "WINDOWS" HOST COMPUTER HIGH-LEVEL EXECUTIVE SUMMARY: In "VMware Player", you

* Scroll down:

Page 44: CLONING A VIRTUAL MACHINE IN VMWARE PLAYER IN … · CLONING A VIRTUAL MACHINE IN "VMWARE PLAYER" IN A "WINDOWS" HOST COMPUTER HIGH-LEVEL EXECUTIVE SUMMARY: In "VMware Player", you

* ethernet0.generatedAddress = "00:0c:29:89:9e:1d" tools.syncTime = "FALSE" uuid.location = "56 4d 51 6c fe 5d 4d fe-12 28 31 f5 74 89 9e 1d" uuid.bios = "56 4d 51 6c fe 5d 4d fe-12 28 31 f5 74 89 9e 1d"