VMware Fusion Virtual Machine Provisioning

From NovaOrdis Knowledge Base
Jump to navigation Jump to search

Internal

Procedure

Virtual Machine Library -> + (Add) -> New -> Create a custom virtual machine.

Depending on the type of OS, choose:

  • Linux -> CentOS 64-bit/Red Hat Enterprise Linux 7 64-bit
  • Microsoft Windows -> Windows 10 x64

Chose Firmware Type -> UEFI

Create a new virtual disk.

The disk size is 60 GB but can be changed later.

Continue -> Customize Settings.

This will open a dialog that can be used to chose the name of the VM bundle and the location where it will be saved.

If this is the first VM being created on this host, create a new directory for images, offline: ~/VMware Fusion VMs/

Name

Choose an appropriate name and save it in that directory. The appropriate name in the library is usually more specific than the one suggested by Fusion.

Settings

Processor & Memory

Advanced Options

"Enable hypervisor application in this virtual machine" - OK

"Enable code profiling application in this virtual machine" - don't, causes a BIOS error.

"Enable IOMMU in this virtual machine" OK

Hard Disk

The default. name is "Virtual Disk.vmdk". How to choose a different disk name at creation?

This is where the size can be adjusted.

Bus type: SCSI

Split into multiple files.

Installation

Settings -> CD/DVD (IDE) -> Choose a disk or a disk image. The .iso image should be downloaded from the vendor, as described below in the "OS Install" section.

Make sure "Connect CD/DVD Drive" is selected.

Startup disk: CD/DVD.

OS Install

Post-OS Install Operations

Install VMware Tools

Install VMWare Tools on Linux

https://kb.vmware.com/s/article/1018392

This step will build specific kernel drivers and it will enable features like directly accessing host-level filesystems, etc.

Perform OS-level post-install steps first.

On the Mac virtualization host, open a new Finder window and go to the Application folder.

Find "VMware Fusion" and right click on it -> Show Package Contents.

Navigate to Contents -> Library -> isoimages -> linux.iso.

Copy linux.iso on the Mac desktop.

Make sure the Windows VM is shut down.

Go to the Windows VM settings -> CD/DVD. If there's no CD/DVD, go to "Add Device" in the upper right corner of the window and add a CD/DVD drive -> Connect CD/DVD Drive -> Choose a disc or a disc image -> Select "linux.iso" from Desktop.

Boot the VM.

As root:

mount /dev/sr0 /mnt/cdrom/
cd /mnt/cdrom/
yum install perl gcc kernel-devel
./vmware-tools-upgrader-64

If at any moment you need to restart the process, you may try going directly to:

/usr/bin/vmware-config-tools.pl

Install VMWare Tools on Windows

https://kb.vmware.com/s/article/1003417

On the Mac virtualization host, open a new Finder window and go to the Application folder.

Find "VMware Fusion" and right click on it -> Show Package Contents.

Navigate to Contents -> Library -> isoimages -> windows.iso.

Copy windows.iso on the Mac desktop.

Make sure the Windows VM is shut down.

Go to the Windows VM settings -> CD/DVD. If there's no CD/DVD, go to "Add Device" in the upper right corner of the window and add a CD/DVD drive -> Connect CD/DVD Drive -> Choose a disc or a disc image -> Select "windows.iso" from Desktop.

Restart the Windows VM.

Upon restart, the DVD will be available as "VMware Tools" -> go there -> setup64.

Installation wizard -> Complete -> Next -> Install

Reboot.

If you are doing a first time installation, go to Windows Installation - Set Up Access to Virtualization Host Storage