You must perform certain tasks before you configure a virtual machine to use a physical disk or unused partition on the host system.

You must perform these tasks before you run the New Virtual Machine wizard to add a physical disk to a new virtual machine, and before you add a physical disk to an existing virtual machine.

1

If a partition is mounted by the host or in use by another virtual machine, unmount it.

The virtual machine and guest operating system access a physical disk partition while the host continues to run its operating system. Corruption is possible if you allow the virtual machine to modify a partition that is simultaneously mounted on the host operating system.

Option

Description

The partition is mapped to a Windows Server 2003, Windows Server 2008, or Windows XP host

a

Select Start > Settings > Control Panel > Administrative Tools > Computer Management > Storage > Disk Management.

b

Select a partition and select Action > All Tasks > Change Drive Letter and Paths.

c

Click Remove.

The partition is mapped to a Windows 7 or Windows 8 host

a

Select Start > Control Panel.

b

In the menu bar, click the arrow next to Control Panel.

c

From the drop-down menu, select All Control Panel Items > Administrative Tools > Computer Management > Storage > Disk Management (Local).

d

Right-click a partition and choose Change Drive Letter and Paths.

e

Click Remove and OK.

The partition is mapped to a Windows Vista host

a

Select Start > Control Panel (Classic View) > Administrative Tools > Computer Management > Storage > Disk Management.

b

Right-click a partition and choose Change Drive Letter and Paths.

c

Click Remove and OK.

2

Check the guest operating system documentation regarding the type of partition on which the guest operating system can be installed.

On Windows Vista and Windows 7 hosts, you cannot use the system partition, or the physical disk that contains it, in a virtual machine. DOS, Windows 95, and Windows 98 operating systems must be installed on the first primary partition. Other operating systems, such as Linux, can be installed on a primary or an extended partition on any part of the drive.

3

If the physical partition or disk contains data that you need in the future, back up the data.

4

If you use a Windows host IDE disk in a physical disk configuration, verify that it is not configured as the slave on the secondary IDE channel if the master on that channel is a CD-ROM drive.

5

On a Windows XP or Windows Server 2003 host, if the host is using a dynamic disk, use the disk management tool to change the dynamic disk to a basic disk.

You cannot use a dynamic disk as a physical disk in a virtual machine.

a

On the host, select Start > Settings > Control Panel > Administrative Tools > Computer Management > Disk Management.

b

Delete all logical volumes on the disk.

This action destroys all data on the disk.

c

Right-click the disk icon and select Revert to Basic Disk.

d

Partition the disk.

6

On a Linux host, set the device group membership or device ownership appropriately.

a

Verify that the master physical disk device or devices are readable and writable by the user who runs Workstation.

Physical devices, such as /dev/hda (IDE physical disk) and /dev/sdb (SCSI physical disk), belong to group-id disk on most distributions. If this is the case, you can add VMware Workstation users to the disk group. Another option is to change the owner of the device. Consider all the security issues involved in this option.

b

Grant VMware Workstation users access to all /dev/hd[abcd] physical devices that contain operating systems or boot managers.

When permissions are set correctly, the physical disk configuration files in Workstation control access. This reliability provides boot managers access to configuration files and other files they might need to boot operating systems. For example, LILO needs to read /boot on a Linux partition to boot a non-Linux operating system that might be on another drive.