I have borrowed items from http://www.boche.net/blog/index.php/2012/08/16/microsoft-windows-server-2012-tips/ to create this post. I encourage you to take a moment to check out that post.
This is the step by step document that I used to build my 2012 and 2012 R2 VMs.
VM values will start at:
|Video card||Auto-detect video settings|
|SCSI Controller 0||VMware Paravirtual|
|Hard disk 1||40 GB, Thin|
|CD/DVD Drive 1||Client Device|
|Floppy Drive 1||Removed (when done)|
|Network Adapter 1||VMXNET3|
|General Options||OS: Microsoft Windows Server 2012 and 2012 R2|
|VMware Tools||Default Settings|
|Virtual Machine Version||9|
Creating the VM
In vCenter click “File” then “New” then “Virtual Machine”
- Choose the “Custom” radio button and then “Next”.
Name the SM and choose the folder location.
Choose the datastore for the VM and then click “Next”.
Make sure that the “Virtual Machine Version: 8” radio button is selected. (5.1 is using version 9 so I am not sure why this can’t be selected here. We will change this later.
Select the “Windows” radio button and then choose “Microsoft Windows Server 2012 (64-bit).
Take the default of 1 virtual socket and 1 core per virtual socket.
Take the default of 4GB memory and click “Next”
Choose your Network and change the adapter to “VMXNET 3” then click “Next”.
Change the SCSI controller to “VMware Paravirtual” and then click “Next”.
Select the “Create new virtual disk” radio button and then “Next”.
Take the default of 40GB and click “Next”.
Take the default virtual device node. For the system partition you want this to be SCSI 0:0. Click “Next”.
On the summary screen click the “Edit the virtual machine settings before completion” box and then click “Continue”.
Click on the Video Card and then change the radio button to “Auto-detect settings”.
Click on the CD/DVD and then choose the datastore location that you have the 2012 R2 install ISO. Make sure under Device Status that “Connect at power on” is checked. Now click “Finish”.
- Right click on your newly created VM and click “Edit Settings”.
- Click on the Floppy drive 1 and choose the “Use existing floppy image in datastore” radio button. Then click “Browse”. At the bottom of the datastores you should see a folder called “vmimages”. Double click this folder. (For some reason until the VM is created this folder does not show up and that is why we had to create the VM and then go back into the settings to change this).
- Double click on the “floppies” folder.
- Choose the “pvscsi-Windows2008.flp” and then “OK”.
- The Floppy drive 1 settings should look like this and then click “OK”.
- On the list of VMs click the one you are building and then click the “Power On” button.
- Now click the “Open Console” button.
- The VM should boot into the 2012 R2 setup screen. Choose your language and then “Next”.
- Click “Install”.
- Choose the version of server that you are using. We use the Datacenter here. Then click “Next”.
- Agree to give up your first born to Microsoft by clicking the “I accept the license terms” box and then click “Next”.
- Choose “Custom: Install Windows only (advanced).
- Uh oh, there is no location to install Windows. Luckily you configured the floppy drive 1 earlier right? Click the “Load Driver” button.
- Click “Browse”.
- Look for the Floppy Disk Drive and then double click “amd64”.
- Select the “VMware PVSCSI Controller (A:\amd64\pvscsi.inf) and click “Next”.
- Hey look there is our drive!! Click “Next”.
- Windows should now be installing.
- Enter a password for your admin account. Do not lose this password!
- You should have the login screen now.