VMware Workstation
VMware Workstation
VMware Workstation
User’s Manual
VMware Workstation TM
Version 3.1
ws31_manual.book Page 2 Thursday, April 11, 2002 3:25 PM
Please note that you will always find the most up-to-date technical docu-
mentation on our Web site at http://www.vmware.com/support/.
VMware, Inc.
The VMware Web site also provides the latest product updates.
3145 Porter Drive
Palo Alto, CA 94304
www.vmware.com Copyright © 2002 VMware, Inc. All rights reserved. VMware, the VMware boxes logo, MultipleWorlds, GSX
Server and ESX Server are trademarks of VMware, Inc. Microsoft, Windows, and Windows NT are registered
trademarks of Microsoft Corporation. Linux is a registered trademark of Linus Torvalds. All other marks and
names mentioned herein may be trademarks of their respective companies. Item: WS-ENG-Q202-311
ws31_manual.book Page 3 Thursday, April 11, 2002 3:25 PM
Table of Contents
Introduction and System Requirements __________________________ 11
Welcome to VMware Workstation __________________________________12
Virtualizing Your Computing Resources ____________________________13
Host System Requirements ________________________________________14
Virtual Machine Specifications _____________________________________17
Supported Guest Operating Systems ________________________________19
What’s New in Version 3.1 _________________________________________21
Technical Support Resources ______________________________________23
The VMware Web Site _________________________________________23
VMware Newsgroups __________________________________________23
Reporting Problems ___________________________________________23
www.vmware.com 3
ws31_manual.book Page 4 Thursday, April 11, 2002 3:25 PM
4 www.vmware.com
ws31_manual.book Page 5 Thursday, April 11, 2002 3:25 PM
www.vmware.com 5
ws31_manual.book Page 6 Thursday, April 11, 2002 3:25 PM
6 www.vmware.com
ws31_manual.book Page 7 Thursday, April 11, 2002 3:25 PM
www.vmware.com 7
ws31_manual.book Page 8 Thursday, April 11, 2002 3:25 PM
8 www.vmware.com
ws31_manual.book Page 9 Thursday, April 11, 2002 3:25 PM
www.vmware.com 9
ws31_manual.book Page 10 Thursday, April 11, 2002 3:25 PM
Index_______________________________________________________ 399
10 www.vmware.com
ws31_manual.book Page 11 Thursday, April 11, 2002 3:25 PM
1
Introduction and System Requirements
ws31_manual.book Page 12 Thursday, April 11, 2002 3:25 PM
12 www.vmware.com
ws31_manual.book Page 13 Thursday, April 11, 2002 3:25 PM
www.vmware.com 13
ws31_manual.book Page 14 Thursday, April 11, 2002 3:25 PM
PC Hardware
• Standard PC
• 400MHz or faster processor (recommended; 266MHz minimum) that supports
the Pentium® instruction set
Compatible processors include
Intel: Celeron, Pentium II, Pentium III, Pentium 4
AMD™: K6-2, K6-III, Athlon™, Athlon MP, Athlon XP, Duron™
• Multiprocessor systems supported
Memory
• Enough memory to run the host operating system, plus memory required for
each guest operating system and for applications on the host and guest
• Recommended: 256MB; minimum: 128MB
Display
• Greater than 256-color (8-bit) display adapter required
• Linux hosts must have a video adapter supported by the XFree86 server to run
guest operating systems in full-screen mode
Disk Drives
• 100MB (for Windows hosts), 20MB (for Linux hosts) free space required for basic
installation
• At least 1GB free disk space recommended for each guest operating system and
the application software used with it; using a default setup, the actual disk space
needs are approximately the same as those for installing and running the guest
operating system and applications on a physical computer
• IDE or SCSI hard drives, CD-ROM and DVD-ROM drives supported
• Guest operating systems can reside on physical disk partitions or in virtual disk
files
14 www.vmware.com
ws31_manual.book Page 15 Thursday, April 11, 2002 3:25 PM
www.vmware.com 15
ws31_manual.book Page 16 Thursday, April 11, 2002 3:25 PM
begin installing VMware Workstation. For more information, see Before You
Install on a SuSE Linux 7.1, 7.2 or 7.3 Host Operating System on page 35.
• Caldera® OpenLinux™ 2.x
VMware Workstation may run on other Linux distributions; attempting to do so is
recommended for expert Linux users only.
• VMware Workstation requires an X server
• XFree86-3.3.3.1 or higher release
• XFree86 version 3.3.4 or higher server recommended
If you are using a recent Linux distribution, it should include an appropriate X
server by default. To find out what XFree86 server is running on your computer,
as root, run X -version.
16 www.vmware.com
ws31_manual.book Page 17 Thursday, April 11, 2002 3:25 PM
Processor
• Intel Pentium II or later, depending on host processor
• Intel MMX if available on host processor
• Single processor per virtual machine on symmetric multiprocessor systems
Memory
• Up to 1GB, depending on host memory
• Maximum of 1GB total available for all virtual machines
Graphics
• VGA and SVGA support
IDE Drives
• Up to four devices — disks, CD-ROM or DVD-ROM (DVD drives can be used to
read data DVD-ROM discs; DVD video is not supported)
• Hard disks can be virtual disks or physical disks
• IDE virtual disks up to 128GB
• CD-ROM can be a physical device or an ISO image file
SCSI Devices
• Up to seven devices
• SCSI virtual disks up to 256GB
• Hard disks can be virtual disks or physical disks
• Generic SCSI support allows devices to be used without need for drivers in the
host OS
Works with scanners, CD-ROM, DVD-ROM, tape drives and other SCSI devices
• Mylex® (BusLogic) BT-958 compatible host bus adapter (requires add-on driver
from VMware for Windows XP and Windows .NET Server)
Floppy Drives
• Up to two 1.44MB floppy devices
• Physical drives or floppy image files
www.vmware.com 17
ws31_manual.book Page 18 Thursday, April 11, 2002 3:25 PM
USB ports
• Two-port USB 1.1 controller
• Supports devices including USB printers, scanners, PDAs, hard disk drives,
memory card readers and still digital cameras
Keyboard
• 104-key Windows 95/98 enhanced
Ethernet Card
• Up to three virtual Ethernet cards
• AMD PCnet-PCI II compatible
Sound
• Sound output and input
• Creative Labs Sound Blaster® 16, PCM sound compatible (MIDI sound, game
controllers and joysticks not supported.)
Sound Blaster is a registered trademark of Creative Labs, Inc. in the United States and other countries.
BIOS
• PhoenixBIOS™ 4.0 Release 6
18 www.vmware.com
ws31_manual.book Page 19 Thursday, April 11, 2002 3:25 PM
Microsoft Windows
• Windows .NET Web Server beta 3, Windows .NET Standard Server beta 3 and
Windows .NET Enterprise Server beta 3 (experimental)
• Windows XP Professional and Windows XP Home Edition
• Windows 2000 Professional, Windows 2000 Server and Windows 2000 Advanced
Server; Service Pack 2
• Windows NT Workstation 4.0 and Windows NT Server 4.0; Service Pack 3 or
higher
• Windows Me
• Windows 98 and Windows 98 SE
• Windows 95 (all OSR releases)
• Windows for Workgroups
• Windows 3.1
Microsoft MS-DOS
• MS-DOS 6
Linux
• Mandrake Linux 8.0, 8.1and 8.2
• Red Hat Linux 6.2, 7.0, 7.1 and 7.2
• SuSE Linux 7.0, 7.1, 7.2, 7.3 and SLES 7
• Caldera OpenLinux 2.x
www.vmware.com 19
ws31_manual.book Page 20 Thursday, April 11, 2002 3:25 PM
FreeBSD
• FreeBSD 3.x, 4.0, 4.1, 4.2, 4.3, 4.4 and 4.5
Note: If you use SCSI virtual disks larger than 2GB with FreeBSD 3.x or 4.x (up to
and including 4.3), there are known problems, and the guest operating system
does not boot. To work around this issue, see Setting the Disk Geometry for a
FreeBSD SCSI Virtual Disk on page 187.
20 www.vmware.com
ws31_manual.book Page 21 Thursday, April 11, 2002 3:25 PM
www.vmware.com 21
ws31_manual.book Page 22 Thursday, April 11, 2002 3:25 PM
22 www.vmware.com
ws31_manual.book Page 23 Thursday, April 11, 2002 3:25 PM
VMware Newsgroups
The VMware newsgroups are primarily forums for users to help each other. You are
encouraged to read and post issues, work-arounds and fixes. While VMware personnel
may read and post to the newsgroups, they are not a channel for official support. The
VMware NNTP news server is at news.vmware.com.
The following groups are devoted to discussions about VMware Workstation.
vmware.for-windowsnt.configuration
vmware.for-windowsnt.general
vmware.for-windowsnt.experimental
vmware.for-linux.configuration
vmware.for-linux.general
vmware.for-linux.experimental
The following groups are for discussions about guest operating systems.
vmware.guest.windows95
vmware.guest.windows98
vmware.guest.windowsnt
vmware.guest.windows2000
vmware.guest.windowsXP
vmware.guest.linux
vmware.guest.netware
vmware.guest.misc
You can discuss .NET Server issues in the vmware.guest.windowsXP forum.
Reporting Problems
If you have problems while running VMware Workstation, please report them to the
VMware support team.
These guidelines describe the information we need from you to diagnose problems.
• If a virtual machine exits abnormally or crashes, please save the log file before
you launch another virtual machine. The key log file to save is the VMware log
file for the affected virtual machine — on a Windows host, the vmware.log
www.vmware.com 23
ws31_manual.book Page 24 Thursday, April 11, 2002 3:25 PM
file in the same directory as the configuration file (.vmx) of the virtual machine
that had problems; on a Linux host, the <vmname>.log or vmware.log file
in the same directory as the configuration file (.cfg) of the virtual machine that
had problems. Also save any core files (core or vmware-core). Provide these
to VMware along with any other information that might help us to reproduce
the problem.
If you are reporting a problem you encountered while installing VMware
Workstation, it is also helpful to have your installation log file.
On a Windows host, the file is VMInst.log. It is saved in your temp folder. On
a Windows NT host, the default location is C:\temp. On a Windows 2000,
Windows XP or Windows .NET Server host, the default location is
C:\Documents and Settings\<username>\Local
Settings\Temp. The Local Settings folder is hidden by default. To see
its contents, open My Computer, go to Tools > Folder Options, click the View tab
and select Show Hidden Files and Folders.
Be sure to register your serial number. You may then report your problems by
submitting a support request at www.vmware.com/requestsupport.
24 www.vmware.com
ws31_manual.book Page 25 Thursday, April 11, 2002 3:25 PM
2
Installing VMware Workstation
ws31_manual.book Page 26 Thursday, April 11, 2002 3:25 PM
26 www.vmware.com
ws31_manual.book Page 27 Thursday, April 11, 2002 3:25 PM
www.vmware.com 27
ws31_manual.book Page 28 Thursday, April 11, 2002 3:25 PM
4. Acknowledge the end user license agreement (EULA). Select the I accept the
terms in the license agreement option, then click Next.
28 www.vmware.com
ws31_manual.book Page 29 Thursday, April 11, 2002 3:25 PM
Note: If you are upgrading from VMware Workstation 3.0 and did not uninstall
the software, proceed to step 6.
5. Choose the directory in which to install VMware Workstation. To install it in a
directory other than the default, click Change and browse to your directory of
choice. If the directory does not exist, the installer creates it for you. Click Next.
www.vmware.com 29
ws31_manual.book Page 30 Thursday, April 11, 2002 3:25 PM
If you want to change any settings or information you provided, now is the time
to make those changes. Click Back until you reach the dialog box containing the
information you want to change.
Note: If you are upgrading from VMware Workstation 3.0 and did not uninstall
the software, a different dialog box appears. Click Upgrade to begin installing
the new version.
7. If the installer detects that the CD-ROM autorun feature is enabled, you are
prompted with the option to disable it. Disabling this feature prevents
undesirable interactions with the virtual machines you install on this system.
8. You may see a Digital Signature Not Found dialog box when the installer begins
to install the VMware Virtual Ethernet Adapter. You can safely ignore this
message. Click Yes to continue the installation.
9. A dialog box appears, asking if you want to rename existing virtual disks using
the new .vmdk extension. Click Search Disk to search all local drives on the
host computer and make this change.
The converter also renames the files that store the state of a suspended virtual
machine, if it finds them. It changes the old .std file extension to .vmss.
However, it is best to resume and shut down all suspended virtual machines
before you upgrade from VMware Workstation 2.0 to Workstation 3.1.
30 www.vmware.com
ws31_manual.book Page 31 Thursday, April 11, 2002 3:25 PM
Besides renaming files, the converter updates the corresponding virtual machine
configuration files so they identify the virtual disks using the new filenames. One Chance to
Rename Disk Files
Note: If you store your virtual disk files or suspended state files on a Windows
XP or Windows .NET Server host — or if you may do so in the future — it is • The Rename Virtual
Disks dialog box
important to convert the filenames to avoid conflicts with the System Restore
appears only once. If
feature of Windows XP and Windows .NET Server. you click Cancel, you
10. Click Finish. The VMware Workstation software is installed. will not have another
opportunity to update
the filenames and
configuration files
automatically.
11. A prompt suggests that you reboot your PC. Reboot now to allow VMware
Workstation to complete the installation correctly.
www.vmware.com 31
ws31_manual.book Page 32 Thursday, April 11, 2002 3:25 PM
32 www.vmware.com
ws31_manual.book Page 33 Thursday, April 11, 2002 3:25 PM
directory where you saved the installer file you downloaded, not from the Linux
directory on the CD.
1. Log on to your Linux host with the user name you plan to use when running
VMware Workstation.
2. In a terminal window, become root so you can carry out the initial installation
steps.
su -
3. Mount the VMware Workstation CD-ROM.
4. Change to the Linux directory on the CD.
5. Do one of the following:
• To use the RPM installer, run RPM specifying the installation file.
rpm -Uhv VMware-<xxx>.rpm
(where VMware-<xxx>.rpm is the installation file on the CD; in place of
<xxx> the filename contains numbers that correspond to the version and
build)
Note: If you are upgrading from VMware Workstation 3.0, before you install
the RPM package, you need to remove the prebuilt modules RPM package
included in the 3.0 release. To remove the modules, type the following at a
command prompt:
rpm -e VMwareWorkstationKernelModules
• To use the tar installer, you may either copy a tar archive to your hard disk and
install following the directions below, or skip the steps for copying and
unpacking the archive and install directly from the vmware-distrib
directory on the CD.
Copy the tar archive to a directory on your hard drive, for example, /tmp.
cp VMware-<xxx>.tar.gz /tmp
Change to the directory to which you copied the file.
cd /tmp
Unpack the archive.
tar zxf VMware-<xxxx>.tar.gz
Change to the installation directory.
cd vmware-distrib
Run the installation script.
./vmware-install.pl
Accept the default directories for binary files, library files, manual files,
documentation files and init script.
www.vmware.com 33
ws31_manual.book Page 34 Thursday, April 11, 2002 3:25 PM
34 www.vmware.com
ws31_manual.book Page 35 Thursday, April 11, 2002 3:25 PM
This allows for the sharing of files between the virtual machine and the host
operating system. For more information, see Host-Only Networking on
page 269.
Note: If you do not enable host-only networking now, you cannot allow a
virtual machine to use both bridged and host-only networking.
9. The configuration program displays a message saying the configuration
completed successfully. If it does not, run the installation program again.
10. When done, exit from the root account.
exit
Before You Install on a SuSE Linux 7.1, 7.2 or 7.3 Host Operating
System
If you are installing VMware Workstation on a SuSE Linux 7.1, 7.2 or 7.3 host operating
system running an SMP (symmetric multiprocessor) kernel, you need to install the
non-PAE-enabled kernel for your SuSE Linux 7.1, 7.2 or 7.3 SMP host before you can
install the VMware software.
SuSE Linux 7.1, 7.2 and 7.3 SMP kernels implement 64GB PAE memory and are not
supported. For SuSE Linux 7.1 and 7.2 hosts, the non-PAE-enabled versions of these
SMP kernels can be installed from the RPM package available on the SuSE distribution
CD-ROM (/suse/images/k_psmp.rpm). For a SuSE Linux 7.3 host, you can
select the non-PAE-enabled SMP kernel by running the YAST2 configuration utility.
The VMware Workstation installer contains prebuilt modules that work with the non-
PAE-enabled kernels for SuSE Linux 7.1, 7.2 and 7.3 SMP distributions.
www.vmware.com 35
ws31_manual.book Page 36 Thursday, April 11, 2002 3:25 PM
5. Create a new initial ram disk, which holds the drivers used for accessing your
root file system (for example, if it resides on a SCSI disk). If your system does not
need a ram disk, it won't be created.
mk_initrd
6. Reconfigure the Linux loader (LILO).
lilo
Note: If you're using LOADLIN, you have to copy the /boot/vmlinuz kernel
image and the /boot/initrd initial ram disk to your DOS partition.
7. Reboot your SuSE host operating system.
36 www.vmware.com
ws31_manual.book Page 37 Thursday, April 11, 2002 3:25 PM
www.vmware.com 37
ws31_manual.book Page 38 Thursday, April 11, 2002 3:25 PM
ws31_manual.book Page 39 Thursday, April 11, 2002 3:25 PM
3
Upgrading VMware Workstation
ws31_manual.book Page 40 Thursday, April 11, 2002 3:25 PM
40 www.vmware.com
ws31_manual.book Page 41 Thursday, April 11, 2002 3:25 PM
www.vmware.com 41
ws31_manual.book Page 42 Thursday, April 11, 2002 3:25 PM
42 www.vmware.com
ws31_manual.book Page 43 Thursday, April 11, 2002 3:25 PM
www.vmware.com 43
ws31_manual.book Page 44 Thursday, April 11, 2002 3:25 PM
Using Virtual Machines Created with Version 2.0 under Version 3.1
There are, broadly speaking, three approaches you can take to setting up virtual
machines under VMware Workstation 3.1. Choose one of these approaches. There are
no issues using virtual machines created under VMware Workstation 3.0.
• Create everything new from the start. Use the New Virtual Machine Wizard to set
up a new virtual machine and install a guest operating system in the virtual
machine as described in Creating a New Virtual Machine on page 55. If you set
up your virtual machines in this way, you will be using the latest technology and
will enjoy the best possible virtual machine performance.
• Use an existing configuration file (.vmx) and virtual disk (.dsk if you do not
convert to new filenames when you install VMware Workstation or .vmdk if you
do convert).
Upgrade VMware Tools to the new version following the instructions for your
guest operating system in Installing VMware Tools on page 80. You should not
remove the older version of VMware Tools before installing the new version.
A virtual machine set up in this way should run without problems. However, you
will not have the benefits of certain new features. You will not have USB ports.
You will not have the new BIOS, which makes it easier to use one of the
operating systems on a dual-boot host machine as a guest operating system in a
44 www.vmware.com
ws31_manual.book Page 45 Thursday, April 11, 2002 3:25 PM
virtual machine. Also, you will not have the new unified virtual video hardware,
which helps simplify the installation of VMware Tools.
Note: On Windows hosts, VMware Workstation 3.1 offers to convert virtual disk
.dsk filenames to use the new .vmdk extension at the time you install
VMware Workstation. If you are storing virtual disk files on a Windows XP or
Windows .NET Server host, it is especially important that you allow VMware
Workstation to make this change in order to avoid conflicts with the Windows
XP or Windows .NET Server System Restore feature. The .vmdk extension can
be used for virtual disks under any VMware product. VMware Workstation 3.1
automatically updates references to the virtual disk files in configuration files on
the host computer. If you are using the same virtual disk file from any other
computer, you need to update the configuration files with the new filename. For
details, see Updating Filenames for Virtual Disks Created with Earlier VMware
Products on page 212.
• Use an existing virtual machine and upgrade the virtual hardware. This gives you
access to new features, but the process is one-way — you cannot reverse it.
Start by using an existing configuration file (.vmx) and virtual disk (.dsk if you
do not convert to new filenames when you install VMware Workstation or
.vmdk if you do convert).
Upgrade VMware Tools to the new version following the instructions for your
guest operating system in Installing VMware Tools on page 80. You should not
remove the older version of VMware Tools before installing the new version.
Upgrade the virtual hardware so you can use USB devices in your virtual
machine.
Note: On Windows hosts, VMware Workstation 3.1 offers to convert virtual disk
.dsk filenames to use the new .vmdk extension at the time you install
VMware Workstation. If you are storing virtual disk files on a Windows XP or
Windows .NET Server host, it is especially important that you allow VMware
Workstation to make this change in order to avoid conflicts with the Windows
XP or Windows .NET Server System Restore feature. The .vmdk extension can
be used for virtual disks under any VMware product. VMware Workstation 3.1
automatically updates references to the virtual disk files in configuration files on
the host computer. If you are using the same virtual disk file from any other
computer, you need to update the configuration files with the new filename. For
details, see Updating Filenames for Virtual Disks Created with Earlier VMware
Products on page 212.
www.vmware.com 45
ws31_manual.book Page 46 Thursday, April 11, 2002 3:25 PM
Windows Me Guest
1. Choose Settings > Upgrade Virtual Hardware.
2. A warning message appears. It says: “This operation will cause the virtual
hardware your guest operating system runs on to change…”
Click Yes.
3. Click Power On.
4. Click OK to dismiss the message “A legacy SVGA driver has been detected.”
5. Several Plug and Play messages appear. You can safely ignore them.
6. Log on to Windows Me. More Plug and Play messages are displayed. One refers
to the VMware SVGA driver.
Click Yes to restart your computer.
7. Log on to Windows Me. The SVGA driver is not working properly.
8. From the Windows Start menu, choose Settings > Control Panel > System >
Device Manager > Display Adapters.
Manually remove the two SVGA drivers.
9. Restart Windows Me.
A VMware SVGA II adapter is detected and Windows installs it.
Windows notifies you to restart your computer.
Click Yes.
10. The SVGA driver should be working correctly.
46 www.vmware.com
ws31_manual.book Page 47 Thursday, April 11, 2002 3:25 PM
Windows 98 Guest
1. Choose Settings > Upgrade Virtual Hardware.
2. A warning message appears. It says: “This operation will cause the virtual
hardware your guest operating system runs on to change…”
Click Yes.
3. Click Power On.
4. Click OK to dismiss the message “A legacy SVGA driver has been detected.”
5. Log on to Windows 98. You see a number of Plug and Play messages. You may
need to insert your Windows 98 installation CD.
6. A blue screen appears. Press any key to dismiss the blue screen.
7. Click Reset to restart the virtual machine (because it is not responding).
8. Click OK to dismiss the message “A legacy SVGA driver has been detected.”
Again, you see a number of Plug and Play messages.
Windows notifies you to restart Windows.
Click Yes.
9. Log on to Windows 98. The SVGA driver is not working properly.
10. From the Windows Start menu, choose Settings > Control Panel > System >
Device Manager > Display Adapters.
Manually remove the two conflicting SVGA drivers.
11. Restart Windows 98.
A VMware SVGA II adapter is detected and Windows installs it.
12. Restart Windows 98.
13. The SVGA driver should be working correctly.
Windows 95 Guest
1. Choose Settings > Upgrade Virtual Hardware.
2. A warning message appears. It says: “This operation will cause the virtual
hardware your guest operating system runs on to change…"
Click Yes.
3. Click Power On.
4. Click OK to dismiss the message “A legacy SVGA driver has been detected.”
5. Log on to Windows 95.
www.vmware.com 47
ws31_manual.book Page 48 Thursday, April 11, 2002 3:25 PM
You see a number of Plug and Play messages. Click Cancel for the following
devices: Standard host CPU bridge, PCI bridge and PCI Universal bus.
6. The SVGA driver is not working properly.
7. From the Windows Start menu, choose Settings > Control Panel > System >
Device Manager > Display Adapters.
Manually remove the SVGA driver.
8. Restart Windows 95.
9. Again, you see a number of Plug and Play messages. Click Cancel for the
following devices: Standard host CPU bridge, PCI bridge and PCI Universal bus.
10. A VMware SVGA II adapter is detected and Windows installs it.
11. Restart Windows 95.
12. Once again, you see a number of Plug and Play messages. Again, click Cancel for
the following devices: Standard host CPU bridge, PCI bridge and PCI Universal
bus.
13. The SVGA driver should be working correctly.
48 www.vmware.com
ws31_manual.book Page 49 Thursday, April 11, 2002 3:25 PM
Using Virtual Machines Created with Version 2.0 under Version 3.1
There are, broadly speaking, three approaches you can take to setting up virtual
machines under VMware Workstation 3.1. Choose one of these approaches. There are
no issues using virtual machines created under VMware Workstation 3.0.
• Create everything new from the start. Use the Configuration Wizard to set up a
new virtual machine and install a guest operating system in the virtual machine
as described in Creating a New Virtual Machine on page 55. If you set up your
virtual machines in this way, you will be using the latest technology and will
enjoy the best possible virtual machine performance.
• Use an existing configuration file (.vmx) and virtual disk (.dsk if you do not
convert to new filenames when you install VMware Workstation or .vmdk if you
do convert).
Upgrade VMware Tools to the new version following the instructions for your
guest operating system in Installing VMware Tools on page 80. You should not
remove the older version of VMware Tools before installing the new version.
www.vmware.com 49
ws31_manual.book Page 50 Thursday, April 11, 2002 3:25 PM
A virtual machine set up in this way should run without problems. However, you
will not have the benefits of certain new features. You will not have USB ports.
You will not have the new BIOS, which makes it easier to use one of the
operating systems on a dual-boot host machine as a guest operating system in a
virtual machine. Also, you will not have the new unified virtual video hardware,
which helps simplify the installation of VMware Tools.
Note: On Linux hosts, VMware Workstation 3.1 offers to convert virtual disk
.dsk filenames to use the new .vmdk extension the first time you run a virtual
machine after installing VMware Workstation. If you are storing virtual disk files
on a Windows XP or Windows .NET Server computer — a file server, for example
— it is especially important that you allow VMware Workstation to make this
change in order to avoid conflicts with the Windows XP or Windows .NET Server
System Restore feature. The .vmdk extension can be used for virtual disks under
any VMware product. VMware Workstation 3.1 automatically updates references
to the virtual disk files in configuration files on the host computer. If you are
using the same virtual disk file from any other computer, you need to update the
configuration files with the new filename. For details, see Updating Filenames for
Virtual Disks Created with Earlier VMware Products on page 212.
• Use an existing virtual machine and upgrade the virtual hardware. This gives you
access to new features, but the process is one-way — you cannot reverse it.
Start by using an existing configuration file (.cfg) and virtual disk (.dsk if you
do not convert to new filenames when you install VMware Workstation or
.vmdk if you do convert).
Upgrade VMware Tools to the new version following the instructions for your
guest operating system in Installing VMware Tools on page 80. You should not
remove the older version of VMware Tools before installing the new version.
Upgrade the virtual hardware so you can use USB devices in your virtual
machine.
Note: On Linux hosts, VMware Workstation 3.1 offers to convert virtual disk
.dsk filenames to use the new .vmdk extension the first time you run a virtual
machine after installing VMware Workstation. If you are storing virtual disk files
on a Windows XP or Windows .NET Server computer — a file server, for example
— it is especially important that you allow VMware Workstation to make this
change in order to avoid conflicts with the Windows XP or Windows .NET Server
System Restore feature. The .vmdk extension can be used for virtual disks under
any VMware product. VMware Workstation 3.1 automatically updates references
to the virtual disk files in configuration files on the host computer. If you are
50 www.vmware.com
ws31_manual.book Page 51 Thursday, April 11, 2002 3:25 PM
using the same virtual disk file from any other computer, you need to update the
configuration files with the new filename. For details, see Updating Filenames for Virtual Hardware
Virtual Disks Created with Earlier VMware Products on page 212. Upgrade Is Irreversible
• The process of
Upgrading the Virtual Hardware in an Existing Virtual Machine upgrading the virtual
On the Settings menu, choose Upgrade Virtual Hardware. A dialog box appears, hardware is irreversible
warning that the upgrade process cannot be reversed. Click Yes to continue, then and makes the disks
follow the directions. attached to this virtual
machine incompatible
If you are using a Windows 95, Windows 98 or Windows Me virtual machine created with Workstation 2.0.
under VMware Workstation 2.0 and choose to upgrade the virtual hardware, you need You should make
to take several steps to be sure the new virtual hardware is recognized properly by the backup copies of your
virtual disks before
guest operating system. With other guest operating systems, these special steps are
starting the upgrade.
not needed.
Before you upgrade the virtual hardware, make sure you have installed the latest
version of VMware Tools, including the SVGA driver, then power off your virtual
machine.
Take the steps listed under the name of your guest operating system.
Windows Me Guest
1. Choose Settings > Upgrade Virtual Hardware.
2. A warning message appears. It says: “This operation will cause the virtual
hardware your guest operating system runs on to change…”
Click Yes.
3. Click Power On.
4. Click OK to dismiss the message “A legacy SVGA driver has been detected.”
5. Several Plug and Play messages appear. You can safely ignore them.
6. Log on to Windows Me. More Plug and Play messages are displayed. One refers
to the VMware SVGA driver.
Click Yes to restart your computer.
7. Log on to Windows Me. The SVGA driver is not working properly.
8. From the Windows Start menu, choose Settings > Control Panel > System >
Device Manager > Display Adapters.
Manually remove the two SVGA drivers.
9. Restart Windows Me.
A VMware SVGA II adapter is detected and Windows installs it.
www.vmware.com 51
ws31_manual.book Page 52 Thursday, April 11, 2002 3:25 PM
Windows 98 Guest
1. Choose Settings > Upgrade Virtual Hardware.
2. A warning message appears. It says: “This operation will cause the virtual
hardware your guest operating system runs on to change…”
Click Yes.
3. Click Power On.
4. Click OK to dismiss the message “A legacy SVGA driver has been detected.”
5. Log on to Windows 98. You see a number of Plug and Play messages. You may
need to insert your Windows 98 installation CD.
6. A blue screen appears. Press any key to dismiss the blue screen.
7. Click Reset to restart the virtual machine (because it is not responding).
8. Click OK to dismiss the message “A legacy SVGA driver has been detected.”
Again, you see a number of Plug and Play messages.
Windows notifies you to restart Windows.
Click Yes.
9. Log on to Windows 98. The SVGA driver is not working properly.
10. From the Windows Start menu, choose Settings > Control Panel > System >
Device Manager > Display Adapters.
Manually remove the two conflicting SVGA drivers.
11. Restart Windows 98.
A VMware SVGA II adapter is detected and Windows installs it.
12. Restart Windows 98.
13. The SVGA driver should be working correctly.
Windows 95 Guest
1. Choose Settings > Upgrade Virtual Hardware.
2. A warning message appears. It says: “This operation will cause the virtual
hardware your guest operating system runs on to change…"
Click Yes.
52 www.vmware.com
ws31_manual.book Page 53 Thursday, April 11, 2002 3:25 PM
www.vmware.com 53
ws31_manual.book Page 54 Thursday, April 11, 2002 3:25 PM
54 www.vmware.com
ws31_manual.book Page 55 Thursday, April 11, 2002 3:25 PM
4
Creating a New Virtual Machine
ws31_manual.book Page 56 Thursday, April 11, 2002 3:25 PM
56 www.vmware.com
ws31_manual.book Page 57 Thursday, April 11, 2002 3:25 PM
www.vmware.com 57
ws31_manual.book Page 58 Thursday, April 11, 2002 3:25 PM
58 www.vmware.com
ws31_manual.book Page 59 Thursday, April 11, 2002 3:25 PM
5. Select the method you want to use for configuring your virtual machine.
If you select Typical, the wizard prompts you to specify or accept defaults for
• The guest operating system
• The virtual machine name and the location of the virtual machine’s files
• The network connection type
If you select Custom, you also can specify how to set up your disk — create a
new virtual disk, use an existing virtual disk or use a physical disk — and make
the settings needed for the type of disk you select.
Select Custom if you want to
• Make a virtual disk larger or smaller than 4GB
• Store your virtual disk’s files in a particular location
• Use an IDE virtual disk for a guest operating system that would otherwise have
a SCSI virtual disk created by default
• Use a physical disk rather than a virtual disk (for expert users)
Select VMware Guest OS Kit if you have a Guest OS Kit and want to use it to
create a preconfigured virtual machine using a virtual disk. If you select VMware
Guest OS Kit, the wizard asks you to specify the drive where you have placed the
Guest OS Kit CD-ROM. When you click Finish, it launches the Guest OS Kit
installation program. For more information on VMware Guest OS Kits, see
www.vmware.com/products/guestoskits/.
www.vmware.com 59
ws31_manual.book Page 60 Thursday, April 11, 2002 3:25 PM
This screen asks which operating system to install in the virtual machine. The
New Virtual Machine Wizard uses this information to select appropriate default
values, such as the amount of disk space needed. The wizard also uses this
information when naming associated virtual machine files.
If the operating system you are using is not listed, select Other.
The remaining steps assume you plan to install a Windows Me guest operating
system. You can find detailed installation notes for this and other guest
operating systems in Installing Guest Operating Systems on page 127.
7. Select a name and folder for the virtual machine.
The name specified here appears in the Virtual Machine Name list on VMware
Workstation’s opening screen. It is also used as the name of the folder where the
files associated with this virtual machine are stored.
Each virtual machine should have its own folder. All associated files, such as the
configuration file and the disk file, are placed in this folder. On Windows 2000,
Windows XP and Windows .NET Server, the default folder is C:\Documents
and Settings\<username>\My Documents\My Virtual
Machines\Windows Me. On Windows NT, the default folder is
60 www.vmware.com
ws31_manual.book Page 61 Thursday, April 11, 2002 3:25 PM
C:\WINNT\Profiles\<username>\Personal\My Virtual
Machines\Windows Me.
Virtual machine performance may be slower if your virtual hard disk is on a
network drive. For best performance, be sure the virtual machine’s folder is on a
local drive. However, if others users need to access this virtual machine, you
should consider placing the virtual machine files in a location that is accessible
to them. For more information, see Sharing Virtual Machines with Other Users on
page 126.
8. Configure the networking capabilities of the virtual machine.
If your host computer is on a network and you have a separate IP address for
your virtual machine (or can get one automatically from a DHCP server), select
Use bridged networking.
If you do not have a separate IP address for your virtual machine but you want to
be able to connect to the Internet, select Use network address translation
(NAT). NAT is useful if you have a wireless NIC on your host (as bridged
networking is not supported on wireless NICs) and allows for the sharing of files
between the virtual machine and the host operating system.
For more details about VMware Workstation networking options, see
Networking on page 261.
9. If you selected Typical as your configuration path, click Finish and the wizard
sets up the files needed for your virtual machine.
If you selected Custom as your configuration path, continue with the steps for
configuring a disk for your virtual machine.
www.vmware.com 61
ws31_manual.book Page 62 Thursday, April 11, 2002 3:25 PM
62 www.vmware.com
ws31_manual.book Page 63 Thursday, April 11, 2002 3:25 PM
www.vmware.com 63
ws31_manual.book Page 64 Thursday, April 11, 2002 3:25 PM
13. Click Finish and the wizard sets up the files needed for your virtual machine.
64 www.vmware.com
ws31_manual.book Page 65 Thursday, April 11, 2002 3:25 PM
www.vmware.com 65
ws31_manual.book Page 66 Thursday, April 11, 2002 3:25 PM
66 www.vmware.com
ws31_manual.book Page 67 Thursday, April 11, 2002 3:25 PM
However, it is best to resume and shut down all suspended virtual machines
before you upgrade to Workstation 3.1. One Chance to
Rename Disk Files
Besides renaming files, the converter updates the corresponding virtual machine
configuration files so they identify the virtual disks using the new filenames. • The Rename Virtual
Disks dialog box
Note: If you store your virtual disk files or suspended state files on a Windows appears only once. If
XP or Windows .NET Server host — or if you may do so in the future — it is you click Cancel, you
important to convert the filenames to avoid conflicts with the System Restore will not have another
opportunity to update
feature of Windows XP and Windows .NET Server.
the filenames and
4. Start the Configuration Wizard. configuration files
automatically.
When you start VMware Workstation, the startup screen has three options:
• Run the Configuration Wizard.
• Run the Configuration Editor.
• Open an existing configuration.
It also allows you to select a recently used configuration from a list.
The default selection is Run the Configuration Wizard.
5. To start the Configuration Wizard, click OK. You can also start the Configuration
Wizard from the File menu (select File > Wizard).
The Configuration Wizard presents you with a series of screens that you navigate
using the Next and Prev buttons at the bottom of each screen. At each screen,
follow the instructions, then click Next to proceed to the next screen.
www.vmware.com 67
ws31_manual.book Page 68 Thursday, April 11, 2002 3:25 PM
6. Select the method you want to use for configuring your virtual machine.
If you select Create standard virtual machine, the wizard prompts you to
specify or accept defaults for
• The name of the guest operating system
• The path to the directory for the guest operating system and a display name
for the virtual machine
• The disk type setting
• Whether to install a new virtual disk, use an existing virtual disk or use a
physical disk drive
• The size of the virtual disk
Select Install VMware Guest OS Kit if you have a Guest OS Kit and want to use it
to create a preconfigured virtual machine using a virtual disk. If you select Install
VMware Guest OS Kit, the wizard asks you to specify the path to the installer file
on the Guest OS Kit CD-ROM. When you click Finish, it launches the Guest OS Kit
installation program. For more information on VMware Guest OS Kits, see
www.vmware.com/products/guestoskits/.
The Finish button is not available initially. When there is enough information for
the Configuration Wizard to finish the configuration, this button becomes
available. Click Finish to have the Configuration Wizard enter default values for
the remaining options. This is the fastest way to configure your virtual machine.
68 www.vmware.com
ws31_manual.book Page 69 Thursday, April 11, 2002 3:25 PM
This screen asks which operating system to install in the virtual machine. The
Configuration Wizard uses this information to select appropriate default values,
such as the amount of disk space needed. The wizard also uses this information
when naming associated virtual machine files.
If the operating system you are using is not listed, select Other and enter the
name of the operating system.
The remaining steps assume you plan to install a Windows Me guest operating
system. You can find detailed installation notes for this and other guest
operating systems in Installing Guest Operating Systems on page 127.
www.vmware.com 69
ws31_manual.book Page 70 Thursday, April 11, 2002 3:25 PM
Each virtual machine should have its own directory. All associated files, such as
the configuration file and the disk file, are placed in this directory.
The default location is <homedir>/vmware/winME, where <homedir> is
the home directory of the user who is currently logged on. If others users need
to access this virtual machine, you should consider placing the virtual machine
files in a location that is accessible to them. For more information, see Sharing
Virtual Machines with Other Users on page 126.
Enter a display name for the virtual machine or accept the default. In this case,
the default is Windows Millennium.
70 www.vmware.com
ws31_manual.book Page 71 Thursday, April 11, 2002 3:25 PM
www.vmware.com 71
ws31_manual.book Page 72 Thursday, April 11, 2002 3:25 PM
72 www.vmware.com
ws31_manual.book Page 73 Thursday, April 11, 2002 3:25 PM
www.vmware.com 73
ws31_manual.book Page 74 Thursday, April 11, 2002 3:25 PM
Select the Floppy enabled option. To enter the path to the floppy drive, click
Browse or type the path to the physical floppy drive (for example, type
/dev/fd0).
Some operating systems may require the use of a floppy drive during
installation.
If you wish, you can disable access to the floppy drive later using the
Configuration Editor (Settings > Configuration Editor) or from the Devices
menu when your virtual machine is running.
74 www.vmware.com
ws31_manual.book Page 75 Thursday, April 11, 2002 3:25 PM
www.vmware.com 75
ws31_manual.book Page 76 Thursday, April 11, 2002 3:25 PM
This screen presents all the options you selected. Review it for accuracy and click
Done to complete the virtual machine configuration.
76 www.vmware.com
ws31_manual.book Page 77 Thursday, April 11, 2002 3:25 PM
www.vmware.com 77
ws31_manual.book Page 78 Thursday, April 11, 2002 3:25 PM
Installation Steps
1. Use the VMware Workstation Configuration Editor to verify the virtual machine’s
devices are set up as you expect before starting the installation. For example, if
you would like the Windows Me Setup program to install networking services,
be sure that a virtual Ethernet adapter is installed in the virtual machine’s
configuration. VMware also recommends that you disable the screen saver on
the host system before starting the installation process.
2. Insert the Windows Me CD in the CD-ROM drive.
3. Power on the virtual machine to start installing Windows Me.
4. Choose to boot from CD-ROM, then select Start Windows Me Setup from CD-
ROM. The setup program runs FDISK and reboots.
78 www.vmware.com
ws31_manual.book Page 79 Thursday, April 11, 2002 3:25 PM
5. Once again, choose to boot from CD-ROM, then select Start Windows Me Setup
from CD-ROM. The setup program continues installing Windows Me.
6. Follow the Windows Me installation steps as you would for a physical computer.
www.vmware.com 79
ws31_manual.book Page 80 Thursday, April 11, 2002 3:25 PM
80 www.vmware.com
ws31_manual.book Page 81 Thursday, April 11, 2002 3:25 PM
Additional Steps for Some Versions of Windows When Migrating from Old Disk
Versions
If you are migrating a VMware Workstation 2.0 disk to VMware Workstation 3.1 and
your guest operating system is Windows NT, Windows Me, Windows 98 or Windows
95, you need to configure the video driver by hand. Instructions open automatically in
www.vmware.com 81
ws31_manual.book Page 82 Thursday, April 11, 2002 3:25 PM
Notepad at the end of the installation process. If the Notepad window is hidden, bring
it to the front by clicking the Notepad button on the Windows taskbar.
For details, see the steps that correspond to your guest operating system.
Windows NT
1. After installing VMware Tools, click Finish. The Display Properties dialog box
appears.
2. Click the Display Type button. The Display Type dialog box appears.
3. Click the Change button. The Change Display dialog box appears.
4. Select VMware, Inc. from the Manufacturer list.
5. Select VMware SVGA as the display adapter and click OK.
6. Click Yes in response to the on-screen question about third-party drivers to
install the driver, then click OK to confirm the drivers were installed.
7. Click Close from the Display Type dialog box, then click Close from the Display
Properties dialog box.
8. Click Yes to restart Windows NT and start using the new video driver.
9. The VMware Tools background application is launched automatically when you
reboot your virtual machine.
Windows Me
1. After installing VMware Tools, click Finish. The Display Settings dialog box
appears.
2. Click the Advanced button.
3. Click the Adapter tab.
4. Click the Change button. This starts the Update Device Driver Wizard.
5. The Wizard now presents two options. Choose the second option to Specify the
location of the driver.
Click Next.
6. Check the Specify a location checkbox. Enter the following path:
D:\video\win9x
D: is the drive letter for the first virtual CD-ROM drive in your virtual machine.
Click OK.
7. Windows Me automatically locates your driver.
8. Select the VMware SVGA II display adapter and click Next.
82 www.vmware.com
ws31_manual.book Page 83 Thursday, April 11, 2002 3:25 PM
Windows 98
1. After installing VMware Tools, click Finish. The Display Settings dialog box
appears.
2. Click the Advanced button. The Standard Display Adapter (VGA) Properties
dialog box appears. If you are upgrading from a previous version of the VMware
drivers, this dialog box is titled VMware SVGA Properties.
3. Click the Adapter tab.
4. Click the Change button. This starts the Update Device Driver Wizard. Click Next.
5. The Wizard presents two options. Choose the option to Display a list of all
drivers in a specific location…. Click Next.
6. Select Have Disk. The Install From Disk dialog box appears.
7. Enter the following path:
D:\video\win9x
D: is the drive letter for the first virtual CD-ROM drive in your virtual machine.
Click OK.
8. Select VMware SVGA display adapter and click OK.
9. Answer Yes to the on-screen question, then click Next to install the driver. After
the driver is installed, click Finish.
10. Click Close in the SVGA Properties dialog box, then click Close in the Display
Settings dialog box.
11. Click Yes to restart Windows 98 and start using the new video driver.
12. The VMware Tools background application starts automatically when you reboot
your virtual machine.
www.vmware.com 83
ws31_manual.book Page 84 Thursday, April 11, 2002 3:25 PM
Windows 95
1. After installing VMware Tools, click Finish. The Display Settings dialog box
appears.
2. Click the Advanced Properties button. The Advanced Display Properties dialog
box appears.
3. Click the Change button. This brings up the Select Device dialog box.
4. Select Have Disk.
5. Enter the following path:
D:\video\win9x
D: is the drive letter for the first virtual CD-ROM drive in your virtual machine.
Click OK.
6. Click OK again to install the driver.
7. Click Close from the Advanced Display Properties dialog box, then click Close
from the Display Setting dialog box.
8. Click Yes to restart Windows 95 and start using the new video driver.
9. The VMware Tools background application starts automatically when you reboot
your virtual machine.
84 www.vmware.com
ws31_manual.book Page 85 Thursday, April 11, 2002 3:25 PM
www.vmware.com 85
ws31_manual.book Page 86 Thursday, April 11, 2002 3:25 PM
3. As root, open a terminal, mount the VMware Tools virtual CD-ROM image, copy
its contents to /tmp, then unmount it.
Note: You do not use an actual CD-ROM to install VMware Tools, nor do you
need to download the CD-ROM image or burn a physical CD-ROM of this image
file. The VMware Workstation software contains an ISO image that looks like a
CD-ROM to your guest operating system. This image contains all the files needed
to install VMware Tools in your guest operating system.
mount /cdrom
cp /cdrom/vmware-freebsd-tools.tar.gz /tmp
umount /cdrom
4. Untar the VMware Tools tar file in /tmp, and install it.
cd /tmp
tar zxf vmware-freebsd-tools.tar.gz
cd vmware-freebsd-tools
./install.pl
5. Start X and your graphical environment if they are not started yet.
6. In an X terminal, launch the VMware Tools background application.
vmware-toolbox &
You may run VMware Tools as root or as a normal user. To shrink virtual disks, you must
run VMware Tools as root (su).
Note: In a FreeBSD 4.5 guest operating system, sometimes VMware Tools does not
start after you install VMware Tools, reboot the guest operating system or start
VMware Tools on the command line in the guest. An error message appears:
Shared object ‘libc.so.3’ not found.
The required library was not installed. This does not happen with full installations of
FreeBSD 4.5, but does occur for minimal installations. To fix the problem of the missing
library, complete the following steps:
1. Insert and mount the FreeBSD 4.5 installation CD or access the ISO image file.
2. Change directories and run the install script.
cd /cdrom/compat3x
./install.sh
86 www.vmware.com
ws31_manual.book Page 87 Thursday, April 11, 2002 3:25 PM
To open the VMware Tools control panel, double-click the VMware Tools icon in the
system tray.
If the VMware Tools icon is not displayed in the system tray, go to Start > Settings >
Control Panel.
The Devices tab allows you to enable or disable removable devices. (You can also set
these options from the Devices menu of the VMware Workstation application
window.)
The Shrink tab gives you access to the controls you need if you wish to reclaim
unused space in a virtual disk.
www.vmware.com 87
ws31_manual.book Page 88 Thursday, April 11, 2002 3:25 PM
88 www.vmware.com
ws31_manual.book Page 89 Thursday, April 11, 2002 3:25 PM
5
Running VMware Workstation
ws31_manual.book Page 90 Thursday, April 11, 2002 3:25 PM
90 www.vmware.com
ws31_manual.book Page 91 Thursday, April 11, 2002 3:25 PM
Instead of using physical buttons to turn this computer on and off, you use buttons in
the toolbar at the top of the VMware Workstation window.
www.vmware.com 91
ws31_manual.book Page 92 Thursday, April 11, 2002 3:25 PM
On a Windows host, there are separate Power Off and Power On buttons. When you
suspend a virtual machine, the Power On button becomes a Resume button. On a
Linux host, the power button is labeled Power On or Power Off, depending on
whether your virtual machine is running or not.
On a Windows host, an alert appears at the bottom left corner of the VMware
Workstation window when your virtual machine is not running the version of VMware
Tools that matches your version of VMware Workstation. You see a small icon and a
note you can click to begin installing VMware Tools. This gives you a quick way to
launch the VMware Tools installer. It is especially useful immediately after you install
the guest operating system in a new virtual machine.
On a Linux host, a note in the bottom bar of the VMware Workstation window alerts
you when your virtual machine is not running the version of VMware Tools that
matches your version of VMware Workstation. To launch the VMware Tools installer,
choose Settings > VMware Tools Install….
Note: Your guest operating system must be completely installed and running when
you install VMware Tools.
For details, see Installing VMware Tools on page 80.
92 www.vmware.com
ws31_manual.book Page 93 Thursday, April 11, 2002 3:25 PM
2. Select the name of the virtual machine you want to use in the virtual machine
list at the left of the opening screen, then click Power On.
If the virtual machine you want to use is not shown there, click the Open
Existing Virtual Machine icon and browse to the .vmx file for the virtual
machine you want to use. That virtual machine will be added to the virtual
machine list so you can open it easily the next time you want to use it.
Note: By default, VMware Workstation 3.1 stores virtual machines in the
My Documents folder of the user who is logged on when the virtual machine
is created. On Windows .NET Server, Windows XP and Windows 2000, the default
folder is C:\Documents and Settings\<username>\My
Documents\My Virtual Machines\<guestOSname>. On Windows
NT, the default folder is
C:\WINNT\Profiles\<username>\Personal\My Virtual
Machines\<guestOSname>. Earlier versions of VMware Workstation stored
virtual machines in
C:\Program Files\VMware\VMs\<guestOSname> by default.
3. Click the Power On button to start the virtual machine.
4. Click anywhere inside the VMware Workstation window to give the virtual
machine control of your mouse and keyboard.
5. If you need to log on, type in your name and password just as you would on a
physical computer.
www.vmware.com 93
ws31_manual.book Page 94 Thursday, April 11, 2002 3:25 PM
94 www.vmware.com
ws31_manual.book Page 95 Thursday, April 11, 2002 3:25 PM
2. If the configuration file for the virtual machine you want to use is in the recently
used configurations list, select the listing, then click OK.
If not, select the Open an existing configuration radio button, then click OK.
Browse to your virtual machine’s directory. Select the .cfg file, then click OK.
Note: By default, VMware Workstation 3.1 stores virtual machines in
<homedir>/vmware/<guestOSname>, where <homedir> is the home
directory of the user who is logged on when the virtual machine is created.
3. Click the Power On button to start the virtual machine.
4. Click anywhere inside the VMware Workstation window to give the virtual
machine control of your mouse and keyboard.
5. If you need to log on, type in your name and password just as you would on a
physical computer.
When VMware Tools is running in a Windows virtual machine, the VMware Tools icon appears in the system
tray unless you disable the icon.
If the VMware Tools icon is not displayed in the system tray, you can use the VMware
Tools control panel in the guest operating system (Start > Settings > Control Panel)
www.vmware.com 95
ws31_manual.book Page 96 Thursday, April 11, 2002 3:25 PM
to change settings for VMware Tools. You can also reactivate the system tray icon. On
the Other tab, check the Show VMware Tools in the Taskbar check box.
In a Linux or FreeBSD virtual machine, boot the guest operating system, start X and
launch your graphical environment. Then you can launch the VMware Tools
background application with this command:
vmware-toolbox &
You may run VMware Tools as root or as a normal user. To shrink virtual disks, you must
run VMware Tools as root (su).
With some window managers, you can place the command to start VMware Tools in a
startup configuration so VMware Tools starts automatically when you start your
graphical environment. Consult your window manager’s documentation for details.
96 www.vmware.com
ws31_manual.book Page 97 Thursday, April 11, 2002 3:25 PM
3. If the installation program does not start automatically, click the Windows Start
button, go to Settings > Control Panel, then double-click Add/Remove
Programs and click the Install button. Follow the instructions on screen and in
the user manual for your new software.
Note: Some applications use a product activation feature that creates a key based on
the virtual hardware in the virtual machine where it is installed. Changes in the
configuration of the virtual machine may require you to reactivate the software. To
minimize the number of significant changes, set the final memory size for your virtual
machine and install VMware Tools before you activate the software.
www.vmware.com 97
ws31_manual.book Page 98 Thursday, April 11, 2002 3:25 PM
You can apply the same principles to share files between virtual machines.
Configuration for FreeBSD guests is similar to that for Linux guests.
The following scenarios assume you have set up your virtual machine using NAT
networking. Besides giving the virtual machine a direct connection to the host
computer’s network, NAT networking sets up a virtual network adapter on the host
computer. You can use this adapter, which connects to a virtual switch identified as
vmnet8, to communicate between host and virtual machine. You can also connect
two or more virtual machines using vmnet8. For details on NAT networking, see
Network Address Translation (NAT) on page 267.
In all cases, the user name you used to log in to the system from which you are
connecting must be a user on the system to which you want to connect.
98 www.vmware.com
ws31_manual.book Page 99 Thursday, April 11, 2002 3:25 PM
5. Mount the Windows share on your Linux system. Enter the following command
all on one line.
mount -t smbfs -o username=<Windows system user
account>,password=<password> //win2k/docs /mnt/docs
(Substitute the appropriate host name, share and mount point for your systems.)
Note: If you do not want to expose this password on the command line or in a script,
leave out that option and provide the password when prompted after you run the
command.
Now you are connected to the shared folder on the Windows system from your Linux
system and can begin to share files between the two.
www.vmware.com 99
ws31_manual.book Page 100 Thursday, April 11, 2002 3:25 PM
100 www.vmware.com
ws31_manual.book Page 101 Thursday, April 11, 2002 3:25 PM
operating system before you can browse the file system. If you need to install
NetBEUI, you may need your Windows installation CD-ROM.
When the system restarts, the Samba service does not appear in the list of
services starting up, but it does start, unless an error appears.
www.vmware.com 101
ws31_manual.book Page 102 Thursday, April 11, 2002 3:25 PM
102 www.vmware.com
ws31_manual.book Page 103 Thursday, April 11, 2002 3:25 PM
3. On a Windows host, click the name of the drive you want to change.
On a Linux host, click the + sign beside IDE Drives or SCSI Drives to expand that
part of the tree, then click the name of the drive you want to change.
4. Select the appropriate option for persistent, undoable or nonpersistent mode.
Click OK to save your changes and close the Configuration Editor.
www.vmware.com 103
ws31_manual.book Page 104 Thursday, April 11, 2002 3:25 PM
3. When VMware Workstation has completed the suspend operation, you see a
screen similar to one of those above, depending on your host operating system.
It is safe to exit VMware Workstation.
File > Exit
To resume a virtual machine that you have suspended:
1. Start VMware Workstation and choose a virtual machine you have suspended.
The process is the same as that described in Starting a Virtual Machine, above.
104 www.vmware.com
ws31_manual.book Page 105 Thursday, April 11, 2002 3:25 PM
www.vmware.com 105
ws31_manual.book Page 106 Thursday, April 11, 2002 3:25 PM
3. All virtual disks associated with this virtual machine must be in nonpersistent
mode before you can enable repeatable resume. In the Configuration Editor, on
the Hardware tab, select the virtual disk. Under Mode, make sure the
Nonpersistent radio button is selected.
4. Click the Options tab.
5. If you intend to copy this virtual machine to other PCs, VMware suggests that
you specify that the redo log is to be located in the same directory as the virtual
machine. Click Browse to find the virtual machine’s directory and select it.
6. Check the Enable Repeatable Resume check box.
7. Click OK to save your changes and close the Configuration Editor.
106 www.vmware.com
ws31_manual.book Page 107 Thursday, April 11, 2002 3:25 PM
5. If you intend to copy this virtual machine to other PCs, VMware suggests that
you specify that the redo log is to be located in the same directory as the virtual
machine. Click Choose to find the virtual machine’s directory and select it.
6. Select Repeatable resume.
7. Click OK to save your changes and close the Configuration Editor.
Issues to Consider
Caution: By default, the redo-log file for a disk in nonpersistent mode is located in
your system’s temp directory. If you intend to move this virtual machine to another
host, VMware suggests that you place the redo log for a virtual machine using
repeatable resume in a different location (outlined in the steps below), as some temp
directories may be small (and the redo log could exceed this limit as it grows) or, on
Linux hosts, the temp directory may be cleared by the operating system on a regular
basis, and this would remove the redo log.
Caution: VMware does not recommend moving a suspended virtual machine
containing disks in nonpersistent mode to another host. However, if you want to take
advantage of the repeatable resume feature in a classroom environment, for example,
and do not want to set the same repeatable resume point individually on every
student’s machine, be very careful and keep the following warnings in mind:
• VMware does not support the use of repeatable resume with a virtual machine
when its disks are located on a networked drive. However, if you place a disk in
nonpersistent mode on a shared network drive, note that locating the redo log
www.vmware.com 107
ws31_manual.book Page 108 Thursday, April 11, 2002 3:25 PM
108 www.vmware.com
ws31_manual.book Page 109 Thursday, April 11, 2002 3:25 PM
www.vmware.com 109
ws31_manual.book Page 110 Thursday, April 11, 2002 3:25 PM
To add a new device on a Windows host, open the Configuration Editor, click Add,
then follow the instructions in the New Hardware Wizard to add the new device to
your virtual machine. Click OK to save your changes and close the Configuration
Editor.
To add a new device on a Linux host, open the Configuration Editor, click the + sign
beside the type of device you want to add, click a device that’s shown as Not Installed
and make the appropriate settings. Click Install to install the device and OK to save
your configuration changes and close the Configuration Editor.
To change settings for a device, open the Configuration Editor, select the device you
want to modify and make your changes. Click OK to save your changes and close the
Configuration Editor.
To remove a device, open the Configuration Editor, click the name of the device you
want to remove, then click Remove. Click OK to close the Configuration Editor.
On a Windows host, move the mouse pointer over a device name. A cascading menu
gives you choices for connecting or disconnecting the device and, where appropriate,
for editing the configuration settings for the device.
110 www.vmware.com
ws31_manual.book Page 111 Thursday, April 11, 2002 3:25 PM
On a Linux host, click the device name. A cascading menu gives you choices for
connecting or disconnecting the device and, where appropriate, for editing the
configuration settings for the device.
www.vmware.com 111
ws31_manual.book Page 112 Thursday, April 11, 2002 3:25 PM
Input — The Input tab on a Windows host lets you adjust the way that the virtual
machine captures control of keyboard and mouse.
To change the input settings on a Linux host, choose Settings > Input Preferences,
then click an item on the cascading menu to toggle its setting on or off.
112 www.vmware.com
ws31_manual.book Page 113 Thursday, April 11, 2002 3:25 PM
Hot keys — The Hot Key tab on a Windows host lets you change the key
combination that determines whether certain combinations of keys are passed to the
guest operating system or intercepted by VMware Workstation.
For example, you may want to change hot key combinations from Ctrl-Alt-<key> to
Ctrl-Shift-Alt-<key> to prevent Ctrl-Alt-Delete from being intercepted by VMware
Workstation instead of being sent to the guest operating system.
Note: Because Ctrl-Alt is the key combination used to tell VMware Workstation to
release (ungrab) mouse and keyboard input, combinations that include Ctrl-Alt are
not passed to the guest operating system. If you need to use such a combination —
for example, use Ctrl-Alt-<Fkey> to switch between Linux workspaces in a virtual
machine — press Ctrl-Alt-Space, release Space without releasing Ctrl and Alt, then
press the third key of the key combination you want to send to the guest.
Using this dialog box, you can also construct your own custom hot key combination.
Process priorities — The Priority tab on a Windows host lets you determine the
priority that the Windows process scheduler gives to your virtual machines when
mouse and keyboard input are going to a particular virtual machine and when input
is not going to that virtual machine.
www.vmware.com 113
ws31_manual.book Page 114 Thursday, April 11, 2002 3:25 PM
You can adjust these settings to improve overall system performance based on the
relative priority of work you are doing in various virtual machines and on the host
computer.
To change the settings for a particular virtual machine, and override the global
settings, open the virtual machine you want to adjust, choose Settings > Local
Priority, then click the priority setting you want to use for that virtual machine.
There is no corresponding setting on a Linux host.
Reserved memory size — The Memory tab on a Windows host lets you adjust the
amount of memory reserved for all running virtual machines.
114 www.vmware.com
ws31_manual.book Page 115 Thursday, April 11, 2002 3:25 PM
Access to recently used machines and path for virtual machine files — The
Workspace tab on a Windows host let you set the maximum number of virtual
machines that can be listed in the File > Open Recent and File > Instant Restore
menus. It also lets you change the default path for storing virtual machine files.
There are no corresponding settings on a Linux host.
www.vmware.com 115
ws31_manual.book Page 116 Thursday, April 11, 2002 3:25 PM
Command Reference
Linux Host
The following list describes various options available when you run VMware
Workstation from the command line on a Linux host operating system.
vmware [-x ] [-X ] [-q ]
[/<path_to_config>/<config>.cfg ]
[X toolkit options ]
-x automatically powers on the virtual machine when VMware Workstation starts.
This is equivalent to clicking the Power On button in the VMware Workstation toolbar.
-X automatically powers on the virtual machine, then switches the VMware
Workstation window to full screen mode.
-q exits VMware Workstation when the virtual machine powers off. This is particularly
useful when the guest operating system is capable of powering off the virtual
machine.
/<path_to_config>/<config>.cfg launches a virtual machine using the
specified configuration file.
X toolkit options can be passed as arguments, although some of them (most notably
the size and title of the VMware Workstation window) cannot be overridden.
Windows Host
The switches described above for Linux can also be used on a Windows host. The
most convenient way to use the switches is to incorporate them into the command
generated by a Windows shortcut.
Create the shortcut, right-click the shortcut, then click Properties. In the Target field,
add any switches you want to use after the vmware.exe filename. For example,
"C:\Program Files\VMware\VMware Workstation\Programs\vmware.exe -X
C:\Documents and Settings\<username>\My Documents\My Virtual
Machines\Windows Me\Windows Me.vmx"
launches the Windows Me virtual machine specified, powers it on automatically and
switches to full screen mode.
Be sure to enclose the entire command string in quotation marks.
Note: On Windows, the configuration file has a .vmx extension by default. And path
names on Windows use the backslash character (\). X toolkit options are not relevant
on a Windows host.
116 www.vmware.com
ws31_manual.book Page 117 Thursday, April 11, 2002 3:25 PM
6
Moving and Sharing Virtual Machines
ws31_manual.book Page 118 Thursday, April 11, 2002 3:25 PM
118 www.vmware.com
ws31_manual.book Page 119 Thursday, April 11, 2002 3:25 PM
www.vmware.com 119
ws31_manual.book Page 120 Thursday, April 11, 2002 3:25 PM
120 www.vmware.com
ws31_manual.book Page 121 Thursday, April 11, 2002 3:25 PM
www.vmware.com 121
ws31_manual.book Page 122 Thursday, April 11, 2002 3:25 PM
122 www.vmware.com
ws31_manual.book Page 123 Thursday, April 11, 2002 3:25 PM
www.vmware.com 123
ws31_manual.book Page 124 Thursday, April 11, 2002 3:25 PM
panel on the right. To add a virtual disk, select the appropriate disk from the list
on the left (for a boot disk, use either SCSI 0:0 or the IDE disk labeled P-M) and
click Install.
Be sure the filename and path for the virtual disk match the actual filename and
location for the first .vmdk file used by the virtual machine you are moving.
124 www.vmware.com
ws31_manual.book Page 125 Thursday, April 11, 2002 3:25 PM
4. Examine the entry for your virtual disk to see whether it includes a full path to
the first virtual disk file. For example, on a Windows host, you might see a Disk
File listing like this:
My Documents\My Virtual Machines\Windows Me\Windows Me.vmdk
Entries for SCSI disks are similar.
If your Disk File information resembles that above, with a full path to the first disk
file, then as long as you have not committed or discarded changes to the
undoable disk, note the following:
• You can move the disk to another computer of the same type (Windows to
Windows).
• You must place the virtual machine’s other files (.vmx and .REDO on
Windows, .cfg and .REDO on Linux) in the same relative location on the
new computer. In other words, if the virtual machine’s files reside in
My Documents\My Virtual Machines\Windows Me\
on the original host computer, you must place them in that same location on
the new host computer.
• You cannot move the disk to a computer of a different type (Windows to
Linux or vice versa).
• You cannot move the disk to another folder (directory) on the current system.
If your Disk File information does not contain a path, it looks like this:
Windows Me.vmdk
If your disk entry resembles the one above (just a filename with a .vmdk
extension), you can move the disk and redo log anywhere you wish.
www.vmware.com 125
ws31_manual.book Page 126 Thursday, April 11, 2002 3:25 PM
126 www.vmware.com
ws31_manual.book Page 127 Thursday, April 11, 2002 3:25 PM
7
Installing Guest Operating Systems
ws31_manual.book Page 128 Thursday, April 11, 2002 3:25 PM
128 www.vmware.com
ws31_manual.book Page 129 Thursday, April 11, 2002 3:25 PM
www.vmware.com 129
ws31_manual.book Page 130 Thursday, April 11, 2002 3:25 PM
Microsoft Windows XP
• Windows XP Professional and Windows XP Home Edition
Microsoft Windows NT
• Windows NT 4.0 Workstation and Windows NT Server, Service Pack 3 or higher
Microsoft Windows
• Windows Millennium Edition
• Windows 98 and Windows 98 SE
• Windows 95 (all OSR releases)
• Windows for Workgroups
• Windows 3.1
Microsoft MS-DOS
• MS-DOS 6
Linux
• Caldera OpenLinux 2.x
• Mandrake Linux 8.0 and 8.1
• Red Hat™ Linux 6.2, 7.0, 7.1and 7.2
• SuSE™ Linux 7.0, 7.1, 7.2, 7.3 and SLES 7
130 www.vmware.com
ws31_manual.book Page 131 Thursday, April 11, 2002 3:25 PM
• TurboLinux 6.0
FreeBSD
• FreeBSD 3.x, 4.0, 4.1, 4.2, 4.3, 4.4 and 4.5
Note: If you use SCSI virtual disks larger than 2GB with FreeBSD 3.x or 4.x (up to
and including 4.3), there are known problems, and the guest operating system
does not boot. To work around this issue, see Setting the Disk Geometry for a
FreeBSD SCSI Virtual Disk on page 187.
Operating Systems that May Work but are Not Yet Supported
The following guest operating systems may work with VMware Workstation but are
not yet supported. There are no VMware Tools packages for these operating systems.
• Caldera OpenLinux 1.3
• Novell NetWare 4.x, 5.0 (does not work on a Pentium III processor), 5.1 and 6.0
• Solaris 7 Intel Edition, 8
• NetBSD 1.x
• OpenBSD 2.x
Operating Systems that May Not Work and for which Support is Not Planned
The following guest operating systems may not work with VMware Workstation. There
are currently no plans to support these guests in the near future:
• BeOS
• IBM OS/2 and OS/2 Warp
• Minix
www.vmware.com 131
ws31_manual.book Page 132 Thursday, April 11, 2002 3:25 PM
• QNX
• SCO Unix
• UnixWare
132 www.vmware.com
ws31_manual.book Page 133 Thursday, April 11, 2002 3:25 PM
www.vmware.com 133
ws31_manual.book Page 134 Thursday, April 11, 2002 3:25 PM
Installation Steps
If you want to run Windows .NET Server in a VMware Workstation virtual machine, be
sure you have a full installation CD for the operating system.
Before installing the operating system, be sure that you have already created a new
virtual machine and configured it using the VMware Workstation New Virtual Machine
Wizard (on Windows hosts) or Configuration Wizard (on Linux hosts).
VMware Tools
Be sure to install VMware Tools in your guest operating system. For details, see
Installing VMware Tools on page 80.
134 www.vmware.com
ws31_manual.book Page 135 Thursday, April 11, 2002 3:25 PM
details on installing the driver for the virtual machine’s sound card, see Sound in a
Windows XP or Windows .NET Server Guest on page 328.
Known Issues
The Microsoft Windows .NET Server product activation feature creates a numerical key
based on the virtual hardware in the virtual machine where it is installed. Changes in
the configuration of the virtual machine may require you to reactivate the operating
system. There are some steps you can take to minimize the number of significant
changes.
• Set the final memory size for your virtual machine before you activate Windows
.NET Server. When you cross certain thresholds — approximately 32MB, 64MB,
128MB, 256MB, 512MB and 1GB — the product activation feature sees the
changes as significant.
Note: The size reported to the Windows product activation feature is slightly
less than the actual amount configured for the virtual machine. For example,
128MB is interpreted as falling in the 64MB–127MB range.
• Install VMware Tools before you activate Windows .NET Server. When the SVGA
driver in the VMware Tools package is installed, it activates features in the virtual
graphics adapter that make it appear to Windows .NET Server as a new graphics
adapter.
• If you want to experiment with any other aspects of the virtual machine
configuration, do so before activating Windows .NET Server. Keep in mind that
you have 30 days for experimentation before you have to activate the operating
system.
For more details on Windows .NET Server product activation, see the Microsoft Web
site.
www.vmware.com 135
ws31_manual.book Page 136 Thursday, April 11, 2002 3:25 PM
Installation Steps
If you want to run Windows XP Home Edition or Professional in a VMware Workstation
virtual machine, be sure you have a full installation CD for the operating system.
Before installing the operating system, be sure that you have already created a new
virtual machine and configured it using the VMware Workstation New Virtual Machine
Wizard (on Windows hosts) or Configuration Wizard (on Linux hosts). Make sure you
selected Windows XP as your guest operating system.
Now, you're ready to install Windows XP Home Edition or Professional.
136 www.vmware.com
ws31_manual.book Page 137 Thursday, April 11, 2002 3:25 PM
6. Run the VMware Tools installer. For details, see Installing VMware Tools on
page 80.
7. When the guest operating system reboots, allow it to change the screen
resolution and color depth setting.
VMware Tools
Be sure to install VMware Tools in your guest operating system. For details on installing
VMware Tools, see Installing VMware Tools on page 80.
Known Issues
The Microsoft Windows XP product activation feature creates a numerical key based
on the virtual hardware in the virtual machine where it is installed. Changes in the
configuration of the virtual machine may require you to reactivate the operating
system. There are some steps you can take to minimize the number of significant
changes.
• Set the final memory size for your virtual machine before you activate Windows
XP. When you cross certain thresholds — approximately 32MB, 64MB, 128MB,
256MB, 512MB and 1GB — the product activation feature sees the changes as
significant.
Note: The size reported to the Windows product activation feature is slightly
less than the actual amount configured for the virtual machine. For example,
128MB is interpreted as falling in the 64MB–127MB range.
• Install VMware Tools before you activate Windows XP. When the SVGA driver in
the VMware Tools package is installed, it activates features in the virtual graphics
adapter that make it appear to Windows XP as a new graphics adapter.
• If you want to experiment with any other aspects of the virtual machine
configuration, do so before activating Windows XP. Keep in mind that you have
30 days for experimentation before you have to activate the operating system.
For more details on Windows XP product activation, see the Microsoft Web site.
On a Linux host with an XFree86 3.x X server, it is best not to run a screen saver in the
guest operating system. Guest screen savers that demand a lot of processing power
can cause the X server on the host to freeze.
www.vmware.com 137
ws31_manual.book Page 138 Thursday, April 11, 2002 3:25 PM
The hibernation feature is not supported in this release. Instead of using the guest
operating system’s hibernate feature, suspend the virtual machine by clicking
Suspend on the VMware Workstation toolbar.
138 www.vmware.com
ws31_manual.book Page 139 Thursday, April 11, 2002 3:25 PM
VMware Tools
Be sure to install VMware Tools in your guest operating system. After you install
VMware Tools, you need to change your Windows 2000 screen area to be greater than
640x480 pixels; if you do not change it, Windows 2000 uses the standard VGA driver,
and your performance will suffer.
For details, see Installing VMware Tools on page 80.
www.vmware.com 139
ws31_manual.book Page 140 Thursday, April 11, 2002 3:25 PM
Windows Host
1. Shut down Windows 2000 and power off the virtual machine.
2. From the VMware Workstation window, on the Settings menu, choose
Configuration Editor and click Add.
3. Follow the instructions in the Add Hardware Wizard to add a virtual Ethernet
adapter.
4. Power on the virtual machine.
5. When Windows 2000 boots, it automatically detects a new network adapter and
loads drivers for an AMD PCNET Family PCI Ethernet Adapter.
6. You should be able to access the network after logging on to Windows 2000
guest operating system.
Linux Host
1. Shut down Windows 2000 and power off the virtual machine.
2. From the VMware Workstation window, on the Settings menu, choose
Configuration Editor and open the Ethernet Adapters panel.
3. Select a network connection type for the virtual machine and click the Install
button.
4. Click OK to save the updated configuration, then power on the virtual machine.
5. When Windows 2000 boots, it automatically detects a new network adapter and
loads drivers for an AMD PCNET Family PCI Ethernet Adapter.
6. You should be able to access the network after logging on to Windows 2000
guest operating system.
Known Issues
On a Linux host with an XFree86 3.x X server, it is best not to run a screen saver in the
guest operating system. Guest screen savers that demand a lot of processing power
can cause the X server on the host to freeze.
140 www.vmware.com
ws31_manual.book Page 141 Thursday, April 11, 2002 3:25 PM
www.vmware.com 141
ws31_manual.book Page 142 Thursday, April 11, 2002 3:25 PM
the secondary IDE controller (channel 1) at IDE 1:0. Then boot the virtual
machine with Windows NT, run DMACHECK and enable DMA for channel 0 only.
VMware Tools
Be sure to install VMware Tools in your guest operating system. For details, see
Installing VMware Tools on page 80.
Windows Host
1. Shut down Windows NT and power off the virtual machine.
2. From the VMware Workstation window, on the Settings menu, choose
Configuration Editor and click Add.
3. Follow the instructions in the Add Hardware Wizard to add a virtual Ethernet
adapter.
4. Power on the virtual machine.
5. While Windows NT is booting, insert the Windows NT 4.0 CD in the CD-ROM
drive.
6. Log on to Windows NT and install the AMD PCNET driver:
A. Open the Network properties page by double-clicking the Network icon in
Control Panel. Change to the Network Adapters screen by clicking the
Adapters tab.
B. Click the Add button and select the AMD PCNET Family Ethernet Adapter
from the list.
C. A message pops up prompting you to enter a path for the Windows NT
files. Specify the \I386 folder on the CD in the path you enter (for
example, type D:\i386 if the CD is in drive D) and click Continue.
142 www.vmware.com
ws31_manual.book Page 143 Thursday, April 11, 2002 3:25 PM
D. Windows NT setup prompts you for the Windows NT files again. Click
Continue.
E. Use the default adapter settings; they do not need to be changed.
Windows NT setup prompts you again for a path to the Windows NT files.
Click Continue to finish installing the driver.
Linux Host
1. Shut down Windows NT and power off the virtual machine.
2. From the main program window, on the Settings menu, choose Configuration
Editor and open the Ethernet Adapters panel.
3. Select a network connection type for the virtual machine and click the Install
button.
4. Click OK to save the updated configuration, then power on the virtual machine.
5. While Windows NT is booting, insert the Windows NT 4.0 CD in the CD-ROM
drive.
6. Log on to Windows NT and install the AMD PCNET driver:
A. Open the Network properties page by double-clicking the Network icon in
Control Panel. Change to the Network Adapters screen by clicking the
Adapters tab.
B. Click the Add button and select the AMD PCNET Family Ethernet Adapter
from the list.
C. A message pops up prompting you to enter a path for the Windows NT
files. Specify the \I386 folder on the CD in the path you enter (for
example, type D:\i386 if the CD is in drive D) and click Continue.
D. Windows NT setup prompts you for the Windows NT files again. Click
Continue.
E. Use the default adapter settings; they do not need to be changed.
Windows NT setup prompts you again for a path to the Windows NT files.
Click Continue to finish installing the driver.
Known Issues
On a Linux host with an XFree86 3.x X server, it is best not to run a screen saver in the
guest operating system. Guest screen savers that demand a lot of processing power
can cause the X server on the host to freeze.
www.vmware.com 143
ws31_manual.book Page 144 Thursday, April 11, 2002 3:25 PM
Installation Steps
1. Use the VMware Workstation Configuration Editor to verify the virtual machine’s
devices are set up as you expect before starting the installation. For example, if
you would like the Windows Me Setup program to install networking services,
be sure that a virtual Ethernet adapter is installed in the virtual machine’s
configuration. VMware also recommends that you disable the screen saver on
the host system before starting the installation process.
2. Insert the Windows Me CD in the CD-ROM drive.
3. Power on the virtual machine to start installing Windows Me.
4. Choose to boot from CD-ROM, then select the Start Windows Me Setup from
CD-ROM option. The setup program runs FDISK and reboots.
5. Once again, choose to boot from CD-ROM, then select the Start Windows Me
Setup from CD-ROM option. The setup program continues installing Windows
Me.
6. Follow the Windows Me installation steps as you would for a physical machine.
VMware Tools
Be sure to install VMware Tools in your guest operating system. For details, see
Installing VMware Tools on page 80.
Known Issues
On a Linux host with an XFree86 3.x X server, it is best not to run a screen saver in the
guest operating system. Guest screen savers that demand a lot of processing power
can cause the X server on the host to freeze.
144 www.vmware.com
ws31_manual.book Page 145 Thursday, April 11, 2002 3:25 PM
Installation Steps
1. Use the VMware Workstation Configuration Editor to verify the virtual machine’s
devices are set up as you expect before starting the installation. For example, if
you would like the Windows 98 setup program to install a sound driver, be sure
that sound is enabled in the virtual machine’s configuration. VMware also
recommends that you disable the screen saver on the host system before
starting the installation process.
2. Insert the Windows 98 CD in the CD-ROM drive.
3. Power on the virtual machine to start installing Windows 98.
4. Choose to boot from CD-ROM, then select the Start Windows 98 Setup from
CD-ROM option. The setup program runs FDISK and reboots.
5. Once again, choose to boot from CD-ROM, then select the Start Windows 98
Setup from CD-ROM option. The setup program continues installing Windows
98.
6. Follow the Windows 98 installation steps as you would for a physical PC.
VMware Tools
Be sure to install VMware Tools in your guest operating system. For details, see
Installing VMware Tools on page 80.
www.vmware.com 145
ws31_manual.book Page 146 Thursday, April 11, 2002 3:25 PM
Windows Host
1. Shut down Windows 98 and power off the virtual machine.
2. From the VMware Workstation window, on the Settings menu, choose
Configuration Editor and click Add.
3. Follow the instructions in the Add Hardware Wizard to add a virtual Ethernet
adapter.
4. Power on the virtual machine.
5. When Windows 98 reboots, it auto-detects an AMD PCNET Family Ethernet
Adapter (PCI-ISA) and prompts for the Windows 98 CD-ROM to install drivers.
The default Ethernet adapter settings should work fine and do not need to be
changed.
6. Use the Network icon in the Control Panel to view or change network settings.
For example, you may want to add the TCP/IP protocol since Windows 98 does
not install it by default.
Linux Host
1. Shut down Windows 98 and power off the virtual machine.
2. From the main program window, on the Settings menu, choose Configuration
Editor and open the Ethernet Adapters panel.
3. Select a network connection type for the virtual machine and click the Install
button.
4. Click OK to save the updated configuration, then power on the virtual machine.
5. When Windows 98 reboots, it auto-detects an AMD PCNET Family Ethernet
Adapter (PCI-ISA) and prompts for the Windows 98 CD-ROM to install drivers.
The default Ethernet adapter settings should work fine and do not need to be
changed.
6. Use the Network icon in the Control Panel to view or change network settings.
For example, you may want to add the TCP/IP protocol since Windows 98 does
not install it by default.
146 www.vmware.com
ws31_manual.book Page 147 Thursday, April 11, 2002 3:25 PM
Known Issues
After Windows 98 has been installed, you may notice COM5 and COM6 devices exist
within the Windows Device Manager. These devices do not actually exist and are not
consuming IRQ or other resources. You may remove them using the Windows device
manager if you like.
On a Linux host with an XFree86 3.x X server, it is best not to run a screen saver in the
guest operating system. Guest screen savers that demand a lot of processing power
can cause the X server on the host to freeze.
Support for EMM386.EXE and other memory managers is currently limited. If you
initially boot using a customized non-standard MS-DOS or Windows 98 boot floppy,
be sure that EMM386.EXE (or other memory manager) is not being loaded.
HIMEM.SYS and RAMDRIVE.SYS can be loaded and used without problems.
www.vmware.com 147
ws31_manual.book Page 148 Thursday, April 11, 2002 3:25 PM
Installation Steps
1. Use the VMware Workstation Configuration Editor to verify the virtual machine’s
devices are set up as you expect before starting the installation. For example, if
you would like the Windows 95 setup program to install a sound driver, be sure
that sound is enabled in the virtual machine’s configuration. VMware also
recommends that you disable the screen saver on the host system before
starting the installation process.
2. Insert the Windows 95 CD-ROM Setup Boot Disk in floppy drive A: and insert
the Windows 95 CD in the CD-ROM drive.
3. Power on the virtual machine.
4. After the virtual machine boots, if you are presented with a choice of CD-ROM
drivers, select the first IDE driver option available (even if your computer has a
SCSI CD-ROM drive).
148 www.vmware.com
ws31_manual.book Page 149 Thursday, April 11, 2002 3:25 PM
www.vmware.com 149
ws31_manual.book Page 150 Thursday, April 11, 2002 3:25 PM
Also be sure that the Microsoft NetBEUI protocol is installed. It may not be
installed by default.
10. Finish the Windows 95 installation.
11. VMware Workstation's virtual disks support DMA transfers for better
performance. The feature can be enabled after Windows 95 has been
successfully installed on a virtual IDE disk. Follow these steps to enable the
feature:
A. Right-click My Computer and select Properties.
B. From the System Properties dialog box, click the Device Manager tab.
C. Double-click the Disk Drives device category.
D. Double-click the GENERIC IDE DISK TYPE01 device.
E. Click the Settings tab and select the DMA check box.
VMware Tools
Be sure to install VMware Tools in your guest operating system. For details, see
Installing VMware Tools on page 80.
Windows Host
1. Shut down Windows 95 and power off the virtual machine.
2. From the VMware Workstation window, on the Settings menu, choose
Configuration Editor and click Add.
3. Follow the instructions in the Add Hardware Wizard to add a virtual Ethernet
adapter.
4. Power on the virtual machine.
5. When Windows 95 reboots, it auto-detects an AMD PCNET Family Ethernet
Adapter (PCI&ISA) and prompts for the Windows 95 CD-ROM to install drivers.
150 www.vmware.com
ws31_manual.book Page 151 Thursday, April 11, 2002 3:25 PM
The default Ethernet adapter settings should work fine and do not need to be
changed.
6. Double-click the Network icon in the Control Panel to view or change network
settings. For example, you may want to add the TCP/IP protocol since Windows
95 does not install it by default.
Linux Host
1. Shut down Windows 95 and power off the virtual machine.
2. From the main program window, on the Settings menu, choose Configuration
Editor and open the Ethernet Adapters panel.
3. Select a network connection type for the virtual machine and click the Install
button.
4. Click OK to save the updated configuration, then power on the virtual machine.
5. When Windows 95 reboots, it auto-detects an AMD PCNET Family Ethernet
Adapter (PCI&ISA) and prompts for the Windows 95 CD-ROM to install drivers.
The default Ethernet adapter settings should work fine and do not need to be
changed.
6. Double-click the Network icon in the Control Panel to view or change network
settings. For example, you may want to add the TCP/IP protocol since Windows
95 does not install it by default.
Known Issues
After Windows 95 has been installed, you may find that networking is not working in
the guest operating system. There are several things you should check.
• Either remove your virtual machine’s virtual USB adapter using the Configuration
Editor (Settings > Configuration Editor) or — if your release of Windows 95
includes USB support — be sure the USB drivers are installed.
• Check the Windows 95 Device Manager to see if COM5 and COM6 devices are
listed. If they are, disable or remove them.
• Be sure that NetBEUI was installed when you set up networking.
• Be sure that Windows 95 Plug and Play properly detected the virtual Ethernet
adapter. If it did not, you may need to use the Device Manager to remove the
adapter, then reinstall it using the Add New Hardware control panel.
On a Linux host with an XFree86 3.x X server, it is best not to run a screen saver in the
guest operating system. Guest screen savers that demand a lot of processing power
can cause the X server on the host to freeze.
www.vmware.com 151
ws31_manual.book Page 152 Thursday, April 11, 2002 3:25 PM
After Windows 95 has been installed, you may notice Unknown, COM5 and COM6
devices exist in the Windows Device Manager. These devices do not actually exist and
are not consuming IRQ or other resources. You may remove them using the Windows
Device Manager if you like.
Support for EMM386.EXE and other memory managers is currently limited. If you plan
to boot initially using a customized non-standard MS-DOS or Windows 95 boot disk,
be sure that EMM386.EXE (or other memory manager) is not being loaded.
HIMEM.SYS and RAMDRIVE.SYS can be loaded and used without problems.
152 www.vmware.com
ws31_manual.book Page 153 Thursday, April 11, 2002 3:25 PM
Known Issues
The current support for DOS/EMM386 is limited. We recommend that you avoid
using it for now. Be sure to comment out the entry in the CONFIG.SYS file.
We intermittently encounter erratic mouse behavior in virtual machines running
Windows v3.1x in window mode. This problem does not appear in the full screen
mode.
www.vmware.com 153
ws31_manual.book Page 154 Thursday, April 11, 2002 3:25 PM
No VMware Tools package exists for DOS or Windows 3.1x guest operating systems;
therefore, Windows 3.1x is limited to VGA mode graphics and you must always use the
Ctrl-Alt key combination to release the mouse from a DOS or Windows 3.1x virtual
machine.
On a Linux host with an XFree86 3.x X server, it is best not to run a screen saver in the
guest operating system. Guest screen savers that demand a lot of processing power
can cause the X server on the host to freeze.
154 www.vmware.com
ws31_manual.book Page 155 Thursday, April 11, 2002 3:25 PM
Installation Steps
1. Use the VMware Workstation Configuration Editor to verify the virtual machine’s
devices are set up as you expect before starting the installation. For example, if
you would like networking software to be installed during the OpenLinux 2.2, 2.3
or 2.4 installation process, be sure the virtual machine’s Ethernet adapter is
enabled and configured. VMware also recommends that you disable the screen
saver on the host system before starting the installation process.
2. Windows host only: In the second OpenLinux 2.2, 2.3, or 2.4 installation screen,
titled Set Up Mouse, the mouse cursor in the virtual machine does not move
when the physical mouse is moved. To work around this problem, use the Tab
and arrow keys to change the default mouse and button settings from PS/2
mouse and Standard without wheel to something else. Immediately, change
both settings back to the original settings. The mouse should work after that.
3. At the Mouse, Keyboard, Video Card, Monitor and Video Mode selection screens,
choose the install program’s default settings without making changes.
Note: It is not necessary to use the Probe or Test Mode button at the Video
Card/Video Mode selection screens. If you use the buttons, ignore the results
and click Next to continue with the installation.
4. If the virtual machine’s Ethernet adapter has been enabled, the OpenLinux install
program auto-loads the correct driver. You need to choose between DHCP and
static IP addressing. You must provide the hostname parameter in either case.
www.vmware.com 155
ws31_manual.book Page 156 Thursday, April 11, 2002 3:25 PM
5. Finish installing OpenLinux 2.2, 2.3 or 2.4 as you would on a physical PC.
At this point OpenLinux 2.2, 2.3 or 2.4 boots and presents a log-on screen. As you
may notice, the dialog box is cropped inside the virtual machine window. Install
VMware Tools inside the virtual machine to provide support for the full screen
resolution.
VMware Tools
Be sure to install VMware Tools in your guest operating system. For details, see
Installing VMware Tools on page 80.
Known Issues
On a Linux host with an XFree86 3.x X server, it is best not to run a screen saver in the
guest operating system. Guest screen savers that demand a lot of processing power
can cause the X server on the host to freeze.
156 www.vmware.com
ws31_manual.book Page 157 Thursday, April 11, 2002 3:25 PM
Installation Tips
At the beginning of the installation process, OpenLinux appears to detect no devices
at all (no CD-ROMs, hard drives, or network cards). Do not be concerned; just continue
with the installation as usual.
The virtual machine may complain about illegal opcodes. This is a known issue. You
should be able to install OpenLinux as a guest operating system despite this.
The virtual machine automatically attempts to boot from the hard disk before the CD.
As a result, when OpenLinux reboots your machine after partitioning and formatting
the hard drive, it appears that the machine does nothing after the BIOS splash screen
(that is, the screen is blank). To fix this, go into the BIOS setup during boot (click inside
the VMware Workstation window, then press F2). Go to the Boot menu and press the
+ key to move the CD-ROM (or your bootable media) option above the hard drive
option. Now save the BIOS options and reboot. The installation should now continue
normally.
To enable networking during the installation, follow these steps:
1. In the LISA setup screen, select Yes for the Automatic Network Configuration
option.
2. Answer No when you are asked if all hardware was recognized.
3. In the Kernel Module Manager screen, select item 3 (Load Kernel Modules).
4. Select Load driver for network card.
5. Choose the AMD PCI PCnet32 (PCI bus NE2100), then Finish kernel module
management. Continue with the installation following Caldera’s instructions.
When installing LILO, be sure to install LILO onto the first hard drive and not onto
the primary partition. Installing onto the primary partition causes LILO to fail to
come up at boot time, resulting in a black, blank screen after the BIOS splash.
You can now set up networking as usual, following the Caldera instructions. Before
you attempt to install VMware Tools, you need to install the glibc library. The glibc
runtime library (glibc-2.06-1.i386.rpm) is located in the
col/contrib/RPMS directory on the installation CD for OpenLinux 1.3.
www.vmware.com 157
ws31_manual.book Page 158 Thursday, April 11, 2002 3:25 PM
VMware Tools
Be sure to install VMware Tools in your guest operating system. For details, see
Installing VMware Tools on page 80.
Known Issues
On a Linux host with an XFree86 3.x X server, it is best not to run a screen saver in the
guest operating system. Guest screen savers that demand a lot of processing power
can cause the X server on the host to freeze.
158 www.vmware.com
ws31_manual.book Page 159 Thursday, April 11, 2002 3:25 PM
Installation steps
Note: These instructions have been created for an installation on a new
(unpartitioned and unformatted) virtual disk The steps tell you what screen buttons or
questions you would be able to see if you could see the entire screen, what the
default option is for that installation step and what you actually need to type.
1. Screen buttons/question: Accept, Decline
Default button: Accept
You type: <Tab>, <Enter>
2. Screen buttons/question: User Name
Default button: N/A
You type: <machinename> (in lowercase and numbers only), <ENTER>
3. Screen buttons/question: Install Standard Desktop, Show Advanced Options
Default button: Install Standard Desktop
You type: <Enter>
4. Screen buttons/question: Take Over Disk, Use Free Disk Space, Edit Partition
Table
Default button: Use Free Disk Space
You type: <Tab> <Space> <Enter>
5. Screen buttons/question: Warning… erase all data, Yes, No
Default button: Yes
You type: <Enter>
6. Screen buttons/question: Ready to Install…
Default button: N/A
You type: <Tab> <Tab> <Tab> <Space>
7. When the installation begins, the lower left-hand corner of the screen displays
“ting disk…” Wait a long time (approximately 30 minutes). The actual time
www.vmware.com 159
ws31_manual.book Page 160 Thursday, April 11, 2002 3:25 PM
depends on the type of host system and the resources available on it. Reboot
the virtual machine when prompted by the Corel installation procedure. (Be sure
to remove the CD.)
8. The next time you boot the virtual machine, choose 4. Linux Text Mode. If you
accidentally choose the default option, 1. Corel Linux, the screen blinks at the
command prompt. Reboot and choose option 4.
9. Log on as root.
10. Immediately install VMware Tools. For details, see Installing VMware Tools on
page 80. After VMware Tools is installed, you can run X in a graphics mode other
than 640x480 and 16 colors.
Known Issues
On a Linux host with an XFree86 3.x X server, it is best not to run a screen saver in the
guest operating system. Guest screen savers that demand a lot of processing power
can cause the X server on the host to freeze.
160 www.vmware.com
ws31_manual.book Page 161 Thursday, April 11, 2002 3:25 PM
Installation Tips
1. Use the VMware Workstation Configuration Editor to verify the virtual machine’s
devices are set up as you expect before starting the installation. For example, if
you would like networking software to be installed during the Corel Linux OS
installation process, be sure the virtual machine’s Ethernet adapter is enabled
and configured. VMware also recommends that you disable the screen saver on
the host system before starting the installation process.
2. Put the CD in the CD-ROM drive and click the Power On button.
3. Follow the installation steps as you would for a physical PC.
VMware Tools
1. After the first section of the installation is complete, Corel Linux OS asks you to
click a button to restart the computer. Click the button.
2. When the virtual machine restarts, you see a graphical menu with five choices.
Click inside the virtual machine window, use the arrow keys to select 3. Linux –
Console, then press Enter.
3. Corel Linux OS displays various messages, then pauses, with the last two lines on
the screen reading
Give root password for maintenance
(or type Control-D for normal startup)
At this point, there is no password for the root account. Press Enter to log on as
root.
4. Press Ctrl-Alt to release the mouse from the virtual machine. In the VMware
Workstation window, select Settings > VMware Tools Install…. When asked
whether you want to see the help for VMware Tools installation, click Yes.
5. Click inside the VMware Workstation window so VMware Workstation grabs the
mouse and keyboard.
6. Follow the directions for installing VMware Tools (see Installing VMware Tools on
page 80) until you reach the point where you are instructed to run
./install.pl.
www.vmware.com 161
ws31_manual.book Page 162 Thursday, April 11, 2002 3:25 PM
Instead, type
./install.pl other
and press Enter.
7. After VMware Tools is installed, log out of the root account.
exit
Corel Linux OS configures your system, then launches the graphical interface,
using the VMware SVGA driver.
8. Launch the VMware Tools background application.
/usr/X11R6/bin/vmware-toolbox &
You may run VMware Tools as root or as a normal user. To shrink virtual disks, you
must run VMware Tools as root (su).
Known Issues
On a Linux host with an XFree86 3.x X server, it is best not to run a screen saver in the
guest operating system. Guest screen savers that demand a lot of processing power
can cause the X server on the host to freeze.
162 www.vmware.com
ws31_manual.book Page 163 Thursday, April 11, 2002 3:25 PM
Installation Steps
1. Use the VMware Workstation Configuration Editor to verify the virtual machine’s
devices are set up as you expect before starting the installation. For example, if
you would like networking software to be installed during the Mandrake Linux
8.2 installation process, be sure the virtual machine's Ethernet adapter is enabled
and configured. You may also want to increase the virtual machine’s memory to
64MB. VMware also recommends that you disable the screen saver on the host
system before starting the installation process.
2. Insert the Mandrake Linux 8.2 CD in the CD-ROM drive and click the Power On
button.
3. Follow the installation steps as you would for a physical machine. Be sure to
make the choices outlined in the following steps.
4. Use the Expert installer.
5. In the partitioning step, unless you have special requirements, it is all right to let
Mandrake Linux auto-allocate the space.
6. When selecting a boot loader, use LILO with text menu. Do not use the
graphical version of LILO. It causes the virtual machine to hang.
7. Do not create a custom boot disk when prompted.
8. You are offerred a choice of 2 XFree86 X servers to install. Choose XFree 4.2.0.
This driver recognizes the VMware SVGA driver.
www.vmware.com 163
ws31_manual.book Page 164 Thursday, April 11, 2002 3:25 PM
9. Near the end of the installation, after files have been copied, you reach the
monitor setup screen. Choose the resolution and refresh rate you want your
guest to use.
10. When the installer asks if you want to test the configuration, answer No.
11. When the installer asks if you want to install updates to the kernel, answer No.
12. When the installer asks whether to start X when you reboot, answer No.
This completes basic installation of the Mandrake Linux 8.2 guest operating system.
VMware Tools
Be sure to install VMware Tools in your guest operating system. For details, see
Installing VMware Tools on page 80.
Note: With a Mandrake Linux 8.2 guest, you should install VMware Tools from the
Linux console. Do not start X until you have installed VMware Tools and carried out
the final step in this guide.
Known Issues
On a Linux host with an XFree86 3.x X server, it is best not to run a screen saver in the
guest operating system. Guest screen savers that demand a lot of processing power
can cause the X server on the host to freeze.
164 www.vmware.com
ws31_manual.book Page 165 Thursday, April 11, 2002 3:25 PM
Installation Steps
1. Use the VMware Workstation Configuration Editor to verify the virtual machine’s
devices are set up as you expect before starting the installation. For example, if
you would like networking software to be installed during the Mandrake Linux
8.0 or 8.1 installation process, be sure the virtual machine's Ethernet adapter is
enabled and configured. You may also want to increase the virtual machine’s
memory to 64MB. VMware also recommends that you disable the screen saver
on the host system before starting the installation process.
2. Insert the Mandrake Linux 8.0 or 8.1 CD in the CD-ROM drive and click the Power
On button.
3. Follow the installation steps as you would for a physical machine. Be sure to
make the choices outlined in the following steps.
4. Use the Expert installer.
5. In the partitioning step, unless you have special requirements, it is all right to let
Mandrake Linux auto-allocate the space.
6. When selecting a boot loader, use LILO with text menu. Do not use the
graphical version of LILO. It causes the virtual machine to hang.
7. On the Select a Graphic Card screen, choose Other > Generic VGA compatible.
8. Near the end of the installation, after files have been copied, you reach the
monitor setup screen. Choose Super VGA, 800x600 @ 56 Hz.
9. When the installer asks whether to start X when you reboot, answer No.
www.vmware.com 165
ws31_manual.book Page 166 Thursday, April 11, 2002 3:25 PM
This completes basic installation of the Mandrake Linux 8.0 or 8.1 guest
operating system. But there are two additional steps that are vital if you want to
run X in your virtual machine.
VMware Tools
Be sure to install VMware Tools in your guest operating system. For details, see
Installing VMware Tools on page 80.
Note: With a Mandrake Linux 8.0 or 8.1 guest, you should install VMware Tools from
the Linux console. Do not start X until you have installed VMware Tools and carried
out the final step in this guide.
Known Issues
On a Linux host with an XFree86 3.x X server, it is best not to run a screen saver in the
guest operating system. Guest screen savers that demand a lot of processing power
can cause the X server on the host to freeze.
The shutdown process in the guest operating system may hang when shutting down
the network interface because of the way the Mandrake Linux 8.0 shutdown script
handles dhcpd. This problem does not occur with Mandrake Linux 8.1 guests.
Installation sometimes hangs at running /sbin/loader for no apparent
reason. The hang is caused by a bug in early versions of the 2.4 Linux kernel. The bug
has been fixed in kernel 2.4.5. Distributions based on this kernel should install without
problems.
For earlier 2.4-series kernels, a workaround is available. Although the Linux kernel bug
is not related to CD-ROM drives, the workaround involves changing a VMware
configuration setting for the virtual DVD/CD-ROM drive.
Power off the virtual machine and close the VMware Workstation window. Open the
virtual machine’s configuration file (.vmx file on a Windows host or .cfg file on a
Linux host) in a text editor and add the following line:
cdrom.minvirtualtime=100
Save the file. Now you should be able to install the guest operating system as
described above.
166 www.vmware.com
ws31_manual.book Page 167 Thursday, April 11, 2002 3:25 PM
Installation Steps
1. Use the VMware Workstation Configuration Editor to verify the virtual machine’s
devices are set up as you expect before starting the installation. For example, if
you would like networking software to be installed during the Red Hat Linux 7.1
or 7.2 installation process, be sure the virtual machine’s Ethernet adapter is
enabled and configured. VMware also recommends that you disable the screen
saver on the host system before starting the installation process.
2. Insert the Red Hat Linux 7.1 or 7.2 CD-ROM in the CD-ROM drive and power on
the virtual machine.
You need to install Red Hat Linux 7.1 or 7.2 using the text mode installer, which
you may choose when you first boot the installer. At the Red Hat Linux 7.1 or 7.2
CD boot prompt, you are offered the following choices:
To install or upgrade a system ... in graphical mode ...
To install or upgrade a system ... in text mode, type: text <ENTER>.
To enable expert mode, ...
Use the function keys listed below ...
To choose the text mode installer, type text followed by Enter. If you simply
press the Enter key, the installer performs a check, then switches to the text
mode installer.
3. Follow the installation steps as you would for a physical machine. Be sure to
make the choices outlined in the following steps.
4. Choose the language and keyboard, then in the Installation Type screen, choose
either Server or Workstation for the installation type.
www.vmware.com 167
ws31_manual.book Page 168 Thursday, April 11, 2002 3:25 PM
Known Issues
On a Linux host with an XFree86 3.x X server, it is best not to run a screen saver in the
guest operating system. Guest screen savers that demand a lot of processing power
can cause the X server on the host to freeze.
168 www.vmware.com
ws31_manual.book Page 169 Thursday, April 11, 2002 3:25 PM
www.vmware.com 169
ws31_manual.book Page 170 Thursday, April 11, 2002 3:25 PM
Installation Steps
1. Use the VMware Workstation Configuration Editor to verify the virtual machine’s
devices are set up as you expect before starting the installation. For example, if
you would like networking software to be installed during the Red Hat Linux 7.0
installation process, be sure the virtual machine’s Ethernet adapter is enabled
and configured. VMware also recommends that you disable the screen saver on
the host system before starting the installation process.
2. Insert the Red Hat Linux 7.0 CD in the CD-ROM drive and click the Power On
button.
3. Follow the installation steps as you would for a physical PC. Be sure to make the
choices outlined in the following steps.
4. In Video Card Selection choose Generic VGA compatible, then click OK.
170 www.vmware.com
ws31_manual.book Page 171 Thursday, April 11, 2002 3:25 PM
5. Near the end of the installation, after files have been copied, you reach the
Monitor Setup screen. Choose Generic Standard VGA, 640x480 @ 60 Hz, then
click OK.
6. At the Video Memory screen, choose 256Kb, then click OK.
7. At the Clockchip Configuration screen, choose No Clockchip Setting
(recommended), which is the default, then click OK.
8. At the Probe for Clocks screen, click Skip.
9. At the Select Video Modes screen, don't choose anything. Just click OK.
10. At the Starting X screen, click Skip.
Note: This is the most important step. Clicking OK runs the XFree86 version 4
server, which fails, and the installer aborts.
This completes basic installation of the Red Hat Linux 7.0 guest operating system.
VMware Tools
Be sure to install VMware Tools in your guest operating system. For details, see
Installing VMware Tools on page 80.
Note: With a Red Hat Linux 7.0 guest, you should install VMware Tools from the Linux
console. Do not start X until you have installed VMware Tools.
Known Issues
On a Linux host with an XFree86 3.x X server, it is best not to run a screen saver in the
guest operating system. Guest screen savers that demand a lot of processing power
can cause the X server on the host to freeze.
www.vmware.com 171
ws31_manual.book Page 172 Thursday, April 11, 2002 3:25 PM
Installation Steps
1. Use the VMware Workstation Configuration Editor to verify the virtual machine’s
devices are set up as you expect before starting the installation. For example, if
you would like networking software to be installed during the Red Hat Linux 6.x
installation process, be sure the virtual machine’s Ethernet adapter is enabled
and configured. VMware also recommends that you disable the screen saver on
the host system before starting the installation process.
2. Insert the Red Hat Linux 6.x CD in the CD-ROM drive and click the Power On
button.
3. Follow the installation steps as you would for a physical PC.
Note: If the virtual machine’s Ethernet adapter has been enabled, the
installation program auto-detects and loads the AMD PC/Net 32 driver (no
command line parameter is necessary to load the driver).
172 www.vmware.com
ws31_manual.book Page 173 Thursday, April 11, 2002 3:25 PM
Note: The text mode installer in Red Hat Linux 6.x presents a Hostname
Configuration screen. If you are installing this guest with DHCP in a virtual
machine with host-only networking, do not specify a host name. Just respond
OK and continue. (Specifying a host name will cause an installer error later.) At
the next screen — Network Configuration — respond OK to use the default: Use
bootp/dhcp.
4. During the Linux installation, select the standard VGA16 X server. In the Choose a
Card screen, select the Generic VGA compatible/Generic VGA card from the list.
In the Monitor Setup screen, select Generic Monitor from the list. Select the
Probe button from the Screen Configuration dialog box and select OK from the
Starting X dialog box. After Linux is installed, you will replace the generic X server
with the accelerated X server included in the VMware Tools package when you
install VMware Tools.
5. Finish installing Red Hat Linux 6.x as you would on a physical PC.
At this point Red Hat 6.x boots and presents a log-on screen.
VMware Tools
Be sure to install VMware Tools in your guest operating system. For details, see
Installing VMware Tools on page 80.
Known Issues
On a Linux host with an XFree86 3.x X server, it is best not to run a screen saver in the
guest operating system. Guest screen savers that demand a lot of processing power
can cause the X server on the host to freeze.
www.vmware.com 173
ws31_manual.book Page 174 Thursday, April 11, 2002 3:25 PM
Installation Steps
1. Use the VMware Workstation Configuration Editor to verify the virtual machine’s
devices are set up as you expect before starting the installation. For example, if
you would like networking software to be installed during the Red Hat Linux 5.x
installation process, be sure the virtual machine’s Ethernet adapter is enabled
and configured. VMware also recommends that you disable the screen saver on
the host system before starting the installation process.
2. Insert the Red Hat Linux 5.x CD in the CD-ROM drive and click Power On.
3. Follow the installation steps as you would for a physical PC.
4. Choose PS/2 mouse for your mouse configuration.
5. To set up your monitor:
A. In the Choose a Card screen, select Generic VGA Compatible.
B. In the Monitor Setup screen, select Generic Monitor.
C. In the Screen Configuration screen, select Probe.
Note: Initially, you have a VGA X server. When you install VMware Tools, after
you finish installing Linux, you automatically replace the VGA X server with an
accelerated SVGA X server.
6. The network card needs to be set up and configured as an AMD PC/Net 32 to
give the virtual machine network connectivity.
Select AMD PC/Net 32 as the network card. You do not need to add any optional
parameters.
7. Install the bootloader in the master boot record in your virtual machine.
VMware Tools
Be sure to install VMware Tools in your guest operating system. For details, see
Installing VMware Tools on page 80.
174 www.vmware.com
ws31_manual.book Page 175 Thursday, April 11, 2002 3:25 PM
Known Issues
On a Linux host with an XFree86 3.x X server, it is best not to run a screen saver in the
guest operating system. Guest screen savers that demand a lot of processing power
can cause the X server on the host to freeze.
www.vmware.com 175
ws31_manual.book Page 176 Thursday, April 11, 2002 3:25 PM
Installation Steps
1. Use the VMware Workstation Configuration Editor to verify the virtual machine’s
devices are set up as you expect before starting the installation. For example, if
you would like networking software to be installed during the SuSE Linux 7.1, 7.2
or 7.3 installation process, be sure the virtual machine’s Ethernet adapter is
enabled and configured. VMware also recommends that you disable the screen
saver on the host system before starting the installation process.
2. Insert the SuSE Linux 7.1, 7.2 or 7.3 installation CD in the CD-ROM drive and click
the Power On button.
3. Follow the installation steps as you would for a physical machine, until you get to
the selection screens described in the next step.
4. You are offered a choice of Linux kernels to install. Kernel 2.2.18 is selected by
default. Be sure to leave it selected. If you want to use kernel 2.4 in your virtual
machine, select both.
5. Part way through the installation, the installer reboots the virtual machine. At the
LILO screen, let the boot proceed using the default selection of linux to use
the 2.2.18 kernel.
6. At the Desktop Settings screen, select 640x480 256 colors.
7. Finish installing SuSE Linux 7.1, 7.2 or 7.3 as you would on a physical machine.
At the end of the installation, boot again using the default LILO selection of
linux, then install VMware Tools in your guest operating system. For details,
see Installing VMware Tools on page 80.
176 www.vmware.com
ws31_manual.book Page 177 Thursday, April 11, 2002 3:25 PM
8. After you have installed VMware Tools, you may boot your SuSE 7.1, 7.2 or 7.3
virtual machine with any of the selections offered in LILO.
Known Issues
On a Linux host with an XFree86 3.x X server, it is best not to run a screen saver in the
guest operating system. Guest screen savers that demand a lot of processing power
can cause the X server on the host to freeze.
www.vmware.com 177
ws31_manual.book Page 178 Thursday, April 11, 2002 3:25 PM
Installation Steps
1. Use the VMware Workstation Configuration Editor to verify the virtual machine’s
devices are set up as you expect before starting the installation. For example, if
you would like networking software to be installed during the SuSE Linux 7.1
installation process, be sure the virtual machine’s Ethernet adapter is enabled
and configured. Be sure the virtual machine’s memory is set to at least 64MB.
VMware also recommends that you disable the screen saver on the host system
before starting the installation process.
2. Insert the SuSE Linux 7.0 installation CD in the CD-ROM drive and click the Power
On button.
3. Follow the installation steps as you would for a physical machine.
4. In the Desktop Settings screen, select 640x480 256 colors.
5. Finish installing SuSE Linux 7.0 as you would on a physical machine.
VMware Tools
Be sure to install VMware Tools in your guest operating system. For details, see
Installing VMware Tools on page 80.
Known Issues
On a Linux host with an XFree86 3.x X server, it is best not to run a screen saver in the
guest operating system. Guest screen savers that demand a lot of processing power
can cause the X server on the host to freeze.
178 www.vmware.com
ws31_manual.book Page 179 Thursday, April 11, 2002 3:25 PM
Installation Steps
1. Use the VMware Workstation Configuration Editor to verify the virtual machine’s
devices are set up as you expect before starting the installation. For example, if
you would like networking software to be installed during the SuSE Linux 6.3 or
6.4 installation process, be sure the virtual machine’s Ethernet adapter is enabled
and configured. VMware also recommends that you disable the screen saver on
the host system before starting the installation process.
2. Insert SuSE Linux 6.3 or 6.4 CD No. 2 in the CD-ROM drive and click the Power On
button.
3. Follow the installation steps as you would for a physical PC, until you get to the
selection screens described in the next step.
Note: Part way through the process, the installer asks you to insert CD No. 1,
even if you initially booted from CD No. 2. You should, indeed, insert CD No. 1 at
that point. When the installer asks, “Which type of install do you prefer: Text or
Graphical,” be sure to choose text.
4. If you have Ethernet configured, a pop-up message appears stating that the
pcnet32 driver is loaded automatically. The driver’s long name is displayed as
AMD PCI PCnet32 (PCI bus NE2100).
www.vmware.com 179
ws31_manual.book Page 180 Thursday, April 11, 2002 3:25 PM
5. From the Installation – YaST screen, select the packages you want to install and
select the Start Installation option to continue.
6. Finish installing SuSE Linux 6.3 or 6.4 as you would on a physical PC.
At this point SuSE Linux 6.3 or 6.4 boots and a login screen appears.
VMware Tools
Be sure to install VMware Tools in your guest operating system. For details, see
Installing VMware Tools on page 80.
Known Issues
On a Linux host with an XFree86 3.x X server, it is best not to run a screen saver in the
guest operating system. Guest screen savers that demand a lot of processing power
can cause the X server on the host to freeze.
180 www.vmware.com
ws31_manual.book Page 181 Thursday, April 11, 2002 3:25 PM
Installation Steps
1. Use the VMware Workstation Configuration Editor to verify the virtual machine’s
devices are set up as you expect before starting the installation. For example, if
you would like networking software to be installed during the SuSE Linux 6.2
installation process, be sure the virtual machine’s Ethernet adapter is enabled
and configured. VMware also recommends that you disable the screen saver on
the host system before starting the installation process.
2. Insert the SuSE Linux 6.2 CD in the CD-ROM drive and click the Power On button.
3. Follow the installation steps as you would for a physical PC, until you get to the
selection screens described in the next step.
4. If you have Ethernet configured, a pop-up message appears stating that the
pcnet32 driver is loaded automatically. The driver’s long name is displayed as
AMD PCI PCnet32 (PCI bus NE2100).
5. From the Installation – YaST screen, select the packages you want to install and
select the Start Installation option to continue.
6. Finish installing SuSE Linux 6.2 as you would on a physical PC.
At this point SuSE Linux 6.2 boots and a login screen appears.
VMware Tools
Be sure to install VMware Tools in your guest operating system. For details, see
Installing VMware Tools on page 80.
www.vmware.com 181
ws31_manual.book Page 182 Thursday, April 11, 2002 3:25 PM
Known Issues
On a Linux host with an XFree86 3.x X server, it is best not to run a screen saver in the
guest operating system. Guest screen savers that demand a lot of processing power
can cause the X server on the host to freeze.
182 www.vmware.com
ws31_manual.book Page 183 Thursday, April 11, 2002 3:25 PM
Installation Steps
1. Use the VMware Workstation Configuration Editor to verify the virtual machine’s
devices are set up as you expect before starting the installation. For example, if
you would like networking software to be installed during the SuSE Linux 6.1
installation process, be sure the virtual machine’s Ethernet adapter is enabled
and configured. VMware also recommends that you disable the screen saver on
the host system before starting the installation process.
2. Insert the SuSE Linux 6.1 CD in the CD-ROM drive and click on the Power On
button.
3. If the virtual machine's Ethernet adapter has been enabled, you must configure
Linux to load the appropriate driver. Select Kernel Modules (Hardware Drivers)
from the install program’s main menu, then select Autoload of Modules. A pop-
up message appears stating that the pcnet32 driver will be loaded
automatically. The driver’s long name is displayed as AMD PCI PCnet32 (PCI bus
NE2100).
4. Follow the installation steps as you would for a physical PC, until you get to the
selection screens described in the next step.
5. From the Installation – YaST screen, select the packages you want to install and
select the Start Installation option to continue.
Note: If you want the virtual machine to use DHCP to get its IP address, verify
that the dhclient package is selected before selecting Start Installation. To
check:
A. Choose the Change/Create Configuration option.
www.vmware.com 183
ws31_manual.book Page 184 Thursday, April 11, 2002 3:25 PM
B. Press the F4 key and select All Packages from the pop-up dialog box.
C. Select All Packages (Excluding Sources) and verify that the dhclient
package is selected in the Package Selection screen.
6. Finish installing SuSE Linux 6.1 as you would on a physical PC.
At this point SuSE Linux 6.1 boots and a login screen appears.
VMware Tools
Be sure to install VMware Tools in your guest operating system. For details, see
Installing VMware Tools on page 80.
Known Issues
On a Linux host with an XFree86 3.x X server, it is best not to run a screen saver in the
guest operating system. Guest screen savers that demand a lot of processing power
can cause the X server on the host to freeze.
184 www.vmware.com
ws31_manual.book Page 185 Thursday, April 11, 2002 3:25 PM
Networking Notes
SuSE Linux 6.0 does not install the DHCP client as a default. You should select this
package if you wish to use DHCP with your virtual machine. Otherwise you must
allocate a static IP address for the virtual machine.
When prompted to select the network card, select the AMD PCI PCnet32 (PCI bus
NE2100).
VMware Tools
Be sure to install VMware Tools in your guest operating system. For details, see
Installing VMware Tools on page 80.
Known Issues
On a Linux host with an XFree86 3.x X server, it is best not to run a screen saver in the
guest operating system. Guest screen savers that demand a lot of processing power
can cause the X server on the host to freeze.
www.vmware.com 185
ws31_manual.book Page 186 Thursday, April 11, 2002 3:25 PM
186 www.vmware.com
ws31_manual.book Page 187 Thursday, April 11, 2002 3:25 PM
2. To set the disk geometry, press G to select the Set Drive Geometry option. A
dialog box appears, containing numbers like 2055/64/32, representing the
incorrect geometry in cylinders, heads and sectors per head.
www.vmware.com 187
ws31_manual.book Page 188 Thursday, April 11, 2002 3:25 PM
4. You can now enter the correct geometry of 261 cylinders, 255 heads and 63
sectors per head by typing 261/255/63 in the dialog box. Then click OK and
continue installing FreeBSD.
188 www.vmware.com
ws31_manual.book Page 189 Thursday, April 11, 2002 3:25 PM
#
# VMWARE -- Workstation virtual machine
#
# For more information read the handbook part System Administration ->
# Configuring the FreeBSD Kernel -> The Configuration File.
# The handbook is available in /usr/share/doc/handbook or online as
# latest version from the FreeBSD World Wide Web server
# <URL:http://www.FreeBSD.ORG/ >
#
# An exhaustive list of options and more detailed explanations of the
# device lines is present in the ./LINT configuration file. If you are
# in doubt as to the purpose or necessity of a line, check first in LINT.
#
machine "i386"
cpu "I686_CPU"
ident VMWARE
maxusers 32
www.vmware.com 189
ws31_manual.book Page 190 Thursday, April 11, 2002 3:25 PM
controller isa0
controller eisa0
controller pci0
#
# Laptop support (see LINT for more options)
#
device apm0 at isa? disable flags 0x31 # Advanced Power Management
190 www.vmware.com
ws31_manual.book Page 191 Thursday, April 11, 2002 3:25 PM
# Parallel port
device ppc0 at isa? port? net irq 7
controller ppbus0
device nlpt0 at ppbus?
device plip0 at ppbus?
device ppi0 at ppbus?
#controller vpo0 at ppbus?
pseudo-device loop
pseudo-device ether
pseudo-device sl 1
pseudo-device ppp 1
pseudo-device tun 1
pseudo-device pty 16
pseudo-device gzip # Exec gzipped a.out's
# This provides support for System V shared memory and message queues.
#
options SYSVSHM
options SYSVMSG
VMware Tools
Be sure to install VMware Tools in your guest operating system. For details, see
Installing VMware Tools on page 80.
www.vmware.com 191
ws31_manual.book Page 192 Thursday, April 11, 2002 3:25 PM
Known Issues
On a Linux host with an XFree86 3.x X server, it is best not to run a screen saver in the
guest operating system. Guest screen savers that demand a lot of processing power
can cause the X server on the host to freeze.
192 www.vmware.com
ws31_manual.book Page 193 Thursday, April 11, 2002 3:25 PM
Installation Steps
1. Use the VMware Workstation Configuration Editor to verify the virtual machine’s
devices are set up as you expect before starting the installation. For example, be
sure that your virtual machine is configured for at least 96MB of memory (which
the NetWare server installation requires). VMware also recommends that you
disable the screen saver on the host system before starting the installation
process.
2. Insert the NetWare 6 CD-ROM in the CD-ROM drive.
3. Power on the virtual machine to start the NetWare server installation process.
The virtual machine should boot from the NetWare 6 CD. Install the software in a
virtual machine as you would for a physical PC.
4. A prompt appears, asking you to select IDE, SCSI or both as the type of CD-ROM
drive. Press I to select IDE. The guest operating system boots.
5. Choose the language for the installation.
6. Read and accept the End User License Agreement.
7. Select Create a new boot partition.
8. Select Continue twice.
9. Press any key to reboot.
10. You are prompted to select IDE, SCSI or both as the type of CD-ROM drive. Press
I to select IDE. The guest operating system partition is formatted and the
installation runs.
11. Press F10 to accept the JReport Runtime End User License Agreement.
12. You are prompted to choose the type of installation. Select Express and then
select Continue twice. More files are copied into the virtual machine.
www.vmware.com 193
ws31_manual.book Page 194 Thursday, April 11, 2002 3:25 PM
13. If the virtual machine has been configured for networking (bridged, host-only or
NAT), then the installation detects a PCI Ethernet adapter and prompts you with
a list of possible drivers. Select the AMD Ethernet PCnet-FAST PCI card. Press
Enter to continue with the installation.
14. The installation finishes. The NetWare 6 guest operating system starts running
automatically.
194 www.vmware.com
ws31_manual.book Page 195 Thursday, April 11, 2002 3:25 PM
Installation Steps
1. Use the VMware Workstation Configuration Editor to verify the virtual machine’s
devices are set up as you expect before starting the installation. For example, be
sure that your virtual machine is configured for at least 48MB of memory (which
the NetWare server installation requires). VMware also recommends that you
disable the screen saver on the host system before starting the installation
process.
2. Insert the NetWare 5 CD in the CD-ROM drive.
3. Power on the virtual machine to start the NetWare server installation process.
The virtual machine should boot from the NetWare 5 CD. Install the software in a
virtual machine as you would for a physical PC.
4. If the virtual machine has been configured for networking (bridged, host-only or
NAT), then the installation detects a PCI Ethernet adapter and prompts you with
a list of possible drivers. Select the AMD PCnet PCI Ethernet card to continue
with the installation.
5. When the installer starts the NetWare 5 graphical console, the mouse is not
recognized unless you move the mouse while the graphical console is being
loaded. You can use the graphical console with just the keyboard or disable the
graphical console by removing the startx.ncf entry from the server’s
AUTOEXEC.NCF file at a later time.
6. Finish the NetWare 5 Server installation by following the on-screen instructions.
Once the software has been installed, you can remove the startx.ncf line
from the AUTOEXEC.NCF file if you want to prevent the new NetWare 5
graphical console from starting.
7. Once the NetWare software has been installed, switch to the server console and
type edit autoexec.ncf. Add the following line to the server’s
AUTOEXEC.NCF file, anywhere below the line that starts with file server
name:
www.vmware.com 195
ws31_manual.book Page 196 Thursday, April 11, 2002 3:25 PM
load c:\nwserver\nw5-idle
nw5-idle is a CPU idle NetWare Loadable Module for NetWare 5 servers (more
on this below).
8. Once you have updated the server’s AUTOEXEC.NCF file with the above line,
down the server and type exit to return to a DOS prompt.
9. NetWare servers do not idle the CPU when the operating system is idle. As a
result, a virtual machine takes CPU time from the host regardless of whether the
NetWare server software is idle or busy. To prevent unnecessary slowdowns,
VMware recommends that you download the NetWare 5 CPU idle program from
www.vmware.com/software/Nw5-idle.nlm and copy it to the virtual machine’s
c:\nwserver directory. The line added to the server’s AUTOEXEC.NCF file
earlier automatically loads the CPU idle program (nw5-idle.nlm) every time
the NetWare server boots.
Known Issues
The graphical console in NetWare 5 does not detect or recognize the virtual machine’s
PS/2 mouse. As a result, the graphical console can be operated only by using a
keyboard.
No VMware Tools package exists for NetWare 5 guest operating systems; therefore,
NetWare is limited to only VGA mode graphics and you must always use the Ctrl-Alt
key combination to release the mouse from the virtual machine.
On a Linux host with an XFree86 3.x X server, it is best not to run a screen saver in the
guest operating system. Guest screen savers that demand a lot of processing power
can cause the X server on the host to freeze.
196 www.vmware.com
ws31_manual.book Page 197 Thursday, April 11, 2002 3:25 PM
Installation Steps
1. Use the VMware Workstation Configuration Editor to verify the virtual machine’s
devices are set up as you expect before starting the installation. For example, be
sure that your virtual machine is configured for at least 48MB of memory (which
the NetWare server installation requires). VMware also recommends that you
disable the screen saver on the host system before starting the installation
process.
2. VMware recommends that you install MS-DOS 5.0 or higher in a small (50MB
FAT16) partition as described in these guidelines. The rest of the free space on
the virtual disk is used for the NetWare partition. Even if the virtual machine is to
run NetWare most of the time, it is a good idea to install the DOSIDLE.EXE
program, which you can download from
www.vmware.com/software/dosidle210.zip.
3. Install a CD-ROM driver or CD-ROM software for DOS. If you have problems
setting up the DOS virtual machine to access the CD-ROM drive, you can use the
mtmcdai.sys driver, which can be found on www.mitsumi.com. Under
Drivers and Manuals look for ide158.exe. Add the following modification to
the config.sys and autoexec.bat files on your DOS boot floppy (along
with the mscdex.exe file). If you are using a DOS boot partition, adjust the
drive letters accordingly.
config.sys
DEVICE=HIMEM.SYS
DOS=HIGH
FILES=30
rem install cd-rom driver
DEVICE=A:\MTMCDAI.SYS /D:VMware
autoexec.bat
@ECHO OFF
www.vmware.com 197
ws31_manual.book Page 198 Thursday, April 11, 2002 3:25 PM
PROMPT $p$g
A:\MTM\MSCDEX.EXE /D:VMware /M:10
After you have configured the CD-ROM software, verify that the virtual machine
can read a CD from the host system’s CD-ROM drive.
4. If the virtual machine is not running, power it on and wait for DOS finish its boot
process.
5. Insert the NetWare 4.x CD in the CD-ROM drive and run INSTALL.BAT to start
the NetWare server installation process. Install the software in a virtual machine
as you would for a physical PC.
6. If the virtual machine has been configured for networking (bridged, host-only,
etc.), the installation program detects a PCI Ethernet adapter and prompts you
with a list of possible drivers. At this point, do not select or load any LAN drivers;
press the F10 key to continue installing without a LAN driver.
Note: Once the installation has been completed, you can load and bind the
appropriate LAN driver. Selecting or loading a LAN driver during the NetWare 4.x
installation may hang the installation process.
7. Finish the NetWare 4.x Server installation by following the on-screen instructions.
8. Once the NetWare software has been installed, switch to the server console and
type load edit sys:\system\autoexec.ncf. Add the following lines
to the server’s AUTOEXEC.NCF file, anywhere below the line that starts with
file server name:
load pcntnw slot=2 frame=frame_type
bind ipx to pcntnw net=network_address
load c:\nwserver\nw4-idle
where frame_type and network_address are entered as appropriate for
your network and nw4-idle is a CPU idle NetWare Loadable Module for
NetWare 4.x servers (more on this below). The next time the server is started, the
virtual machine’s Ethernet adapter should begin working.
9. Once you have updated the server’s AUTOEXEC.NCF file with the above lines,
down the server and type exit to return to a DOS prompt.
10. NetWare servers do not idle the CPU when the operating system is idle. As a
result, a virtual machine takes CPU time from the host regardless of whether the
NetWare server software is idle or busy. To prevent unnecessary slowdowns,
VMware recommends that you download the NetWare 4 CPU idle program from
www.vmware.com/software/Nw4-idle.nlm and copy it to the virtual machine’s
c:\nwserver directory. The line added to the server’s AUTOEXEC.NCF file
198 www.vmware.com
ws31_manual.book Page 199 Thursday, April 11, 2002 3:25 PM
earlier automatically loads the CPU idle program (nw4-idle.nlm) every time
the NetWare server boots.
Known Issues
No VMware Tools package exists for NetWare 4.x guest operating systems; therefore,
NetWare is limited to VGA mode graphics and you must always use the Ctrl-Alt key
combination to release the mouse from the virtual machine.
On a Linux host with an XFree86 3.x X server, it is best not to run a screen saver in the
guest operating system. Guest screen savers that demand a lot of processing power
can cause the X server on the host to freeze.
www.vmware.com 199
ws31_manual.book Page 200 Thursday, April 11, 2002 3:25 PM
200 www.vmware.com
ws31_manual.book Page 201 Thursday, April 11, 2002 3:25 PM
5. Run VMware Workstation on the Windows host and configure a virtual machine
to use the virtual disk in which Solaris 7 was installed.
Known Issues
No VMware Tools package exists for Solaris 7 guest operating systems; therefore,
Solaris 7 is limited to VGA mode graphics and you must always use the Ctrl-Alt key
combination to release the mouse from the virtual machine.
On a Linux host with an XFree86 3.x X server, it is best not to run a screen saver in the
guest operating system. Guest screen savers that demand a lot of processing power
can cause the X server on the host to freeze.
www.vmware.com 201
ws31_manual.book Page 202 Thursday, April 11, 2002 3:25 PM
ws31_manual.book Page 201 Thursday, April 11, 2002 3:25 PM
8
Using Disks
ws31_manual.book Page 202 Thursday, April 11, 2002 3:25 PM
Using Disks
202 www.vmware.com
ws31_manual.book Page 203 Thursday, April 11, 2002 3:25 PM
Using Disks
www.vmware.com 203
ws31_manual.book Page 204 Thursday, April 11, 2002 3:25 PM
Using Disks
Virtual Disk
A virtual disk is a file or set of files that appears as a physical disk drive to a guest
operating system. The files can be on the host machine or on a remote computer.
When you configure a virtual machine with a virtual disk, you can install a new
operating system onto the virtual disk without repartitioning a physical disk or
rebooting the host.
IDE virtual disks can be as large as 128GB. SCSI virtual disks can be as large as 256GB.
VMware Workstation creates a file for each 2GB of virtual disk capacity. The actual files
used by the virtual disk start out small and grow to their maximum size as needed.
Virtual disks can be set up as IDE disks for any guest operating system. They can be set
up as SCSI disks for any guest operating system that has a driver for the BusLogic SCSI
adapter used in a VMware Workstation virtual machine.
Note: To use SCSI disks in a Windows XP or Windows .NET Server virtual machine,
you need a special SCSI driver available from the download section of the VMware
Web site at www.vmware.com/download. Follow the instructions on the Web site to
use the driver with a fresh installation of Windows XP or .NET Server.
204 www.vmware.com
ws31_manual.book Page 205 Thursday, April 11, 2002 3:25 PM
Using Disks
A virtual disk of either type can be stored on either type of physical hard disk. That is,
the files that make up an IDE virtual disk can be stored on either an IDE hard disk or a
SCSI hard disk. So can the files that make up a SCSI virtual disk. They can also be stored
on other types of fast-access storage media, such as DVD-ROM or CD-ROM discs.
A key advantage of virtual disks is their portability. Because the virtual disks are stored
as files on the host machine or a remote computer, you can move them easily to a
new location on the same computer or to a different computer. You can also use
VMware Workstation on a Windows host to create virtual disks, then move them to a
Linux computer and use them under VMware Workstation for Linux — or vice versa.
For information about moving virtual disks, see Moving and Sharing Virtual Machines
on page 118
Note: Beginning with VMware Workstation 3.0, virtual disks are created in a new
format that is not recognized by earlier VMware products. Future versions of other
VMware products will support this new virtual disk format.
Raw Disk
A raw disk directly accesses an existing local disk or partition. You can use raw disks if
you want VMware Workstation to run one or more guest operating systems from
existing disk partitions. Raw disks may be set up on both IDE and SCSI devices. At this
time, however, booting from an operating system already set up on an existing SCSI
disk or partition is not supported.
The most common use of a raw disk is for converting a dual-boot or multiple-boot
machine so one or more of the existing operating systems can be run inside a virtual
machine.
Caution: If you run an operating system natively on the host computer, the switch to
running it inside a virtual machine is like pulling the hard drive out of one computer
and installing it in a second computer with a different motherboard and other
hardware. You need to prepare carefully for such a switch. The specific steps you need
to take depend on the operating system you want to use inside the virtual machine.
For details, see Configuring a Dual-Boot Computer for Use with a Virtual Machine on
page 225.
You can also create a new virtual machine using a raw disk. For details, see Installing
an Operating System onto a Raw Partition from a Virtual Machine on page 253. In
most cases, however, it is better to use a virtual disk.
Only expert users should attempt raw disk configurations.
www.vmware.com 205
ws31_manual.book Page 206 Thursday, April 11, 2002 3:25 PM
Using Disks
Plain Disk
VMware Workstation 2.0 offered an experimental disk type called plain disk. In VMware
Workstation 2.0, virtual disks could be no larger than 2GB. Plain disks provided a way to
create larger disks for the virtual machine. VMware Workstation 3.1 allows you to
create large disks — up to 256GB — as virtual disks. Consequently, this version does
not support creation of new plain disks.
Virtual machines with plain disks created in VMware Workstation 2.0 do run under
VMware Workstation 3.1.
The Configuration Editor on a Windows host shows an IDE virtual disk configured as undoable
The Configuration Editor on a Linux host shows installation of an IDE virtual disk configured as persistent
206 www.vmware.com
ws31_manual.book Page 207 Thursday, April 11, 2002 3:25 PM
Using Disks
Disk modes determine how changes are saved to the disk. Raw, virtual and plain disks
can use any available mode. For example, a user could have an undoable raw disk, an
undoable virtual disk or an undoable plain disk.
Persistent
Disks in persistent mode are the simplest to use. Disks in persistent mode behave like
conventional disk drives on your physical computer. All data written to a disk in
persistent mode are written out permanently to the disk. The behavior is the same for
all disk types.
Undoable
Undoable mode lets you decide when you power off the virtual machine whether you
want to keep or discard the changes made since the virtual machine was powered on.
This is especially useful for experimenting with new configurations or unfamiliar
software. Because of the disaster-recovery possibilities this mode offers, many users
prefer to set disks in undoable mode as a standard part of their configurations.
When data is written to an undoable mode disk, the changes are stored in a file called
a redo log. A disk in undoable mode gives you the option later of permanently
applying the changes saved in the redo log, so they become part of the main disk files.
While the virtual machine is running, disk blocks that have been modified and written
to the redo log are read from there instead of from the disk files.
Any disk type can be used in undoable mode.
When you power off a virtual machine with a disk in undoable mode, you are given
three options:
• Commit the changes in the redo log to the disk
• Discard the changes in the redo log
• Keep the redo log
If you choose to keep the redo log, the next time you power on the virtual machine
VMware Workstation detects the redo-log file and prompts you to either commit the
redo log changes made from the last time the virtual machine ran, discard the redo
log, continue appending changes to the redo log or cancel the power on.
The redo-log file is placed in the same folder (directory) as the disk file by default.
However, you can change the location of the redo-log file in the Configuration Editor.
On a Windows host, click the Options tab, then type in or browse to the folder in
which the redo log should be stored.
www.vmware.com 207
ws31_manual.book Page 208 Thursday, April 11, 2002 3:25 PM
Using Disks
On a Linux host, click Misc on the left side of the Configuration Editor, then type in or
choose the directory in which the redo log should be stored.
Nonpersistent
Changes to disks in nonpersistent mode are not saved to the disks, but are lost when
the virtual machine is powered off or reset.
Nonpersistent mode is convenient for people who always want to start with a virtual
machine in the same state. Example uses include providing known environments for
software test and technical support users as well as doing demonstrations of software.
Any disk type can be used in nonpersistent mode.
If your virtual disks are in nonpersistent mode, you can take advantage of the
repeatable resume feature, which allows you to save the current state of the virtual
machine when you suspend it, then resume from the point at which you suspended it
every time you start the virtual machine. For more information, see Resuming Virtual
Machines Repeatedly from the Same Point on page 105.
VMware Workstation only reads the virtual disk file. Any writes to the virtual disk are
actually written to a redo-log file that is deleted when you power off or reset the
virtual machine. This is similar to the redo-log files used with disks in undoable mode.
While you are running the virtual machine, any blocks that have been modified and
written to the redo-log file are read from the redo-log file instead of the disk files.
When the virtual machine is powered off or reset, the redo-log file is discarded.
The redo-log file is placed by default in the folder defined by the host operating
system’s TMPDIR environment variable. However, the location of the redo-log file can
be changed in the Configuration Editor.
On a Windows host, click the Options tab, then type in or browse to the folder in
which the redo log should be stored.
208 www.vmware.com
ws31_manual.book Page 209 Thursday, April 11, 2002 3:25 PM
Using Disks
On a Linux host, click Misc on the left side of the Configuration Editor, then type in or
choose the directory in which the redo log should be stored.
File Locations
Disk Files
The Configuration Editor (Settings > Configuration Editor) allows you to choose the
disk files for a virtual machine.
You may want to choose a file other than the one created by the New Virtual Machine
Wizard (on a Windows host) or Configuration Wizard (on a Linux host) if you are using
a virtual disk that you created in a different location or if you are moving the
automatically created disk files to a new location.
The disk files for a virtual disk store the information that you write to a virtual
machine’s hard disk — the operating system, the program files and the data files. The
virtual disk files have a .vmdk extension. If the virtual disk is larger than 2GB, the
Configuration Editor shows the name of the first file in the set of files used to store the
virtual disk. The other files used for that disk are automatically given names based on
the first file’s name. For example, a Windows Me virtual machine with a 4GB virtual disk
would, by default, store that virtual disk in files named Windows Me.vmdk and
Windows Me-02.vmdk.
If your virtual machine uses files created under earlier VMware products, with a .dsk
extension, they can be updated automatically. For details, see Updating Filenames for
Virtual Disks Created with Earlier VMware Products on page 212.
If you are using a raw disk, a file with the extension .raw stores information about the
physical disk or partition used by the virtual machine.
www.vmware.com 209
ws31_manual.book Page 210 Thursday, April 11, 2002 3:25 PM
Using Disks
The files for plain disks have a special format. The file that stores information about the
plain disk has a .pln extension and the files used to store the plain disk’s data have a
.dat extension.
Redo-Log Files
Log files save blocks that the virtual machine modifies while the it is running. The log
file for a disk in nonpersistent mode is not saved when the virtual machine is powered
off or reset, while the log file for a disk in undoable mode is saved. The log file for disks
in undoable mode is called the redo log, and the user decides whether the redo-log
file should be saved or not.
The redo-log file for a virtual disk called vm is called vm.vmdk.REDO. If the virtual
disk is larger than 2GB, it is divided into sets of 2GB disk files named vm.vmdk, vm-
02.vmdk, vm-03.vmdk and so on; its redo-log files are called vm.vmdk.REDO,
vm-02.vmdk.REDO, vm-03.vmdk.REDO and so on.
You can choose the location where these redo logs are stored. By default, the redo
logs for disks in undoable mode are stored in the same directory as the .vmdk file
that contains the virtual machine configuration. Redo logs for disks in nonpersistent
mode are stored in your host's temp directory by default. In the case of plain disks,
filename.pln.REDO is created by default in the same directory as the .pln file.
By default, redo-log files for raw disks are located in the same directory as the virtual
machine configuration file.
You can change the location of the log file for disks in nonpersistent and undoable
modes in the Configuration Editor.
On a Windows host, click the Options tab, then type in or browse to the folder in
which the redo log should be stored.
On a Linux host, click Misc on the left side of the Configuration Editor, then type in or
choose the directory in which the redo log should be stored.
You may choose to locate the log files in a different directory to increase available
space or improve performance. For best performance, the log files for a virtual
machine should be on a hard drive on the host computer.
Lock Files
A running virtual machine creates lock files to prevent consistency problems on
virtual disks. If the virtual machine did not use locks, multiple virtual machines might
read and write to the disk, causing users to lose data.
Lock files are always created in the same folder (directory) as the .vmdk or .pln file.
There are two types of lock files — reader and writer. A disk in nonpersistent mode is
210 www.vmware.com
ws31_manual.book Page 211 Thursday, April 11, 2002 3:25 PM
Using Disks
protected by reader lock files, while disks in persistent and undoable modes use writer
lock files.
A disk protected by a writer lock file can be accessed by only one virtual machine.
A disk that has reader lock files can be read by more than one virtual machine but
cannot be written to.
The data storage files of a plain disk are individually locked, using the same method.
Note: The locking methods used by VMware Workstation on Windows and Linux
hosts are different, so files shared between them are not fully protected. If you use a
common file repository that provides files to users on both Windows and Linux hosts,
be sure that each virtual machine is run by only one user at a time.
When a virtual machine is powered off, it removes lock files it created. If it cannot
remove the lock, a stale lock file is left protecting the .vmdk or .pln file. For
example, if the machine crashes before the virtual machine has a chance to remove its
lock file, there is a stale lock.
If a stale lock file remains when the virtual machine is started again, the virtual
machine tries to remove the stale lock. To make sure that no virtual machine could be
using the lock file, the virtual machine checks the lock file to see if:
1. The lock was created on the same host where the virtual machine is running.
2. The process that created the lock is not running.
If those two conditions are true, the virtual machine can safely remove the stale lock. If
either of those conditions is not true, a dialog box appears explaining what the user
can do about the lock.
Raw disk partitions are also protected by locks. However, the host operating system is
not aware of this locking convention and thus does not respect it. For this reason,
VMware strongly recommends that the raw disk for a virtual machine not be installed
on the same physical disk as the host operating system.
www.vmware.com 211
ws31_manual.book Page 212 Thursday, April 11, 2002 3:25 PM
Using Disks
212 www.vmware.com
ws31_manual.book Page 213 Thursday, April 11, 2002 3:25 PM
Using Disks
When a virtual machine is powered on, you can shrink its virtual disks from the
VMware Tools control panel.
1. To launch the control panel in a Windows guest, double-click the VMware Tools
icon in the system tray or choose Start > Settings > Control Panel, then double-
click VMware Tools.
To launch the control panel in a Linux or FreeBSD guest, become root (su), then
run vmware-toolbox.
2. Click the Shrink tab.
3. Select the virtual disks you want to shrink, then click Prepare to Shrink.
The shrink tool reclaims unused space in the virtual disk. If there is empty space in the
disk, this process reduces the amount of space the virtual disk occupies on the host
drive.
Shrinking disks may take considerable time.
www.vmware.com 213
ws31_manual.book Page 214 Thursday, April 11, 2002 3:25 PM
Using Disks
Windows Host
Use the Configuration Editor (Settings > Configuration Editor) to add a new virtual
disk to your virtual machine. The virtual machine should be powered off before you
begin. If it is not, shut down the guest operating system normally, then click Power
Off on the VMware Workstation toolbar.
Note: If you have a Windows NT 4.0 guest with a SCSI virtual disk, you cannot add
both an additional SCSI disk and an IDE disk to the configuration.
1. Open the Configuration Editor (Settings > Configuration Editor) and click
Add…. The Add Hardware Wizard guides you through the steps to create your
virtual disk.
214 www.vmware.com
ws31_manual.book Page 215 Thursday, April 11, 2002 3:25 PM
Using Disks
Note: The virtual disk’s files start small and grow as needed, but they can never
grow larger than the size you set here. You can set a size between 2GB and
256GB for a SCSI virtual disk or 128GB for an IDE virtual disk. The default is 4GB.
5. Accept the default filename and location for the virtual disk file or change it, if
you want to use a different name or location. To find a different folder, click
Browse….
In most cases, the wizard creates a SCSI virtual disk by default. If your guest
operating system does not have appropriate support for the virtual SCSI adapter
in the virtual machine, the wizard creates an IDE virtual disk. If you want your
virtual disk to be an IDE device, click Advanced and be sure the virtual device
node is set to an available IDE node.
When you have set the filename and location you want to use and made any
selections you want to make on the advanced settings screen, click Finish.
6. The wizard creates the new virtual disk. It appears to your guest operating
system as a new, blank hard disk. Use the guest operating system’s tools to
partition and format the new drive for use.
The new virtual disk is set up in persistent mode. To change to nonpersistent or
undoable mode, use the Configuration Editor. Click the entry for the new virtual
disk, then select the mode you want.
If the virtual disk files are stored on a network file server, you can improve
performance of the virtual disk by setting the folder for a disk in undoable mode
to a location on the host computer. You can make this setting on the Options
tab of the Configuration Editor.
Linux Host
Use the Configuration Editor (Settings > Configuration Editor) to add a new virtual
disk to your virtual machine. The virtual machine should be powered off before you
begin. If it is not, shut down the guest operating system normally, then click Power
Off on the VMware Workstation toolbar.
1. Open the Configuration Editor (Settings > Configuration Editor). If you want to
add a SCSI virtual disk, click the + sign beside SCSI Devices. If you want to add an
IDE virtual disk, click the + sign beside IDE Drives.
Note: All virtual machines can use IDE virtual disks. SCSI virtual disks can be
used with guest operating systems that have drivers for the virtual BusLogic SCSI
adapter used in the virtual machine. To use SCSI disks in a Windows XP or
Windows .NET Server virtual machine, you need a special SCSI driver available
from the download section of the VMware Web site at
www.vmware.com 215
ws31_manual.book Page 216 Thursday, April 11, 2002 3:25 PM
Using Disks
216 www.vmware.com
ws31_manual.book Page 217 Thursday, April 11, 2002 3:25 PM
Using Disks
The new virtual disk appears to your guest operating system as a new, blank hard
disk. Use the guest operating system’s tools to partition and format the new
drive for use.
If the virtual disk files are stored on a network file server, you can improve
performance of the virtual disk by setting the redo log directory to a location on
the host computer. You can make this setting in the Misc panel of the
Configuration Editor.
Note: The first IDE disk (P-M) can only be a 2GB virtual disk.
www.vmware.com 217
ws31_manual.book Page 218 Thursday, April 11, 2002 3:25 PM
Using Disks
4. Choose the physical hard disk to use from the drop-down list. Click Next.
5. Set the virtual machine’s access rights for each partition on the physical hard
disk.
• Select Hide if the virtual machine should not see the partition.
• Select Read to give the virtual machine read-only access to the partition.
• Select Write to give the virtual machine read/write access to the partition.
Click Next.
218 www.vmware.com
ws31_manual.book Page 219 Thursday, April 11, 2002 3:25 PM
Using Disks
6. Accept the default filename and location for the file that stores access
information for this raw disk — or change it, if you want to use a different name
or location. To find a different directory, click Browse….
When you have set the filename and location you want to use and made any
selections you want to make on the advanced settings screen, click Finish.
7. The wizard configures the new raw disk. If the partitions used on the raw disk are
not formatted for your guest operating system, use the guest operating system’s
tools to format them.
www.vmware.com 219
ws31_manual.book Page 220 Thursday, April 11, 2002 3:25 PM
Using Disks
Linux Host
Use the Configuration Editor (Settings > Configuration Editor) to add a new raw disk
to your virtual machine. The virtual machine should be powered off before you begin.
If it is not, shut down the guest operating system normally, then click Power Off on
the VMware Workstation toolbar.
Caution: Raw disks are an advanced feature and should be configured only by expert
users.
1. Open the Configuration Editor (Settings > Configuration Editor). If you want to
add a SCSI raw disk, click the + sign beside SCSI Devices. If you want to add an
IDE raw disk, click the + sign beside IDE Drives.
220 www.vmware.com
ws31_manual.book Page 221 Thursday, April 11, 2002 3:25 PM
Using Disks
7. Click Create to create the file for your new raw disk.
8. A dialog box prompts you for the name of the device that holds the partition
you want to use as a raw disk. Enter the path to the device — for example
/dev/hdb — then click OK.
9. A dialog box prompts you to set access permissions for the partitions on the
device you have selected.
• Select No Access if the virtual machine should not see the partition.
• Select Read Only to give the virtual machine read-only access to the partition.
• Select Read/Write to give the virtual machine read/write access to the
partition.
Click Save to save your selections and close the dialog box.
10. Click Install to install the new raw disk in your virtual machine.
11. Click OK to save the configuration and close the Configuration Editor.
12. If the partitions used on the raw disk are not formatted for your guest operating
system, use the guest operating system’s tools to format them.
www.vmware.com 221
ws31_manual.book Page 222 Thursday, April 11, 2002 3:25 PM
Using Disks
3. Select Use physical drive if you want to connect the virtual machine’s drive to a
physical drive on the host computer. Select Use ISO Image if you want to
connect the virtual machine’s drive to an ISO image file.
4. Do one of the following:
• If you selected Use physical drive, choose the drive you want to use from the
drop-down list, then click Finish.
• If you selected Use ISO Image, enter the path and filename for the image file
or click Browse… to navigate to the file. Then click Finish.
5. The drive is set up initially so it appears to the guest operating system as an IDE
drive. If you want to change so it appears to the guest operating system as a SCSI
drive, click the drive’s entry in the Configuration Editor and make that change in
the settings panel on the right.
Adding a DVD or CD-ROM Drive on a Linux Host
1. Open the Configuration Editor (Settings > Configuration Editor). If you want the
drive to appear to the guest operating system as a SCSI drive, click the + sign
beside SCSI Devices. If you want the drive to appear to the guest operating
system as an IDE drive, click the + sign beside IDE Drives.
2. Select a device that is shown as Not Installed.
3. From the Device Type drop-down list, choose CD-ROM to connect to a physical
DVD or CD-ROM drive. Choose CD-ROM Image to connect to an ISO image file.
4. If you are connecting to a physical drive, enter its device name (for example,
/dev/hdc) in the Name field or click Choose… to navigate to the name.
If you are connecting to an ISO image file, enter the path and filename in the
Name field or click Choose… to navigate to the name.
5. Click Install to create the new DVD or CD-ROM drive, then click OK to save the
configuration and close the Configuration Editor.
222 www.vmware.com
ws31_manual.book Page 223 Thursday, April 11, 2002 3:25 PM
Using Disks
3. Select what you want to connect to — a physical floppy drive on the host
computer, an existing floppy image file or a new floppy image file. Click Next.
4. If you selected Use a physical floppy drive, choose the drive’s letter from the
drop-down list, then click Finish.
If you selected Use a floppy image, type the path and filename for the floppy
image file you want to use or click Browse… to navigate to the file. Click Finish.
If you selected Create a blank floppy image, use the default path and filename
or type in a new one. To navigate to a location, click Browse…. When the field
contains the path and filename you want to use for the new floppy image file,
click Finish.
Adding a Floppy Drive on a Linux Host
1. Open the Configuration Editor (Settings > Configuration Editor). Click the +
sign beside Floppy Drives.
2. Select a device that is shown as Not Installed.
3. On the Type drop-down list, choose Device to connect to a physical floppy drive
on the host computer.
Choose File from the drop-down list to connect to a floppy image file.
4. If you chose Device, accept the default device name shown (for example,
/dev/fd1 for the second physical floppy drive), type in the path and device
name or click Choose… to navigate to the device name.
If you chose File, type in the path and filename for the floppy image file or click
Choose… to navigate to the file.
5. Click Install to install the new floppy drive, then click OK to save the
configuration and close the Configuration Editor.
www.vmware.com 223
ws31_manual.book Page 224 Thursday, April 11, 2002 3:25 PM
Using Disks
224 www.vmware.com
ws31_manual.book Page 225 Thursday, April 11, 2002 3:25 PM
Using Disks
www.vmware.com 225
ws31_manual.book Page 226 Thursday, April 11, 2002 3:25 PM
Using Disks
Windows XP
Caution: Running a Windows XP guest from a raw disk is not supported. You should
not test a Windows XP raw disk configuration in a production environment.
• Configuring Dual- or Multiple-Boot Systems to Run with VMware Workstation on
page 228
• Running a Windows 2000, Windows XP or Windows .NET Server Virtual Machine
from an Existing Multiple-Boot Installation on Computers with ACPI on page 240
• Disk Partition Hiding for Dual- or Multiple-Boot Systems on page 247
• Do Not Use Windows 2000, Windows XP and Windows .NET Server Dynamic
Disks as Raw Disks on page 247
Windows 2000
• Configuring Dual- or Multiple-Boot Systems to Run with VMware Workstation on
page 228
226 www.vmware.com
ws31_manual.book Page 227 Thursday, April 11, 2002 3:25 PM
Using Disks
Windows NT
• Configuring Dual- or Multiple-Boot Systems to Run with VMware Workstation on
page 228
• Adding Uniprocessor Support to Windows NT 4.0 MPS Installations on page 239
• Disk Partition Hiding for Dual- or Multiple-Boot Systems on page 247
Windows 98
• Configuring Dual- or Multiple-Boot Systems to Run with VMware Workstation on
page 228
• SVGA Video Driver Setup for Use with a Windows 98 Guest Operating System
Booted from a Raw Disk on page 245
• Disk Partition Hiding for Dual- or Multiple-Boot Systems on page 247
Windows 95
• Configuring Dual- or Multiple-Boot Systems to Run with VMware Workstation on
page 228
• Setting Up the SVGA Video Driver for a Windows 95 Guest Operating System
Booted from a Raw Disk on page 243
• Disk Partition Hiding for Dual- or Multiple-Boot Systems on page 247
www.vmware.com 227
ws31_manual.book Page 228 Thursday, April 11, 2002 3:25 PM
Using Disks
228 www.vmware.com
ws31_manual.book Page 229 Thursday, April 11, 2002 3:25 PM
Using Disks
www.vmware.com 229
ws31_manual.book Page 230 Thursday, April 11, 2002 3:25 PM
Using Disks
3. When you reach the Select a Disk step, select Use a physical disk.
4. The next panel allows you to specify the access that is needed for each partition
on the disk(s). Most partitions should be set to Read, and the partition used by
the virtual machine should be set to Write.
5. To run multiple guest operating systems from different raw disk partitions,
unmap these partitions on the host.
On a Windows NT host, use the Disk Administrator (Start > Programs >
Administrative Tools). First highlight the partition that contains the guest
operating system, then select Assign Drive Letter from the Tools menu. In this
form, choose Do not assign a drive letter for the partition and click OK. The
unmapping happens immediately.
On a Windows .NET Server, Windows XP or Windows 2000 host, use Disk
Management (Start > Settings > Control Panel > Administrative Tools >
Computer Management > Storage > Disk Management). Select the partition
you want to unmap, then from the Action menu select All Tasks > Change
Drive Letter and Path. Click the Remove button.
6. Use the Configuration Editor (Settings > Configuration Editor) if you want to
change any configuration options from the wizard defaults — for example, to
change the amount of memory allocated to the guest operating system or to
change the disk mode.
7. If you have multiple IDE drives configured on a system, the VMware BIOS
normally attempts to boot them in this sequence:
A. Primary master
B. Primary slave
C. Secondary master
D. Secondary slave
230 www.vmware.com
ws31_manual.book Page 231 Thursday, April 11, 2002 3:25 PM
Using Disks
If you have multiple SCSI drives configured on a system, the VMware BIOS
normally attempts to boot them in the order of the SCSI device number.
If you have both SCSI and IDE drives configured, the VMware BIOS normally
attempts to boot SCSI drives followed by IDE drives, in the order described
above.
The boot sequence can be changed in the Boot menu of the virtual machine's
Phoenix BIOS. After powering on the virtual machine, press F2 during the BIOS
boot in the virtual machine to enter the BIOS setup menu.
8. Power on the virtual machine. Click the Power On button. The virtual machine
starts, runs the Phoenix BIOS, then boots from the master boot record (MBR).
Choose the target operating system from the list of options offered by the boot
manager.
9. Remember that your virtual machine hardware environment, which the guest
operating system is about to run in for the first time, probably differs significantly
from the physical hardware of your host computer.
For Windows guest operating systems, Plug and Play reconfigures Windows. Set
up your virtual hardware profile with the devices found and configured by Plug
and Play. See Setting Up Hardware Profiles in Virtual Machines on page 235 for
more information.
10. Install VMware Tools in your guest operating system.
Warning: If you configure your raw disk in undoable mode, you need to either
commit or discard the changes to the disk before you reboot your guest operating
system natively. This is necessary because any changes to sectors on the physical disk
that have been modified on the disk invalidate the redo-log file for the disk in
undoable mode. See Disk Modes: Persistent, Undoable and Nonpersistent on
page 206 for more information on disks in undoable mode and their corresponding
redo-log files.
www.vmware.com 231
ws31_manual.book Page 232 Thursday, April 11, 2002 3:25 PM
Using Disks
3. Check operating system partition mounts. Be sure the existing disk partitions
that you plan to configure the virtual machine to use are not mounted by Linux.
4. Set the device group membership or device ownership.
The master raw disk device or devices need to be readable and writable by the
user who runs VMware Workstation. On most distributions, the raw devices, such
as /dev/hda (IDE raw disk) and /dev/sda (SCSI raw disk) belong to group-id
disk. 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. Please think
carefully of security when exploring different options here.
It is typically a good idea to grant VMware Workstation users access to all
/dev/hd[abcd] raw devices that contain operating systems or boot
managers and then rely on VMware Workstation’s raw disk configuration files to
guard access. This provides boot managers access to configuration and other
files they may need to boot the operating systems. For example, LILO needs to
read /boot on a Linux partition to boot a non-Linux operating system that may
be on another drive.
5. If you plan run a second Linux installation from an existing partition as a guest
operating system and your physical computer’s /etc/lilo.conf has a
memory register statement such as Append= "mem…", you may want to
adjust the append memory parameter or create a new entry in LILO for running
Linux in a virtual machine.
If the amount of memory configured in lilo.conf exceeds the amount of
memory assigned to the virtual machine, then when the virtual machine tries to
boot the second Linux installation, the guest operating system will most likely
panic.
You can create another entry in lilo.conf for running Linux in a virtual
machine by specifying a different amount of memory than what would normally
be recognized when Linux boots directly on the physical machine.
6. Run the VMware Workstation Configuration Wizard (File > Wizard…).
232 www.vmware.com
ws31_manual.book Page 233 Thursday, April 11, 2002 3:25 PM
Using Disks
7. When you reach the Disk Type Settings panel, select Use a physical disk. Click
Next.
8. Select the read/write option for the disk partitions that contain the guest
operating system being configured.
Caution: Corruption is possible if you allow the virtual machine to modify a
partition that is simultaneously mounted under Linux. Since the virtual machine
and guest operating system access an existing partition while the host
www.vmware.com 233
ws31_manual.book Page 234 Thursday, April 11, 2002 3:25 PM
Using Disks
continues to run Linux, it is critical that the virtual machine not be allowed to
modify any partition mounted under Linux or in use by another virtual machine.
To safeguard against this problem, be sure the partition you mark read/write for
the virtual machine is not mounted under the Linux host.
You need to leave the master boot record (MBR) read-only. Leaving the other
partitions read-only is recommended. The LILO boot manager often reads files
from /boot (on a Linux partition) to boot a guest operating system.
9. Complete the remaining steps in the wizard. On the review screen, note the path
to the configuration (.cfg) file. You will need it in the next step.
10. Start VMware Workstation and check the configuration. Type
vmware <config-file>.cfg.
<config-file> is the path to the configuration file created by the Wizard.
11. Choose Settings > Configuration Editor and check that your IDE configuration
specifies at least one raw disk description file. These files are named
<configuration-name>.hda, <configuration-name>.hdb, etc.
Also modify any configuration options you want to change from the
Configuration Wizard’s defaults — for example, you may want to change the
amount of memory allocated to the guest operating system.
12. If you have multiple IDE drives configured on a system, the VMware BIOS
normally attempts to boot them in this sequence:
A. Primary master
B. Primary slave
C. Secondary master
D. Secondary slave
If you have multiple SCSI drives configured on a system, the VMware BIOS
normally attempts to boot them in the order of the SCSI device number.
If you have both SCSI and IDE drives configured, the VMware BIOS normally
attempts to boot SCSI drives followed by IDE drives, in the order described
above.
You can change the boot sequence using the Boot menu of the virtual
machine’s Phoenix BIOS. After powering on the virtual machine, press F2 during
the BIOS boot in the virtual machine to enter the BIOS setup menu.
13. Power on the virtual machine. Click the Power On button. The virtual machine
starts, runs the Phoenix BIOS, then boots from the master boot record (MBR).
234 www.vmware.com
ws31_manual.book Page 235 Thursday, April 11, 2002 3:25 PM
Using Disks
Choose the target operating system from the list of options offered by the boot
manager.
14. Remember that your virtual machine hardware environment, which the guest
operating system is about to run in for the first time, probably differs significantly
from the physical hardware of your machine.
For Windows guest operating systems, Plug and Play reconfigures Windows. Set
up your virtual hardware profile with the devices found and configured by Plug
and Play. See Setting Up Hardware Profiles in Virtual Machines on page 235 for
more information.
15. Install VMware Tools in your guest operating system.
Warning: If you configure your raw disk in undoable mode, you need to either
commit or discard the changes to the disk before you reboot your guest operating
system natively. This is necessary because any changes to sectors on the physical disk
that have been modified on the disk invalidate the redo-log file for the disk in
undoable mode. See Disk Modes: Persistent, Undoable and Nonpersistent on
page 206 for more information on disks in undoable mode and their corresponding
redo-log files.
www.vmware.com 235
ws31_manual.book Page 236 Thursday, April 11, 2002 3:25 PM
Using Disks
236 www.vmware.com
ws31_manual.book Page 237 Thursday, April 11, 2002 3:25 PM
Using Disks
hardware profiles, which you can call Physical Machine and Virtual Machine. To
do this, open Control Panel > System, then click the Hardware Profiles tab — or
click the Hardware tab, then click Hardware Profiles, depending on the
operating system. Click the Copy button and name the copies appropriately.
2. Windows NT only: While still running natively, use the Device Manager to
disable some devices from the Virtual Machine hardware profile. To do this, open
Control Panel > Devices, then select the individual devices to disable. Devices to
disable in the Virtual Machine hardware profile include audio, MIDI and joystick
devices, Ethernet and other network devices and USB devices. Remember to
disable them in the Virtual Machine hardware profile only.
Skip this step if you are running Windows 95, Windows 98, Windows Me,
Windows 2000, Windows XP or Windows .NET Server. The initial Plug and Play
phase detects device mismatches.
3. Reboot the computer into your intended host operating system — for example,
into Linux if you are running VMware Workstation on a Linux host.
4. Use the New Virtual Machine Wizard (on a Windows host) or Configuration
Wizard (on a Linux host) to configure your virtual machine as described in
Configuring Dual- or Multiple-Boot Systems to Run with VMware Workstation on
page 228.
5. Boot the virtual machine and use your existing boot manager to select the guest
operating system. Choose Virtual Machine at the hardware profile menu prompt.
You encounter device failure messages and delays during this initial boot.
6. Windows .NET Server, Windows XP and Windows 2000 guests: After you log
on to Windows .NET Server, Windows XP or Windows 2000 (now running as a
guest operating system) you should see a Found New Hardware dialog box for
the video controller as Plug and Play runs and discovers the virtual hardware. Do
not install drivers at this time. Click Cancel to close the Found New Hardware
dialog box.
Do not reboot the virtual machine — click No in the System Settings Change/
Reboot dialog box.
Windows .NET Server, Windows XP or Windows 2000 automatically detects and
load the driver for the AMD PCnet PCI Ethernet card. At this point, you should
install VMware Tools inside the virtual machine. Allow the virtual machine to
reboot after the VMware, Inc. SVGA video driver (included in VMware Tools) has
been installed. Once Windows .NET Server, Windows XP or Windows 2000
reboots inside the virtual machine, select a new SVGA resolution from the
www.vmware.com 237
ws31_manual.book Page 238 Thursday, April 11, 2002 3:25 PM
Using Disks
Display Properties > Settings tab dialog box to increase the size of the virtual
machine’s display window.
If you want to enable the virtual machine’s sound adapter to work inside the
Windows .NET Server, Windows XP or Windows 2000 guest operating system,
finish the remaining steps in this section, then refer to Configuring Sound in
VMware Workstation on page 327.
Windows 95 and Windows 98 guests: You should see New Hardware
Detected dialog boxes as Plug and Play runs and discovers the virtual hardware.
Windows prompts you for locations to search for device drivers. Most of the
device drivers are available in the existing operating system installation, but you
may need the installation CD-ROM for some networking device drivers.
Windows also asks you to reboot your system several times as it installs the
device drivers.
In some instances, Windows may not recognize the CD-ROM drive when it
prompts you to insert the CD-ROM to look for device drivers during the initial
hardware detection. In such cases, you can cancel the installation of the
particular device or try pointing to C:\windows\system\ to search for
device drivers on the hard disk. Any failed device installations may be performed
at a later time after the CD-ROM drive is recognized.
After Windows has installed the virtual hardware and its drivers, you can remove
the failed devices corresponding to the physical hardware using the Device
Manager (Control Panel > System > Device Manager tab).
Select the device, then click the Remove button. If a device appears in multiple
hardware profiles, you can select the hardware profile(s) from which to remove
the device.
Windows NT guest only: After the operating system has finished booting in the
virtual machine, view the event log to see which physical devices have failed to
start properly. You can disable them from the Virtual Hardware profile using the
Device Manager (Control Panel > Devices).
7. Confirm that your virtual devices — specifically, the network adapter — are
working properly.
Windows 95 and Windows 98: If any virtual device is missing, you can detect it
by running Control Panel > Add New Hardware.
8. Install VMware Tools. VMware Tools appears and runs in both hardware
configurations but affects only the virtual machine.
238 www.vmware.com
ws31_manual.book Page 239 Thursday, April 11, 2002 3:25 PM
Using Disks
Note: The next time you reboot Windows natively using the Physical Machine
hardware profile, some virtual devices may appear in the device list. You can
disable or remove these virtual devices from the Physical Machine hardware
profile in the same way that you removed physical devices from the virtual
machine hardware profile in step 6 above.
www.vmware.com 239
ws31_manual.book Page 240 Thursday, April 11, 2002 3:25 PM
Using Disks
3. Copy the files you renamed in Step 2 to the C:\winnt\system32 folder. (If
the system environment variable SYSTEMROOT is not C:, then use the
appropriate path instead of C:\winnt\system32.)
4. Remove the read-only attribute from the boot.ini file.
attrib -s -h -r C:\boot.ini
If the system environment variable SYSTEMROOT is not C:, then use the
appropriate path instead of C:\boot.ini.
5. Use a text editor (such as Notepad) to modify the [operating systems]
section in boot.ini to read:
[operating systems]
multi(0)disk ....\WINNT40="Windows NT Server Version 4.00"
multi(0)disk ....\WINNT40="Windows NT Version 4.00
[UNIHAL]" /hal=unihal.dll /kernel=unikrnl.exe
Note: The last line, from the second multi(0)disk to
/kernel=unikrnl.exe, must be on one line. It must not wrap.
6. Save the boot.ini file, exit the text editor, then restart the computer.
7. When the computer reboots, choose Windows NT Version 4.00 [UNIHAL] from
the Windows NT boot menu.
This is the configuration you should use in the virtual machine.
240 www.vmware.com
ws31_manual.book Page 241 Thursday, April 11, 2002 3:25 PM
Using Disks
The physical computer hardware supports ACPI, while the virtual machine
environment does not. The ACPI hardware abstraction layer (HAL) that was installed
automatically when Windows 2000, Windows XP or Windows .NET Server was
installed on the computer does not run in the virtual environment within VMware
Workstation. (The hardware abstraction layer is the low-level part of the operating
system that is specific to the hardware it is running on.)
www.vmware.com 241
ws31_manual.book Page 242 Thursday, April 11, 2002 3:25 PM
Using Disks
242 www.vmware.com
ws31_manual.book Page 243 Thursday, April 11, 2002 3:25 PM
Using Disks
www.vmware.com 243
ws31_manual.book Page 244 Thursday, April 11, 2002 3:25 PM
Using Disks
You may also want to rename the Original Configuration profile to Physical
Machine.
6. Click OK to close the System Properties dialog box.
7. Shut down Windows 95 and reboot the system.
8. Boot into your host operating system (Linux, Windows NT, Windows 2000,
Windows XP or Windows .NET Server).
9. Start the Windows 95 virtual machine.
10. Select Virtual Machine from the list of profiles when prompted.
11. If you are prompted to select the CPU Bridge, accept the default, then click OK.
12. Restart Windows 95 when prompted.
13. Again, select Virtual Machine from the list of profiles when prompted.
14. When the video card is detected, you are prompted to select which driver you
want to install for your new hardware. Click the Select from a list of alternate
drivers radio button, then click OK.
15. Select Display Adapters from the Select Hardware Type dialog box.
16. Select Standard Display Adapter (VGA) from the device list, then click OK.
17. Restart Windows 95 when prompted.
18. Install VMware Tools as outlined in Installing a Guest Operating System and
VMware Tools on page 77, then restart the virtual machine.
19. Start the Device Manager and expand the Display adapters tree.
20. Highlight VMware SVGA. Click Properties.
21. Uncheck Physical Machine, then click OK. Click Close.
22. Shut down Windows 95 and power off the virtual machine.
23. Shut down your host operating system (Linux, Windows NT, Windows 2000,
Windows XP or Windows .NET Server) and reboot into Windows 95.
24. Select the Physical Machine profile when prompted.
25. Repeat steps 19 through 21 and uncheck Virtual Machine, leaving Physical
Machine checked.
244 www.vmware.com
ws31_manual.book Page 245 Thursday, April 11, 2002 3:25 PM
Using Disks
www.vmware.com 245
ws31_manual.book Page 246 Thursday, April 11, 2002 3:25 PM
Using Disks
19. After all devices have been detected, click the Details button to list the detected
non-Plug and Play devices.
20. Click Finish, then reboot the virtual machine when prompted.
21. Select the VMware Workstation configuration profile. Notice that an unknown
monitor is detected and installed.
22. Install VMware Tools as outlined in Installing a Guest Operating System and
VMware Tools on page 77.
23. At the end of the tools installation, the Display Properties dialog box should be
displayed.
24. Click the Advanced button, then click the Adapter tab.
25. Click the Change button. The Update Device Driver Wizard starts.
26. Click Next.
27. Select Display a list of all drivers…, then click Next.
28. Click Have Disk.
29. Type C:\WINDOWS\TEMP in the Copy manufacturer’s files from field, then
click OK.
30. Click OK to select the VMware SVGA device, then click Next.
31. If you are prompted with an Update Driver Warning, click Yes, then click Next.
32. Click Finish, then click Apply.
33. Click Close, then reboot when prompted.
34. After booting is completed, open the device manager. It should show that you
have
• Standard PCI Graphics Adapter
• VMware SVGA Display Adapter
35. Shut down the Windows 98 virtual machine and your host operating system.
36. Boot natively into Windows 98, then start the Device Manager.
37. Select the VMware SVGA device if listed, then click Remove.
38. Select the Remove from Specific Configuration radio button, then select
Physical Machine from the configuration list.
39. Click OK, then reboot Windows 98 when prompted.
40. Boot into Windows 98 natively and verify the display settings. You should be able
to use the display driver that you installed natively before starting this procedure.
246 www.vmware.com
ws31_manual.book Page 247 Thursday, April 11, 2002 3:25 PM
Using Disks
www.vmware.com 247
ws31_manual.book Page 248 Thursday, April 11, 2002 3:25 PM
Using Disks
248 www.vmware.com
ws31_manual.book Page 249 Thursday, April 11, 2002 3:25 PM
Using Disks
www.vmware.com 249
ws31_manual.book Page 250 Thursday, April 11, 2002 3:25 PM
Using Disks
the Image=… section of lilo.conf to tell Linux to look for more memory
than seen by default.
If the amount of memory configured in lilo.conf exceeds the amount of
memory assigned to the virtual machine, then when the virtual machine tries to
boot the second Linux installation, the guest operating system will most likely
panic.
You can create another entry in lilo.conf for running Linux in a virtual
machine by specifying a different amount of memory than what should
normally be recognized when Linux boots directly on the physical machine.
250 www.vmware.com
ws31_manual.book Page 251 Thursday, April 11, 2002 3:25 PM
Using Disks
Geometry
In some cases, it is not possible to boot a raw SCSI drive inside a virtual machine
because the SCSI adapter in the physical computer and the BusLogic adapter in the
virtual machine describe the drive in different ways. The virtual machine might hang
during the boot, VMware Workstation might crash or VMware Workstation might fail
with an ASSERT or other error message.
This problem is most likely to affect smaller drives — less than 2GB.
In order to share the same BIOS interface used by IDE disks (which is required in order
to boot), all SCSI disks need to have a geometry, which is a fabricated value for the
number of cylinders, sectors and heads on the disk.
In fact, a SCSI disk appears to a computer as a single flat entity from sector 1 up to the
highest sector on the disk. As a result, every SCSI vendor has its own approach to
taking the capacity of a SCSI disk and generating a geometry to use for booting.
The conversion from a given geometry to an absolute sector number depends on the
geometry. If you have a disk with a boot sector written by a program running on the
host and you try to boot that disk inside a virtual machine, the boot program can fail if
the host geometry does not match the geometry used by the BusLogic virtual SCSI
adapter. The symptoms are that you see the first part of the boot loader — possibly an
LI from LILO, for example — but then the boot either stops or crashes.
BusLogic uses the following rules for generating disk geometries:
<= 1GB 64 32
In each case the number of cylinders is calculated by taking the total capacity of the
disk and dividing by (Heads*Sectors). Fortunately, for sufficiently big disks, practically
all vendors use 255 heads and 63 sectors.
Drivers
In contrast to IDE adapters, SCSI adapters are not interchangeable and cannot all use
the same drivers. That is, if you have an Adaptec SCSI host adapter in your machine
www.vmware.com 251
ws31_manual.book Page 252 Thursday, April 11, 2002 3:25 PM
Using Disks
and you remove it and replace it with a BusLogic SCSI host adapter, your operating
system will most likely fail to boot unless you install a BusLogic driver.
Dual booting from a disk that is also used as a virtual disk is no different. To your
operating system, it appears that the SCSI card in the machine suddenly changed
from whatever you own to a BusLogic card, and your operating system needs to have
a valid BusLogic driver installed. If that driver is not installed, you get a panic, a blue
screen or some similar fatal error as soon as the boot process tries to switch from the
BIOS bootstrap to the disk driver installed in the operating system.
252 www.vmware.com
ws31_manual.book Page 253 Thursday, April 11, 2002 3:25 PM
Using Disks
www.vmware.com 253
ws31_manual.book Page 254 Thursday, April 11, 2002 3:25 PM
Using Disks
254 www.vmware.com
ws31_manual.book Page 255 Thursday, April 11, 2002 3:25 PM
Using Disks
4. The next panel allows you to specify the access that is needed for each partition
on the disk(s). Most partitions should be set to Read, and the partition that the
virtual machine is to use should be set to Write.
www.vmware.com 255
ws31_manual.book Page 256 Thursday, April 11, 2002 3:25 PM
Using Disks
256 www.vmware.com
ws31_manual.book Page 257 Thursday, April 11, 2002 3:25 PM
Using Disks
5. When you reach the Disk Type Settings panel, select Use a physical disk. Click
Next.
6. Select the read/write option only for the raw partition or disk (and its master
boot record) on which you want to install the guest operating system. If the raw
disk you plan to use has multiple partitions already on it, be aware that certain
operating systems (DOS, Windows 95, Windows 98) must be installed on the first
primary partition.
www.vmware.com 257
ws31_manual.book Page 258 Thursday, April 11, 2002 3:25 PM
Using Disks
258 www.vmware.com
ws31_manual.book Page 259 Thursday, April 11, 2002 3:25 PM
Using Disks
Improving Performance
You may increase performance by enabling DMA (direct memory access) on the
virtual hard disk’s IDE channel in the virtual machine.
Note: You should not enable DMA on the IDE channel to which you have attached
your virtual DVD/CD-ROM drive. In most cases, the virtual hard disk is attached to IDE
channel 0 and the virtual DVD/CD-ROM drive is attached to IDE channel 1, so this is
not an issue.
If you have a virtual disk and a DVD/CD-ROM attached as master and slave to the
primary IDE controller (channel 0) and you want to enable DMA, power off the virtual
machine and use the Configuration Editor (Settings > Configuration Editor) to move
the DVD/CD-ROM drive to the secondary IDE controller (channel 1) at IDE 1:0.
You can enable the DMA feature after you finish installing Windows NT. You must
install Service Pack 3 or higher in the virtual machine to enable this option.
Once the virtual machine is running Windows NT, insert an SP3 or SP4 CD in the drive
and run DMACHECK.EXE from the \SUPPORT\UTILS\I386 folder on the CD. Or
download DMACHECK.EXE from the Microsoft Web site
(support.microsoft.com/support/kb/articles/Q191/7/74.ASP).
Click the Enabled option for the IDE controller and channel configured for the virtual
disk. Typically, this is channel 0 only, unless you have the virtual machine configured
with multiple virtual disks and no virtual DVD/CD-ROM drive.
As noted above, you should not enable DMA on an IDE channel with a virtual DVD/
CD-ROM drive attached.
www.vmware.com 259
ws31_manual.book Page 260 Thursday, April 11, 2002 3:25 PM
ws31_manual.book Page 261 Thursday, April 11, 2002 3:25 PM
9
Networking
ws31_manual.book Page 262 Thursday, April 11, 2002 3:25 PM
Networking
262 www.vmware.com
ws31_manual.book Page 263 Thursday, April 11, 2002 3:25 PM
Networking
www.vmware.com 263
ws31_manual.book Page 264 Thursday, April 11, 2002 3:25 PM
Networking
264 www.vmware.com
ws31_manual.book Page 265 Thursday, April 11, 2002 3:25 PM
Networking
Additional host-only adapters can be set up for use in custom configurations that
need them.
NAT device — The NAT (network address translation) device allows you to connect
your virtual machines to an external network in situations where you have only one IP
network address, and that address is used by the host computer. You can, for example,
use NAT to connect your virtual machines to the Internet through a dial-up
connection on the host computer or through the host computer’s Ethernet adapter,
wireless Ethernet adapter or Token Ring card.
The NAT device is set up automatically if you choose NAT as the networking option
when you set up a virtual machine.
DHCP server — The DHCP (dynamic host configuration protocol) server provides IP
network addresses to virtual machines in host-only and NAT configurations.
Network adapter — One virtual network adapter is set up for your virtual machine
when you create it with the New Virtual Machine Wizard (on a Windows host) or
Configuration Wizard (on a Linux host) using any type of networking. It appears to the
guest operating system as an AMD PCNET PCI adapter.
You can create and configure up to three virtual network adapters in each virtual
machine using the Configuration Editor.
www.vmware.com 265
ws31_manual.book Page 266 Thursday, April 11, 2002 3:25 PM
Networking
Bridged Networking
Virtual
Ethernet
adapter
Virtual machine
Virtual Ethernet switch
(VMnet0)
Host
Virtual bridge Ethernet
adapter
Bridged networking connects a virtual machine to a network using the host computer’s Ethernet adapter.
Bridged networking is set up automatically if you select Use bridged networking in
the New Virtual Machine Wizard on Windows hosts or Bridged networking in the
Configuration Wizard on Linux hosts. This selection is available only if you enable the
bridged networking option when you install VMware Workstation.
If your host computer is on an Ethernet network, this is often the easiest way to give
your virtual machine access to that network.
If you use bridged networking, your virtual machine needs to have its own identity on
the network. For example, on a TCP/IP network, the virtual machine needs its own IP
address. Your network administrator can tell you whether IP addresses are available for
your virtual machine and what networking settings you should use in the guest
operating system. Generally, your guest operating system may acquire an IP address
and other network details automatically from a DHCP server, or you may need to set
the IP address and other details manually in the guest operating system.
266 www.vmware.com
ws31_manual.book Page 267 Thursday, April 11, 2002 3:25 PM
Networking
If you use bridged networking, the virtual machine is a full participant in the network.
It has access to other machines on the network and can be contacted by other
machines on the network as if it were a physical computer on the network.
Be aware that if the host computer is set up to boot multiple operating systems and
you run one or more of them in virtual machines, you need to configure each
operating system with a unique network address. People who boot multiple
operating systems often assign all systems the same address, since they assume only
one operating system will be running at a time. If you use one or more of the
operating systems in a virtual machine, this assumption is no longer true.
If you make some other selection in the New Virtual Machine Wizard (on Windows
hosts) or Configuration Wizard (on Linux hosts) and later decide you want to use
bridged networking, you can make that change in the Configuration Editor (Settings
> Configuration Editor). For details, see Changing the Networking Configuration on
page 274.
Note: You cannot use bridged networking if your host has a wireless NIC installed. If
you want to run virtual machines on a host that uses wireless NICs, you need to
configure your virtual machines to use NAT.
Network
NAT device
NAT gives a virtual machine access to network resources using the host computer’s IP address.
www.vmware.com 267
ws31_manual.book Page 268 Thursday, April 11, 2002 3:25 PM
Networking
machine an IP address on the external network, NAT is often the easiest way to give
your virtual machine access to that network.
NAT also allows you to connect to a TCP/IP network using a wireless LAN adapter or
Token Ring adapter on the host computer.
If you use NAT, your virtual machine does not have its own IP address on the external
network. Instead, a separate private network is set up on the host computer. Your
virtual machine gets an address on that network from the VMware virtual DHCP
server. The VMware NAT device passes network data between one or more virtual
machines and the external network. It identifies incoming data packets intended for
each virtual machine and sends them to the correct destination.
If you select NAT, the virtual machine can use many standard TCP/IP protocols to
connect to other machines on the external network. For example, you can use HTTP
to browse Web sites, FTP to transfer files and Telnet to log on to other computers. In
the default configuration, computers on the external network cannot initiate
connections to the virtual machine. That means, for example, that the default
configuration does not let you use the virtual machine as a Web server to send Web
pages to computers on the external network.
If you make some other selection in the New Virtual Machine Wizard (on Windows
hosts) or Configuration Wizard (on Linux hosts) and later decide you want to use NAT,
you can make that change in the Configuration Editor (Settings > Configuration
Editor). For details, see Changing the Networking Configuration on page 274.
Host-Only Networking
Virtual
Ethernet
adapter
Host-only networking creates a network that is completely contained within the host computer.
268 www.vmware.com
ws31_manual.book Page 269 Thursday, April 11, 2002 3:25 PM
Networking
www.vmware.com 269
ws31_manual.book Page 270 Thursday, April 11, 2002 3:25 PM
Networking
Virtual machine 1
Virtual
Ethernet switch Firewall
Virtual machine 2 (VMnet2)
Web server
Virtual Virtual
Ethernet Ethernet
adapter adapter
Virtual
Ethernet
Virtual adapter
Ethernet switch
(VMnet3)
Virtual machine 3
Firewall Virtual machine 4
“Internal” PC
In this custom configuration, a Web server connects through a firewall to an external network. An administrator’s
computer can connect to the Web server through a second firewall.
270 www.vmware.com
ws31_manual.book Page 271 Thursday, April 11, 2002 3:25 PM
Networking
To set up this configuration, you must create four virtual machines and use the
Configuration Editor to adjust the settings for their virtual Ethernet adapters. You also
need to install the appropriate guest operating systems and application software in
each virtual machine and make the appropriate networking settings in each virtual
machine.
1. Set up four virtual machines using the New Virtual Machine Wizard (on Windows
hosts) or Configuration Wizard (on Linux hosts).
Create the first virtual machine with bridged networking so it can connect to an
external network using the host computer’s Ethernet adapter.
Create the other three virtual machines without networking. You will set up their
virtual Ethernet adapters in later steps.
2. Start VMware Workstation and open virtual machine 1. Do not power on the
virtual machine.
Use the Configuration Editor (Settings > Configuration Editor) to add a second
virtual network adapter, as described in Changing the Networking Configuration
on page 274. Connect the second adapter to Custom (VMnet2).
Click OK to save the configuration and close the Configuration Editor.
3. If VMware Workstation is not running, start it. Open virtual machine 2. Do not
power on the virtual machine.
Use the Configuration Editor (Settings > Configuration Editor) to add a virtual
network adapter. Connect the adapter to Custom (VMnet2).
Click OK to save the configuration and close the Configuration Editor.
4. If VMware Workstation is not running, start it. Open virtual machine 3. Do not
power on the virtual machine.
Use the Configuration Editor (Settings > Configuration Editor) to add a virtual
network adapter. Connect the adapter to Custom (VMnet2).
Use the Configuration Editor to add a second virtual network adapter. Connect
the adapter to Custom (VMnet3).
Click OK to save the configuration and close the Configuration Editor.
5. If VMware Workstation is not running, start it. Open virtual machine 4. Do not
power on the virtual machine.
Use the Configuration Editor (Settings > Configuration Editor) to add a virtual
network adapter. Connect the adapter to Custom (VMnet3).
Click OK to save the configuration and close the Configuration Editor.
www.vmware.com 271
ws31_manual.book Page 272 Thursday, April 11, 2002 3:25 PM
Networking
272 www.vmware.com
ws31_manual.book Page 273 Thursday, April 11, 2002 3:25 PM
Networking
www.vmware.com 273
ws31_manual.book Page 274 Thursday, April 11, 2002 3:25 PM
Networking
To change the configuration of an existing virtual network adapter, follow these steps.
1. Be sure the virtual machine with the adapter you want to modify is powered off.
2. Open the Configuration Editor (Settings > Configuration Editor).
3. Select the adapter you want to modify.
4. Select the network type you want to use — Bridged, NAT, Host-only or Custom.
5. If you select Custom, choose the VMnet virtual switch you want to use for the
network from the drop-down list.
6. Click OK to save your changes and close the Configuration Editor.
Linux Hosts
274 www.vmware.com
ws31_manual.book Page 275 Thursday, April 11, 2002 3:25 PM
Networking
To change the configuration of an existing virtual network adapter, follow these steps.
1. Be sure the virtual machine with the adapter you want to modify is powered off.
2. Open the Configuration Editor (Settings > Configuration Editor).
3. Click the + sign beside Network Adapters.
4. Select the adapter you want to modify.
5. Select the network type you want to use — Bridged, NAT, Host-only or Custom.
6. If you choose custom, enter the number of the VMnet virtual switch you want to
use in the VMnet field. For example, if you want to use VMnet2, type
/dev/VMnet2.
7. Click OK to save your changes and close the Configuration Editor.
3. The VMware Virtual Network Configuration dialog box appears, with the
Summary tab active. By default, the VMnet0 virtual switch is set up in bridged
mode and bridges to one of the active Ethernet adapters on the host computer.
The choice of which adapter it uses is arbitrary. You can restrict the range of
choices using options on the Automatic Bridging tab.
(Also shown are VMnet1, the default virtual switch for host-only networking, and
VMnet8, the default virtual switch for NAT, if they are enabled in VMware
Workstation.)
www.vmware.com 275
ws31_manual.book Page 276 Thursday, April 11, 2002 3:25 PM
Networking
4. To exclude one or more physical Ethernet adapters from the list to which
VMnet0 may be bridged, click the Automatic Bridging tab. To exclude an
Ethernet adapter, click Add to add it to the list of excluded devices.
In the Choose Network Adapters dialog box, select the listing for the adapter you
want to exclude, then click OK.
To remove an adapter from the list of excluded adapters, select its name in the
list, then click Remove.
276 www.vmware.com
ws31_manual.book Page 277 Thursday, April 11, 2002 3:25 PM
Networking
www.vmware.com 277
ws31_manual.book Page 278 Thursday, April 11, 2002 3:25 PM
Networking
278 www.vmware.com
ws31_manual.book Page 279 Thursday, April 11, 2002 3:25 PM
Networking
www.vmware.com 279
ws31_manual.book Page 280 Thursday, April 11, 2002 3:25 PM
Networking
280 www.vmware.com
ws31_manual.book Page 281 Thursday, April 11, 2002 3:25 PM
Networking
www.vmware.com 281
ws31_manual.book Page 282 Thursday, April 11, 2002 3:25 PM
Networking
configure the VMware DHCP server to always assign the same IP address to each of
these virtual machines.
282 www.vmware.com
ws31_manual.book Page 283 Thursday, April 11, 2002 3:25 PM
Networking
3. Find the file vmnetdhcp.conf in the system directory. On most systems, this
will be C:\WINNT\system32\vmnetdhcp.conf. Look for the text
Virtual ethernet segment 1 in the file. Sample text from the file:
# Virtual ethernet segment 1
# Added at 07/05/01 14:30:18
subnet 192.168.222.0 netmask 255.255.255.0 {
range 192.168.222.128 192.168.222.254; # up to 126 VMs
option broadcast-address 192.168.222.255;
option domain-name-servers 192.168.222.1;
option domain-name "localdomain";
}
host VMnet1 {
hardware ethernet 00:50:56:C0:00:01;
fixed-address 192.168.222.1;
option domain-name-servers 0.0.0.0;
option domain-name "";
}
Replace all instances of the old IP address — 192.168.222.1 — with the new IP
address — 192.168.3.1 — as shown below.
# Virtual ethernet segment 1
# Added at 07/05/01 14:30:18
subnet 192.168.3.0 netmask 255.255.255.0 {
range 192.168.3.128 192.168.3.254; # up to 126 VMs
option broadcast-address 192.168.3.255;
option domain-name-servers 192.168.3.1;
option domain-name "localdomain";
}
host VMnet1 {
hardware ethernet 00:50:56:C0:00:01;
fixed-address 192.168.3.1;
option domain-name-servers 0.0.0.0;
option domain-name "";
}
4. Reboot the host computer so the new settings will take effect.
To make corresponding changes to the DHCP server for the NAT network, follow the
same procedure, with these changes:
• Edit the registry key
\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\
VMnetDHCP\Parameters\VirtualEthernetSegments\8.
www.vmware.com 283
ws31_manual.book Page 284 Thursday, April 11, 2002 3:25 PM
Networking
284 www.vmware.com
ws31_manual.book Page 285 Thursday, April 11, 2002 3:25 PM
Networking
Windows Hosts
Windows NT systems and systems using server versions of Windows 2000 are capable
of forwarding IP packets that are not addressed to them. By default, however, these
systems come with IP packet forwarding disabled. IP forwarding is not an issue on
Windows 2000 Professional, Windows XP Professional or Windows XP Home Edition
hosts.
If you find packets leaking out of a host-only network on a Windows NT or Windows
2000 host computer, check to see if forwarding has been enabled on the host
machine. If it is enabled, disable it.
On a Windows NT host, go to Start > Settings > Control Panel > Networking. Choose
TCP/IP, click Properties, then click the Routing tab. Clear the check box to disable IP
forwarding.
On a Windows 2000 host, go to Start > Programs > Administrative Tools > Routing
and Remote Access. An icon on the left is labeled with the host name. If a green dot
appears over the icon, IP forwarding is turned on. To turn it off, right-click the icon and
choose disable Routing and Remote Access. A red dot appears, indicating that IP
forwarding is disabled.
Windows 2000 Professional Users: The Windows 2000 Administration Tools
are not installed on a Windows 2000 Professional system. However, you can
install these tools from a Windows 2000 Server or Windows 2000 Advanced
Server CD-ROM.
To install Windows 2000 Administration Tools on a local computer:
A. Open the i386 folder on the applicable Windows 2000 Server disc.
B. Double-click the adminpak.msi file. Follow the instructions that appear
in the Windows 2000 Administration Tools Setup wizard.
C. After Windows 2000 Administration Tools are installed, most of the server
administrative tools can be accessed by choosing Start > Programs >
Administrative Tools.
www.vmware.com 285
ws31_manual.book Page 286 Thursday, April 11, 2002 3:25 PM
Networking
Windows .NET Server is not yet released. However, the steps for checking and
disabling IP forwarding in beta versions are the same as those for server versions of
Windows 2000.
Linux Hosts
If you find packets leaking out of a host-only network on a Linux host computer, check
to see if forwarding has mistakenly been enabled on the host machine. If it is enabled,
disable it.
For many Linux systems, disable forwarding by writing a 0 (zero) to the special file
/proc/sys/net/ipv4/ip_forward. As root, enter this command:
echo 0 > /proc/sys/net/ipv4/ip_forward
Other Linux systems have a system configuration option that you can set. The method
depends on your Linux distribution. You may use a control panel, specify a setting at
the time you compile your kernel or possibly enter a specification when you boot your
system. Consult your operating system documentation for details on the method to
use with your particular distribution.
Using Filtering
If the host computer has multiple network adapters, it may be intentionally
configured to do IP forwarding. If that is the case, you do not want to disable
forwarding. In that case, to avoid packet leakage you must enable a packet filtering
facility and specify that packets from the host-only network should not be sent
outside the host computer. Consult your operating system documentation for details
on how to configure packet filtering.
286 www.vmware.com
ws31_manual.book Page 287 Thursday, April 11, 2002 3:25 PM
Networking
virtual machine is assigned the same MAC address every time it is powered on. In
addition, VMware Workstation does its best, but cannot guarantee, to automatically
assign unique MAC addresses for virtual machines running on multiple host systems.
If you want to guarantee that the same MAC address is assigned to a given virtual
machine every time, or if you want to guarantee a unique MAC address for each
virtual machine within a networked environment, you can assign the address
manually instead of allowing VMware Workstation to assign it automatically.
To manually assign the same, unique MAC address to any virtual machine, use a text
editor to add the following line to its configuration file (the .vmx file on a Windows
host or .cfg file on a Linux host):
ethernet0.address = 00:50:56:XX:YY:ZZ
where XX must be a valid hex number between 00h and 3Fh, and YY and ZZ must
be valid hex numbers between 00h and FFh. Because VMware Workstation virtual
machines do not support arbitrary MAC addresses, the above format must be used.
So long as you choose XX:YY:ZZ so it is unique among your hard-coded addresses
(where XX is a valid hex number between 00h and 3Fh, and YY and ZZ are valid hex
numbers between 00h and FFh), conflicts between the automatically assigned MAC
addresses and the manually assigned ones should never occur.
www.vmware.com 287
ws31_manual.book Page 288 Thursday, April 11, 2002 3:25 PM
Networking
For gated, configuration is involved. You need to explicitly exclude the VMnet1
interface from any protocol activity. If you need to run virtual machines on a host-only
network on a multihomed system where gated is used and have problems doing so,
please contact VMware technical support by submitting a support request at
www.vmware.com/requestsupport.
DHCPD on the Linux Host Does Not Work after VMware Workstation Installation
If you were running the DHCP server program dhcpd on your machine before
installing VMware Workstation, it probably was configured to respond to DHCP
requests from clients on any network interface present on the machine. When host-
only networking is configured, an additional network interface, VMnet1, is marked
“up” and available for use, and dhcpd may notice this.
In such cases, some dhcpd implementations abort if their configuration files do not
include a subnet specification for the interface — even if dhcpd is not supposed to
respond to messages that arrive through the interface.
The best solution to this problem is to add a line to the dhcpd configuration file of
the form:
subnet <net>.0 netmask 255.255.255.0 {}
<net> is the network number assigned to your host-only network, for example,
192.168.0). This informs dhcpd about the host-only network and tells it explicitly not
to respond to any DHCP requests it sees coming from it.
An alternative solution is to explicitly state the set of network interfaces that you want
dhcpd to listen to each time you start the program. For example, if your machine has
one Ethernet interface, eth0, then each time you start dhcpd, list it on the
command line:
dhcpd eth0
This keeps it from probing for all available network interfaces.
If the above solutions do not work for your DHCP server program, then it likely is old.
You can try upgrading to a more current version such the Version 2 DHCP software
available from the ISC (www.isc.org).
288 www.vmware.com
ws31_manual.book Page 289 Thursday, April 11, 2002 3:25 PM
Networking
www.vmware.com 289
ws31_manual.book Page 290 Thursday, April 11, 2002 3:25 PM
Networking
If you do not need any shares to appear on your bridged network, you can use your
existing Samba server and set up the configuration file so it works only on the host-
only network.
Samba configurations can be quite complex. This chapter provides several sample
configuration files. If you need to go beyond the issues covered here, see the man
page for the smb.conf file. To view this page, type one of the following commands
in a terminal window:
man smb.conf
or
man 5 smb.conf
Pay particular attention to the section on encrypted passwords. If you have enabled
clear-text passwords in the guest operating system, be sure that smb.conf is set up
to use clear-text passwords. Similarly, if you are using encrypted passwords, you must
have the same setting in the guest operating system and in smb.conf.
Note: Using Samba printer sharing with virtual machines is not supported. Consult
the man pages for guidance on configuring Samba for printing.
# Global settings
[global]
# This should be polled at install time from the private subnet created by
290 www.vmware.com
ws31_manual.book Page 291 Thursday, April 11, 2002 3:25 PM
Networking
# vmware-config.pl
socket address = 192.168.183.1
interfaces = vmnet1
bind interfaces only = yes
workgroup = WORKGROUP
netbios name = HOSTNAME
server string = VMware host-only
security = user
encrypt passwords = yes
dns proxy = no
# Shared resources
# Home directories
[homes]
comment = Home directories
browseable = no
writable = yes
# Printers
;[printers]
; comment = All printers
; path = /var/lpd
; browseable = no
; guest ok = no
; writable = no
; printable = yes
;[HostFS]
; comment = VMware host filesystem
; path = /
; public = no
; writeable = yes
; printable = no
www.vmware.com 291
ws31_manual.book Page 292 Thursday, April 11, 2002 3:25 PM
Networking
# Global Settings
[global]
interfaces = eth0
workgroup = WORKGROUP
netbios name = HOSTNAME
server string = Samba Host Box
security = user
encrypt passwords = yes
smb passwd file = /etc/smbpasswd
dns proxy = no
# Shared Resources
[homes]
comment = Home Directories
292 www.vmware.com
ws31_manual.book Page 293 Thursday, April 11, 2002 3:25 PM
Networking
browseable = yes
writable = yes
;[printers]
; comment = All Printers
; path = /var/spool/samba
; browseable = yes
; guest ok = yes
; writable = no
; printable = yes
; create mode = 0700
; print command = lpr-cups -P %p -o raw %s -r # using client side
; printer drivers.
; print command = lpr-cups -P %p %s # using cups own drivers (use
; generic PostScript on clients).
; lpq command = lpstat -o %p
; lprm command = cancel %p-%j
;[system]
; comment = System share
; path = /
; valid users = username
; public = no
; browsable = yes
; writable = yes
; printable = no
www.vmware.com 293
ws31_manual.book Page 294 Thursday, April 11, 2002 3:25 PM
Networking
294 www.vmware.com
ws31_manual.book Page 295 Thursday, April 11, 2002 3:25 PM
Networking
Sample smb.conf for Running Two Samba Servers at the Same Time
; This file is the recommended smb.conf file for your
; normal Samba server if you want to run it concurrently
; (which we don't advise) with the VMware Samba server.
;
; Your normal samba server should be at least v 2.0.6
;
; Note that you will need to insert specific information
; for your system at several points indicated in the file
; by <text in angle brackets>.
;
; --------------
;
; Larmor samba server configuration
;
; Global settings
[global]
;
; Identity
;
www.vmware.com 295
ws31_manual.book Page 296 Thursday, April 11, 2002 3:25 PM
Networking
; Shared resources
;
; Home directories
[homes]
comment = Home directories
browseable = no
writable = yes
; Printers
;[printers]
; comment = All printers
; path = /var/lpd
296 www.vmware.com
ws31_manual.book Page 297 Thursday, April 11, 2002 3:25 PM
Networking
; browseable = no
; guest ok = no
; writable = no
; printable = yes
[Slash]
comment = Whole filesystem
path = /
public = no
writeable = yes
printable = no
The Approach
If you are using bridged networking on a Windows NT 4.0 host, the steps in the next
section allow you to configure your virtual machine so it can use both network
adapters, with each adapter on a different virtual network interface.
Note: On a Windows 2000, Windows XP or Windows .NET Server host, it is more
convenient to configure your adapters using the procedure described in Configuring
Bridged Networking Options on a Windows Host on page 276.
You need to create two separate VMware Workstation configuration files (.vmx files),
both of which point to the same virtual or raw disk. One uses a standard bridged
networking setup on the VMnet0 virtual switch. The other uses VMnet2. You use one
configuration when you want to connect to a network using the PC Card network
adapter and the other when you want to use the docking station's adapter.
Step By Step
1. Follow the usual steps to configure your VMware Workstation virtual machine
with one network adapter in place. (In later steps, these instructions assume that
this is the PC Card adapter.) Use bridged networking. Test the setup to be sure
the virtual machine can boot and run with that network adapter.
2. After you have tested the initial configuration, shut down your virtual machine
and exit VMware Workstation. Switch the setup so the other network adapter is
being used. For example, if you first configured the computer while the PC Card
adapter was in use, you should now set the computer up in the docking station
so its adapter is in use.
www.vmware.com 297
ws31_manual.book Page 298 Thursday, April 11, 2002 3:25 PM
Networking
298 www.vmware.com
ws31_manual.book Page 299 Thursday, April 11, 2002 3:25 PM
Networking
www.vmware.com 299
ws31_manual.book Page 300 Thursday, April 11, 2002 3:25 PM
Networking
300 www.vmware.com
ws31_manual.book Page 301 Thursday, April 11, 2002 3:25 PM
Networking
www.vmware.com 301
ws31_manual.book Page 302 Thursday, April 11, 2002 3:25 PM
Networking
The wizard reports on host-only networks that you have already set up on the
host or, if none is present, configures the first host-only network.
3. The wizard asks:
Do you wish to configure another host-only network?
Answer Yes.
Repeat this step until you have as many host-only networks as you want. Then
answer No.
4. Complete the wizard. When it is finished, it restarts all services used by VMware
Workstation.
5. Run ifconfig. You should see at least four network interfaces — eth0, lo,
vmnet1 and vmnet2. If the VMnet interfaces do not show up immediately,
wait for a minute, then run the command again. These four interfaces should
have different IP address on separate subnets.
302 www.vmware.com
ws31_manual.book Page 303 Thursday, April 11, 2002 3:25 PM
Networking
Linux host: Click the + sign to expand the Ethernet Adapters list and select the
first adapter. From the Connection Type drop-down list on the right, select
Host-only.
If the list of devices indicates the adapter is not installed, click Install.
www.vmware.com 303
ws31_manual.book Page 304 Thursday, April 11, 2002 3:25 PM
Networking
If the list of devices indicates the adapter is not installed, click Install.
Select the second adapter and, from the Connection Type drop-down list on
the right, select Custom. In the VMnet field, type /dev/vmnet2.
If the list of devices indicates the adapter is not installed, click Install.
At this point you can power on the virtual machine and install your guest operating
system. In scenarios 1 and 2 you see one AMD PCNet Family Adapter. In scenario 3 you
see two AMD PCNet Family Adapters within the guest. Configure the Ethernet
adapters as you would physical adapters on a physical computer, giving each an IP
address on the appropriate VMnet subnet.
On Windows hosts, you can open a command prompt and run ipconfig /all to
see what IP addresses each host-only network is using.
On Linux hosts, you can open a terminal and run ifconfig to see what IP addresses
each host-only network is using.
304 www.vmware.com
ws31_manual.book Page 305 Thursday, April 11, 2002 3:25 PM
Networking
www.vmware.com 305
ws31_manual.book Page 306 Thursday, April 11, 2002 3:25 PM
Networking
306 www.vmware.com
ws31_manual.book Page 307 Thursday, April 11, 2002 3:25 PM
Networking
www.vmware.com 307
ws31_manual.book Page 308 Thursday, April 11, 2002 3:25 PM
Networking
308 www.vmware.com
ws31_manual.book Page 309 Thursday, April 11, 2002 3:25 PM
Networking
4. Configure networking in the first two virtual machines to use addresses on the
appropriate host-only network.
On Windows hosts, you can open a command prompt and run
ipconfig /all to see what IP addresses each host-only network is using.
On Linux hosts, you can open a terminal and run ifconfig to see what IP
addresses each host-only network is using.
5. If you are running the router on the host computer, assign default router
addresses based on the addresses of the host-only adapters on the host
computer. In the first virtual machine’s networking configuration, the default
router address should be the IP address for the host-only adapter connected to
VMnet1. In the second virtual machine’s networking configuration, the default
router address should be the IP address for the host-only adapter connected to
VMnet2.
If you are running the router software on the third virtual machine, set the
default router addresses in the first two virtual machines based on those used by
the third virtual machine. In the first virtual machine’s networking configuration,
the default router address should be the IP address for the third virtual machine’s
Ethernet adapter connected to VMnet1. In the second virtual machine’s
networking configuration, the default router address should be the IP address
for the third virtual machine’s Ethernet adapter connected to VMnet2.
At this point you should be able to ping the router machine from virtual machines
one and two. And if the router software is set up correctly, you should be able to
communicate between the first and second virtual machines.
www.vmware.com 309
ws31_manual.book Page 310 Thursday, April 11, 2002 3:25 PM
Networking
device. For example, if you are using bridged networking, you must have access to
/dev/vmnet0.
To grant selected other users read/write access to the VMnet device, you can create a
new group, add the appropriate users to the group and grant that group read/write
access to the appropriate device. You must make these changes on the host
operating system as root (su). For example, you can enter the following commands:
chgrp <newgroup> /dev/vmnet0
chmod g+rw /dev/vmnet0
<newgroup> is the group that should have the ability to set vmnet0 to
promiscuous mode.
If you want all users to be able to set the virtual Ethernet Adapter (/dev/vmnet0 in
our example) to promiscuous mode, you can simply run the following command on
the host operating system as root.
chmod a+rw /dev/vmnet0
310 www.vmware.com
ws31_manual.book Page 311 Thursday, April 11, 2002 3:25 PM
Networking
Understanding NAT
Network address translation — or NAT — is a networking option that first appeared in
VMware Workstation 3.0.
NAT provides a simple way for virtual machines to use most client applications over
almost any type of network connection available to the host. The only requirement is
that the network connection must support TCP/IP.
NAT is useful when you have a limited supply of IP addresses or are connected to the
network through a non-Ethernet network adapter. NAT works by translating addresses
of virtual machines in a private VMnet network to that of the host machine. When a
virtual machine sends a request to access a network resource, it appears to the
network resource as if the request came from the host machine.
NAT uses the host’s own network resources to connect to the external network. Thus,
any TCP/IP network resource to which the host has access should be available
through the NAT connection.
The chief advantage of NAT is that it provides a transparent, easy to configure way for
virtual machines to gain access to network resources.
www.vmware.com 311
ws31_manual.book Page 312 Thursday, April 11, 2002 3:25 PM
Networking
312 www.vmware.com
ws31_manual.book Page 313 Thursday, April 11, 2002 3:25 PM
Networking
On the external network to which the host is connected, any virtual machine on the
NAT network appears to be the host itself, because its network traffic uses the host’s IP
address. It is able to send and receive data using TCP/IP to any machine that is
accessible from the host.
Before any such communication can occur, the NAT device must set up a mapping
between the virtual machine’s address on the private NAT network and the host’s
network address on the external network.
When a virtual machine initiates a network connection with another network
resource, this mapping is created automatically. The operation is perfectly transparent
to the user of the virtual machine on the NAT network. No additional work needs to be
done to let the virtual machine access the external network.
The same cannot be said for network connections that are initiated from the external
network to a virtual machine on the NAT network.
When a machine on the external network attempts to initiate a connection with a
virtual machine on the NAT network, it cannot reach it because the NAT device does
not forward the request. Network connections that are initiated from outside the NAT
network are not transparent.
However, it is possible to manually configure port forwarding on the NAT device so
network traffic destined for a certain port can still be automatically forwarded to a
virtual machine on the NAT network. For details, see Advanced NAT Configuration
below.
File sharing of the type used by Windows operating systems and Samba is possible
among computers on the NAT network — including virtual machines and the host
computer. If you are using WINS servers on your network, a virtual machine using NAT
networking can access shares on the host known by the WINS server as long as they
are in the same workgroup or domain.
www.vmware.com 313
ws31_manual.book Page 314 Thursday, April 11, 2002 3:25 PM
Networking
For an example of a NAT configuration file, see Sample Windows vmnetnat.conf File
on page 320. The configuration file variables are described below.
314 www.vmware.com
ws31_manual.book Page 315 Thursday, April 11, 2002 3:25 PM
Networking
autodetect
Flag to indicate if the NAT should automatically detect the DNS serves available to the
host.
nameserver1
IP address of a DNS server to use.
nameserver2
IP address of a DNS server to use.
nameserver3
IP address of a DNS server to use.
If autodetect is on and some name servers are specified, the DNS servers specified in
nameserver1, nameserver2 and nameserver3 are added before the list of
detected DNS servers.
www.vmware.com 315
ws31_manual.book Page 316 Thursday, April 11, 2002 3:25 PM
Networking
316 www.vmware.com
ws31_manual.book Page 317 Thursday, April 11, 2002 3:25 PM
Networking
virtual machine can connect to the WINS server. You can connect to the WINS server
provided by the DHCP server used on the NAT network, provided that the WINS server
is already set up on the host. If you want to connect from the virtual machine to a
WINS server not set up on the host, you can manually enter the IP address of the WINS
server.
Using NAT to Connect to an Existing WINS Server Already Set Up on the Host
In order to use this method, a WINS server in the same workgroup or domain must be
set up on the host. These steps use Windows 2000, Windows XP or Windows .NET
Server as a guide. The process is similar for Windows NT, Windows Me and Windows
9x guests.
1. In the virtual machine, right-click on My Network Places and select Properties.
2. In the Network Connections window, right-click the virtual network adapter and
select Properties.
3. In the Properties dialog, select Internet Protocol (TCP/IP), then click Properties.
4. In the TCP/IP Properties dialog, click Advanced.
5. Click the WINS tab, then under NetBIOS setting, select Use NetBIOS setting
from DHCP Server.
6. Click OK twice, then click Close.
www.vmware.com 317
ws31_manual.book Page 318 Thursday, April 11, 2002 3:25 PM
Networking
Now that the virtual machine has an IP address for a WINS server, you use NetLogon in
the virtual machine to log on to a domain and access shares in that domain.
For example, if the WINS server covers a domain with a domain controller it is possible
to access that domain controller from the virtual machine and add the virtual
machine to the domain. You need to know the Administrator’s user ID and password
of the domain controller.
Note: You can access shares of virtual machines that are only on the same NAT
network or are bridged on the same domain.
[host]
# Allows the source to have any OUI. Turn this one if you change the OUI
# in the MAC address of your virtual machines.
#allowAnyOUI = 1
[udp]
# Timeout in seconds, 0 = no timeout, default = 60; real value might
# be up to 100% longer
timeout = 30
[dns]
# This section applies only to Windows.
#
# Policy to use for DNS forwarding. Accepted values include order,
# rotate, burst.
#
# order: send one DNS request at a time in order of the name servers
# rotate: send one DNS request at a time, rotate through the DNS servers
318 www.vmware.com
ws31_manual.book Page 319 Thursday, April 11, 2002 3:25 PM
Networking
# burst: send to three servers and wait for the first one to respond
policy = order;
[netbios]
# This section applies only to Windows.
[incomingtcp]
# Use these with care - anyone can enter into your virtual machine through
# these...
# WEB (make sure that if you are using named webhosting, names point to
# your host, not to guest... And if you are forwarding port other
# than 80 make sure that your server copes with mismatched port
# number in Host: header)
# lynx http://localhost:8888
#8888 = 192.168.27.128:80
# SSH
# ssh -p 8889 root@localhost
#8889 = 192.168.27.128:22
www.vmware.com 319
ws31_manual.book Page 320 Thursday, April 11, 2002 3:25 PM
Networking
[incomingudp]
# UDP port forwarding example
#6000 = 192.168.27.128:6001
320 www.vmware.com
ws31_manual.book Page 321 Thursday, April 11, 2002 3:25 PM
10
Video and Sound
ws31_manual.book Page 322 Thursday, April 11, 2002 3:25 PM
322 www.vmware.com
ws31_manual.book Page 323 Thursday, April 11, 2002 3:25 PM
Windows Hosts
Follow the normal process for changing screen colors in your guest operating system.
In a Windows guest, the Display Properties control panel offers only settings that are
supported.
www.vmware.com 323
ws31_manual.book Page 324 Thursday, April 11, 2002 3:25 PM
Linux Hosts
A Windows guest running on a Linux host adjusts automatically to the number of
colors supported on the host computer. You do not need to take any special steps.
In a Linux or FreeBSD guest, you must change the color depth before you start the X
server.
324 www.vmware.com
ws31_manual.book Page 325 Thursday, April 11, 2002 3:25 PM
Configuration
The option Find best resolution in full screen mode is on by default. When on, this
option allows VMware Workstation to locate the best resolution for your host
operating system, thus minimizing or eliminating the black border that earlier versions
of VMware Workstation displayed when the guest operating system was in full screen
mode.
You can change the default for Find best resolution in full screen mode by going to
the Misc panel in the Configuration Editor (Settings > Configuration Editor).
Possible Issues
In a few cases, the Find best resolution … option may not give the best results.
X Server Configuration
The VidMode extension can choose only resolutions that are already configured in the
XF86Config file on your host. A sample configuration for a given color depth could
look like this:
Subsection "Display"
Depth 16
Modes "1280x1024" "1024x768" "800x600"
ViewPort 0 0
EndSubsection
In this case, VMware Workstation is able to match a virtual machine running at
1280×1024, 1024×768 or 800×600 but not at 640×480 or 1152×900. If a virtual
machine runs at a resolution that does not match a mode listed in the XFree86
configuration, then VMware Workstation chooses the closest larger mode or else
simply does not switch modes at all.
www.vmware.com 325
ws31_manual.book Page 326 Thursday, April 11, 2002 3:25 PM
It is possible to have bad modes configured in the XF86Config file on your host. If
your XFree86 configuration was automatically generated, or if you never tested all
modes with your current monitor and video card, it is possible that some enabled
modes do not work with your monitor. However, the VidMode code in VMware
Workstation has no way of knowing this and a virtual machine that tries to use a
resolution with a bad mode line can cause your display to fail to display correctly.
If this happens, immediately leave full-screen mode by pressing Ctrl-Alt, then either
disable the mode switching code in VMware Workstation or fix your XFree86
configuration and restart X. However, if the only problem is that the image is off center
or is not quite the right size on the monitor, you can usually correct it using the
controls on your monitor. Note that most modern monitors are capable of storing
separate settings for each resolution, so changing the settings for a new mode should
not impair the settings for the host resolution.
Mouse Movement
The mouse may completely fail to move while in a full-screen mode virtual machine.
In XFree86 version 3.3.3.0 the DirectMouse interface does not operate properly. The
interface works correctly in previous and subsequent releases of XFree86. XFree86
version 3.3.3.0 was not included in any mainstream Linux distributions.
If you have an X server based on XFree86 version 3.3.3.0, you cannot move the mouse
while in full-screen mode with the VidMode extension enabled. To resolve the
problem, either disable video resolution switching in VMware Workstation or update
your X server.
To disable video resolution switching in VMware Workstation, choose Settings >
Configuration Editor, and deselect Find best resolution… in the Misc panel.
326 www.vmware.com
ws31_manual.book Page 327 Thursday, April 11, 2002 3:25 PM
www.vmware.com 327
ws31_manual.book Page 328 Thursday, April 11, 2002 3:25 PM
328 www.vmware.com
ws31_manual.book Page 329 Thursday, April 11, 2002 3:25 PM
I/O address
0x220
Click OK.
www.vmware.com 329
ws31_manual.book Page 330 Thursday, April 11, 2002 3:25 PM
Click OK.
9. When prompted to restart, click Restart Now.
330 www.vmware.com
ws31_manual.book Page 331 Thursday, April 11, 2002 3:25 PM
0x220 5 1 7
www.vmware.com 331
ws31_manual.book Page 332 Thursday, April 11, 2002 3:25 PM
ws31_manual.book Page 333 Thursday, April 11, 2002 3:25 PM
11
Connecting Devices
ws31_manual.book Page 334 Thursday, April 11, 2002 3:25 PM
Connecting Devices
334 www.vmware.com
ws31_manual.book Page 335 Thursday, April 11, 2002 3:25 PM
Connecting Devices
www.vmware.com 335
ws31_manual.book Page 336 Thursday, April 11, 2002 3:25 PM
Connecting Devices
Unidirectional Ports
Unidirectional ports are supported for backward compatibility. They are used typically
to connect to printers or to send the printer output to a file. The speed is usually
adequate for printing text, but expect long delays when printing images.
On a Linux host, the path names of the host devices for unidirectional ports are
typically /dev/lp0, /dev/lp1, etc.
Bidirectional Ports
Bidirectional ports are used by a variety of devices — printers, scanners, dongles and
disk drives, for example.
Currently, VMware Workstation provides only partial emulation of PS/2 hardware.
Specifically, interrupts requested by a device connected to the physical port are not
336 www.vmware.com
ws31_manual.book Page 337 Thursday, April 11, 2002 3:25 PM
Connecting Devices
passed to the virtual machine. Also, the guest operating system cannot use DMA
(direct memory access) to move data to or from the port.
For this reason, not all devices that attach to the parallel port are guaranteed to work
correctly. Below is a partial list of devices known to work. If you try out a device that is
not on the list, please let VMware know.
Bidirectional emulation is slower than native access but faster than unidirectional
emulation, so bidirectional mode is recommended, when possible, even when the
device connected to the port is unidirectional (a printer, for example).
Default Configuration
When parallel ports are set up on a Windows host, they are bidirectional by default.
Their default base addresses are, in order, 0x3bc, 0x378 and 0x278. None of the ports
have an assigned IRQ or DMA channel. The ports are not present by default.
When parallel ports are set up on a Linux host, they are bidirectional by default on
Linux hosts with kernel 2.2 or higher. Otherwise, they are unidirectional. Their default
base addresses are in order, 0x3bc, 0x378 and 0x278. None of the ports have an
assigned IRQ or DMA channel. The ports are not present by default.
Windows Hosts
1. Open the Configuration Editor.
Settings > Configuration Editor
2. Click Add to start the New Hardware Wizard.
3. Select Parallel Port, then click Next.
4. Make the appropriate selection to use a physical parallel port or connect the
virtual parallel port to a file. If you want the parallel port output to go to a file,
enter the path and filename or browse to the location of the file.
Click Finish.
www.vmware.com 337
ws31_manual.book Page 338 Thursday, April 11, 2002 3:25 PM
Connecting Devices
Linux Hosts
1. Open the Configuration Editor.
Settings > Configuration Editor
2. Click the + sign beside Parallel Ports to expand the list of devices.
3. Select a device that is shown as Not Installed.
4. From the Type drop-down list, select Device to connect to a physical parallel
port on the host or File to send the output to a file.
5. In the Path field, enter the path to the device or file you want to use.
The path names of the host devices for bidirectional parallel ports are usually
/dev/parport0, /dev/portport16, /dev/parport32, etc. The
VMware Workstation installer creates these devices if they do not exist. They may
also be created by hand using mknod. For example, to create the second parallel
port (parport16) use this command:
mknod /dev/parport16 c 99 16
6. Click Install to install the virtual parallel port, then click OK to save the
configuration and close the Configuration Editor.
In a Windows 9x guest, when you change a port from unidirectional to bidirectional or
vice versa, you must use the Device Manager (Start > Settings > Control Panel >
System > Device Manager) to remove the device driver for that port and add a new
one. Adding a new driver is also required when a new port is added. In both cases use
the guest operating system’s Add New Hardware Wizard (Start > Settings > Control
Panel > Add New Hardware) and let Windows detect the new device. Manually
selecting the device from a list may result in an incorrect configuration.
Troubleshooting
If an error message appears at power on stating the parallel port on the host does not
have an ECR (extended control register), it is possible the hardware supports it but it
has been disabled in the BIOS. In this case, reboot your host computer, enter the BIOS
configuration editor (typically by holding down the Delete key during early execution
of the BIOS), find the parallel port field, and enable ECP mode (or other combination of
modes that include ECP). Most modern computers should support ECP mode.
338 www.vmware.com
ws31_manual.book Page 339 Thursday, April 11, 2002 3:25 PM
Connecting Devices
www.vmware.com 339
ws31_manual.book Page 340 Thursday, April 11, 2002 3:25 PM
Connecting Devices
340 www.vmware.com
ws31_manual.book Page 341 Thursday, April 11, 2002 3:25 PM
Connecting Devices
Device Permissions
Some Linux distributions by default do not grant the virtual machine access to the lp
and parport devices. In most of these cases, the owner of the device is root and
the associated group is lp. To allow the VMware user to access the device, add the
user to the associated group. To view the owner and group of the device, run this
command:
ls –la /dev/parport0
The third and fourth columns of the output show the owner and group, respectively.
To add the user to the device group, edit the /etc/group file. On the line starting
with lp, which defines the lp group, add the VMware Workstation user’s user name.
You must make this change as the root user. The following line provides an example
for a user whose user name is userj.
lp::7:daemon,lp,userj
The next time the user logs on to the host, the changes take effect.
www.vmware.com 341
ws31_manual.book Page 342 Thursday, April 11, 2002 3:25 PM
Connecting Devices
Canon Bubble Jet BJ-200e printer Windows 9x and Windows NT/2000 guests
Iomega ZIP drive Linux, Windows NT, and Windows 2000 guest only
(see Special Notes for the Iomega Zip Drive, below)
Logitech Scanman Color 2000 (parallel port hand scanner) Reported by customer.
342 www.vmware.com
ws31_manual.book Page 343 Thursday, April 11, 2002 3:25 PM
Connecting Devices
www.vmware.com 343
ws31_manual.book Page 344 Thursday, April 11, 2002 3:25 PM
Connecting Devices
Windows Host
1. Open the Configuration Editor (Settings > Configuration Editor).
2. Click Add… to start the Add Hardware Wizard.
3. Select Serial Port, then click Next.
4. Select Use Physical Serial Port, then choose the port on the host computer that
you want to use for this serial connection.
5. Click Finish, then click OK to close the Configuration Editor.
6. Power on the virtual machine.
Linux Host
1. Open the Configuration Editor (Settings > Configuration Editor).
2. Select one of the virtual serial ports (COM1 through COM4).
3. Choose a type of Device from the pull-down menu.
4. In the Path field, enter the path to the device you want to connect to the virtual
serial port, for example, /dev/ttyS0 to use the first physical serial port on the
host computer.
5. Click Install.
6. Click OK to save your configuration and close the Configuration Editor.
7. Power on the virtual machine.
344 www.vmware.com
ws31_manual.book Page 345 Thursday, April 11, 2002 3:25 PM
Connecting Devices
Windows Host
1. Open the Configuration Editor (Settings > Configuration Editor).
2. Click Add… to start the Add Hardware Wizard.
3. Select Serial Port, then click Next.
4. Select Use output file and browse to the file on the host computer that you
want to use to store the output of the virtual serial port.
5. Click Finish, then click OK to close the Configuration Editor.
6. Power on the virtual machine.
www.vmware.com 345
ws31_manual.book Page 346 Thursday, April 11, 2002 3:25 PM
Connecting Devices
Linux Host
1. Open the Configuration Editor (Settings > Configuration Editor).
2. Select one of the virtual serial ports (COM1 through COM4).
3. Choose a type of File from the pull-down menu.
4. In the Path field, enter the path to the file on the host computer that you want to
use to store the output of the virtual serial port.
5. Click Install.
6. Click OK to save your configuration and close the Configuration Editor.
7. Power on the virtual machine.
Windows Host
1. Open the Configuration Editor (Settings > Configuration Editor).
2. Click Add… to start the Add Hardware Wizard.
3. Select Serial Port, then click Next.
346 www.vmware.com
ws31_manual.book Page 347 Thursday, April 11, 2002 3:25 PM
Connecting Devices
5. Use the default pipe name, or enter another pipe name of your choice. The pipe
name must follow the form \\.\pipe\<namedpipe> — that is, it must
begin with \\.\pipe\.
6. Select This end is the server or This end is the client. In general, select This end
is the server if you plan to start this end of the connection first.
7. Select The other end is an application.
8. Click Finish, then click OK to close the Configuration Editor.
9. On your host computer, configure the application that communicates with the
virtual machine to use the same pipe name.
10. Power on the virtual machine.
Linux Host
1. Open the Configuration Editor (Settings > Configuration Editor).
2. Select one of the virtual serial ports (COM1 through COM4).
3. Choose a type of Pipe from the pull-down menu.
4. In the Path field, enter /tmp/<socket> or another Unix socket name of your
choice.
5. Select Server or Client. In general, select Server if you plan to start this end of
the connection first.
6. Click Install.
7. Click OK to save your configuration and close the Configuration Editor.
8. On your host computer, configure the application that communicates with the
virtual machine to use the same Unix socket name.
9. Power on the virtual machine.
www.vmware.com 347
ws31_manual.book Page 348 Thursday, April 11, 2002 3:25 PM
Connecting Devices
Windows Host
348 www.vmware.com
ws31_manual.book Page 349 Thursday, April 11, 2002 3:25 PM
Connecting Devices
Linux Host
www.vmware.com 349
ws31_manual.book Page 350 Thursday, April 11, 2002 3:25 PM
Connecting Devices
To restore performance for applications on the host, in the Configuration Editor, select
the virtual serial port, and check the Yield CPU on poll check box. This configuration
350 www.vmware.com
ws31_manual.book Page 351 Thursday, April 11, 2002 3:25 PM
Connecting Devices
option forces the affected virtual machine to yield processor time if the only thing it is
trying to do is poll the virtual serial port.
www.vmware.com 351
ws31_manual.book Page 352 Thursday, April 11, 2002 3:25 PM
Connecting Devices
352 www.vmware.com
ws31_manual.book Page 353 Thursday, April 11, 2002 3:25 PM
Connecting Devices
This is useful if you are running VMware Workstation on a Linux host. The debugger
virtual machine must be running Debugging Tools for Windows (WinDbg) or Kernel
Debugger (KD) in a Windows guest operating system.
To prepare the target virtual machine, follow the steps for the server virtual machine
for the appropriate host in Connecting Two Virtual Machines on page 347. Make sure
when you configure the target virtual machine’s virtual serial port that you select the
Yield CPU on poll check box, as the kernel in the target virtual machine uses the
virtual serial port in polled mode, not interrupt mode.
To prepare the debugger virtual machine, make sure you have downloaded
Debugging Tools for Windows. Then follow the steps for the client virtual machine in
Connecting Two Virtual Machines on page 347.
When you are ready to begin, complete the following steps:
1. Power on both virtual machines.
2. Check to make sure the serial port is connected in each virtual machine. On the
Devices menu, serial<n> should say \\.\pipe\<namedpipe> (Windows hosts)
or /tmp/<socket> (Linux hosts).
Note: If the serial<n> says (Not connected), then the serial port may not be
connected. Choose the virtual serial port, then Connect.
3. In the debugger virtual machine, start debugging with WinDbg or KD normally.
www.vmware.com 353
ws31_manual.book Page 354 Thursday, April 11, 2002 3:25 PM
Connecting Devices
Quick Answers
If your keyboard works correctly with a local X server, and you just want the same
behavior with a remote X server (which is also an XFree86 server running on a PC), just
add the line
xkeymap.usekeycodeMapIfXFree86 = true
to the virtual machine configuration file or to ~/.vmware/config. Make this
change on the host machine, where you run the virtual machine, not on the machine
with the remote X server.
If you are using an XFree86-based server that VMware Workstation does not recognize
as an XFree server, use this instead:
xkeymap.usekey codeMap = true
If you are using an XFree86 server running locally, and the keyboard does not work
correctly, please report the problem to the VMware technical support department.
354 www.vmware.com
ws31_manual.book Page 355 Thursday, April 11, 2002 3:25 PM
Connecting Devices
Internally, VMware Workstation uses a simplified version of the PC scan code that is a
single 9-bit numeric value, called a v-scan code. A v-scan code is written as a three-
digit hexadecimal number. The first digit is 0 or 1. For example, the left-hand Ctrl key
has a one-byte scan code (0x1d); its v-scan code is 0x01d. The right-hand Ctrl key scan
code is two bytes (0xe0, 0x1d); its v-scan code is 0x11d.
An X server uses a two-level encoding of keys. An X key code is a one-byte value. The
assignment of key codes to keys depends on the X server implementation and the
physical keyboard. As a result, an X application normally cannot use key codes directly.
Instead, the key codes are mapped into keysyms that have names like space, escape, x
and 2. The mapping can be controlled by an X application via the function
XChangeKeyboardMapping() or by the program xmodmap. To explore
keyboard mappings, you can use xev, which shows the key codes and keysyms for
keys typed into its window.
To recap, a key code corresponds roughly to a physical key, while a keysym
corresponds to the symbol on the key top. For example, with an XFree86 server
running on a PC, the Z key on the German keyboard has the same key code as the Y
key on an English keyboard. The German Z keysym, however, is the same as the
English Z keysym, and different from the English Y keysym.
For an XFree86 server on a PC, there is a one-to-one mapping from X key codes to PC
scan codes (or v-scan codes, which is what VMware Workstation really uses). VMware
Workstation takes advantage of this fact. When it is using an XFree86 server on the
local host, it uses the built-in mapping from X key codes to v-scan codes. This
mapping is keyboard independent and should be correct for most, if not all,
languages. In other cases (not an XFree86 server or not a local server), VMware
Workstation must map keysyms to v-scan codes, using a set of keyboard-specific
tables.
Key code mapping is simple, automatic and foolproof. (Keysym mapping is more
complex and described later.) However, because the program cannot tell whether a
remote server is running on a PC or on some other kind of computer, it errs on the safe
side and uses key code mapping only with local X servers. This is often too
conservative and has undesirable effects. Luckily, this and other behavior related to
key code-mapping can be controlled by using a text editor to add configuration
settings to the virtual machine’s configuration file.
• xkeymap.usekeycodeMapIfXFree86 = true
Use key code mapping if using an XFree86 server, even if it is remote.
• xkeymap.usekeycodeMap = true
Always use key code mapping regardless of server type.
www.vmware.com 355
ws31_manual.book Page 356 Thursday, April 11, 2002 3:25 PM
Connecting Devices
• xkeymap.nokeycodeMap = true
Never use key code mapping.
• xkeymap.keycode.<code> = <v-scan code>
If using key code mapping, map key code <code> to <v-scan code>. In
this example, <code> must be a decimal number and <v-scan code>
should be a C-syntax hexadecimal number (for example, 0x001).
The easiest way to find the X key code for a key is to run xev or xmodmap -pk. Most
of the v-scan codes are covered in V-Scan Code Table on page 357. The keysym
mapping tables described below are also helpful.
Use this feature to make small modifications to the mapping. For example, to swap left
control and caps lock, use the following lines:
xkeymap.key code.64 = 0x01d # X Caps_Lock -> VM left ctrl
xkeymap.key code.37 = 0x03a # X Control_L -> VM caps lock
These configuration lines can be added to the individual virtual machine
configuration, to your personal VMware Workstation configuration (~/.vmware/
config), or even to the host-wide (/etc/vmware/config) or installation-wide
(usually /usr/local/lib/vmware/config) configuration.
When key code mapping cannot be used (or is disabled), VMware Workstation maps
keysyms to v-scan codes. This is done using one of the tables in the xkeymap
directory in the VMware Workstation installation (usually /usr/local/lib/
vmware).
Which table you should use depends on the keyboard layout. The normal distribution
includes tables for PC keyboards for the United States and a number of European
countries and languages. And for most of these, there are both the 101-key (or 102-
key) and the 104-key (or 105-key) variants.
VMware Workstation automatically determines which table to use by examining the
current X keymap. However, its heuristics may sometimes fail. In addition, each
mapping is fixed and may not be completely right for any given keyboard and X key
code-to-keysym mapping. For example, a user may have swapped control and caps
lock using xmodmap. This means the keys are swapped in the virtual machine when
using a remote server (keysym mapping) but unswapped when using a local server
(key code mapping).
Therefore, keysym mapping is necessarily imperfect. To make up for this defect, most
of the behavior can be changed with configuration settings:
• xkeymap.language = <keyboard-type>
Use this if VMware Workstation has a table in xkeymap for your keyboard but
356 www.vmware.com
ws31_manual.book Page 357 Thursday, April 11, 2002 3:25 PM
Connecting Devices
can’t detect it. <keyboard-type> must be one of the tables in the xkeymap
directory. (See above for location.) However, the failure to detect the keyboard
probably means the table isn’t completely correct for you.
• xkeymap.keysym.<sym> = <v-scan code>
If you use keysym mapping, map keysym <sym> to <v-scan code>. When
you do, <sym> must be an X keysym name and <v-scan code> should be a
C-syntax hexadecimal number (for example, 0x001).
The easiest way to find the keysym name for a key is to run xev or
xmodmap -pk.
The X header file /usr/X11R6/include/X11/keysymdef.h has a
complete list of keysyms. (The name of a keysym is the same as its C constant
without the XK_ prefix.) Most v-scan codes are in V-Scan Code Table on
page 357.
The xkeymap tables themselves are also helpful. Use them to fix small errors in
an existing mapping.
• xkeymap.fileName = <file-path>
Use the keysym mapping table in <file-path>. A table is a sequence of
configuration lines of the form
<sym> = <v-scan code>
where <sym> is an X keysym name, and <v-scan code> is a C-syntax
hexadecimal number (for example, 0x001). (See the explanation of
xkeymap.keysym above for tips on finding the keysyms and v-scan codes for
your keyboard.)
Compiling a complete keysym mapping is hard. It is best to start with an existing
table and make small changes.
Esc 0x001
1 ! 0x002
2 @ 0x003
3 # 0x004
www.vmware.com 357
ws31_manual.book Page 358 Thursday, April 11, 2002 3:25 PM
Connecting Devices
4 $ 0x005
5 % 0x006
6 ^ 0x007
7 & 0x008
8 * 0x009
9 ) 0x00a
0 ( 0x00b
- _ 0x00c
= + 0x00d
Backspace 0x00e
Tab 0x00f
Q 0x010
W 0x011
E 0x012
R 0x013
T 0x014
Y 0x015
U 0x016
I 0x017
O 0x018
P 0x019
[ { 0x01a
] } 0x01b
358 www.vmware.com
ws31_manual.book Page 359 Thursday, April 11, 2002 3:25 PM
Connecting Devices
Enter 0x01c
A 0x01e
S 0x01f
D 0x020
F 0x021
G 0x022
H 0x023
J 0x024
K 0x025
L 0x026
; 0x027
' 0x028
` 0x029
\ | 0x02b
Z 0x02c
X 0x02d
C 0x02e
V 0x02f
B 0x030
N 0x031
M 0x032
www.vmware.com 359
ws31_manual.book Page 360 Thursday, April 11, 2002 3:25 PM
Connecting Devices
, < 0x033
. > 0x034
/ ? 0x035
F1 0x03b
F2 0x03c
F3 0x03d
F4 0x03e
F5 0x03f
F6 0x040
F7 0x041
F8 0x042
F9 0x043
F10 0x044
360 www.vmware.com
ws31_manual.book Page 361 Thursday, April 11, 2002 3:25 PM
Connecting Devices
F11 0x057
F12 0x058
www.vmware.com 361
ws31_manual.book Page 362 Thursday, April 11, 2002 3:25 PM
Connecting Devices
Menu 0x15d
Keyboards outside the U.S. usually have an extra key (often < > or < > | ) next to the
left shift key:
362 www.vmware.com
ws31_manual.book Page 363 Thursday, April 11, 2002 3:25 PM
Connecting Devices
www.vmware.com 363
ws31_manual.book Page 364 Thursday, April 11, 2002 3:25 PM
Connecting Devices
364 www.vmware.com
ws31_manual.book Page 365 Thursday, April 11, 2002 3:25 PM
Connecting Devices
computer before the guest can synchronize with it. If this occurs, let the guest finish
installing the PDA driver, dismiss any connection error warnings, then try
synchronizing the PDA again. The second attempt should succeed.
www.vmware.com 365
ws31_manual.book Page 366 Thursday, April 11, 2002 3:25 PM
Connecting Devices
To disconnect the device from the host, you must unload the device driver. You can
unload the driver manually as root (su) using the rmmod command. Or, if the driver
was automatically loaded by hotplug, you can disable it in the hotplug
configuration files in the /etc/hotplug directory. See your Linux distribution’s
documentation for details on editing these configuration files.
A related issue sometimes affects devices that rely on automatic connection (as PDAs
often do).
If you have successfully used autoconnection to connect the device to your virtual
machine, then experience problems with the connection to the device, take the
following steps:
1. Disconnect and reconnect the device. You can either unplug it physically, then
plug it back in or use the Devices menu to disconnect it and reconnect it.
2. If you see a dialog box warning that the device is in use, disable it in the
hotplug configuration files in the /etc/hotplug directory.
366 www.vmware.com
ws31_manual.book Page 367 Thursday, April 11, 2002 3:25 PM
Connecting Devices
Device Support
In theory, generic SCSI is completely device independent, but VMware has discovered
it is sensitive to the guest operating system, device class and specific SCSI hardware.
We encourage you to try any SCSI hardware you want to use and report problems to
VMware technical support.
Note: If you are using generic SCSI devices in a Windows 95, Windows 98 or
Windows Me guest operating system and are experiencing problems with the
devices, download the latest Mylex® (BusLogic) BT-958 compatible host bus adapter
www.vmware.com 367
ws31_manual.book Page 368 Thursday, April 11, 2002 3:25 PM
Connecting Devices
from www.mylex.com. This driver overrides what Windows chooses as the best driver,
but it corrects known problems.
368 www.vmware.com
ws31_manual.book Page 369 Thursday, April 11, 2002 3:25 PM
Connecting Devices
2. Open the virtual machine in which you want to use the generic SCSI device.
Make sure the virtual machine is powered off.
3. From the VMware Workstation window, choose Settings > Configuration Editor.
The Configuration Editor opens.
4. Click Add to start the Add Hardware Wizard. Click Next.
5. Select the name of the physical device you want to use.
Then select the virtual device node where you want this device to appear in the
virtual machine.
The check box at the top of the wizard screen allows you to specify whether the
device should be connected each time the virtual machine is powered on.
6. Click Finish to install the new device.
To remove this device, launch the Configuration Editor, select the generic SCSI device,
then click Remove.
Requirements
Generic SCSI requires version 2.1.36 of the SCSI Generic (sg.o) driver, which comes
with kernel 2.2.14 and higher.
www.vmware.com 369
ws31_manual.book Page 370 Thursday, April 11, 2002 3:25 PM
Connecting Devices
ensures that multiple programs are not using the same /dev/sg entry at the same
time but cannot always ensure that multiple programs are not using the /dev/sg
and the traditional /dev entry at the same time. It is important that you do not
attempt to use the same device in both host and guest. This can cause unexpected
behavior and may cause loss or corruption of data.
Device Support
In theory, generic SCSI is completely device independent, but VMware has discovered
it is sensitive to the guest operating system, device class and specific SCSI hardware.
We encourage you to try any SCSI hardware you want to use and report problems to
VMware technical support.
Note: If you are using generic SCSI devices in a Windows 95, Windows 98 or
Windows Me guest operating system and are experiencing problems with the
devices, download the latest Mylex (BusLogic) BT-958 compatible host bus adapter
from www.mylex.com. This driver overrides what Windows chooses as the best driver,
but it corrects known problems. To use SCSI devices in a Windows XP or Windows
.NET Server virtual machine, you need a special SCSI driver available from the
download section of the VMware Web site at www.vmware.com/download.
370 www.vmware.com
ws31_manual.book Page 371 Thursday, April 11, 2002 3:25 PM
Connecting Devices
www.vmware.com 371
ws31_manual.book Page 372 Thursday, April 11, 2002 3:25 PM
ws31_manual.book Page 373 Thursday, April 11, 2002 3:25 PM
12
Performance Tuning
ws31_manual.book Page 374 Thursday, April 11, 2002 3:25 PM
Performance Tuning
374 www.vmware.com
ws31_manual.book Page 375 Thursday, April 11, 2002 3:25 PM
Performance Tuning
Memory Settings
Make sure to choose a reasonable amount of memory for your virtual machine. Many
modern operating systems are increasingly hungry for memory, so assigning a
healthy amount is a good thing.
The same holds true of the host operating system, especially a Windows host.
The New Virtual Machine Wizard (on Windows hosts) or Configuration Wizard (on
Linux hosts) automatically selects a reasonable starting point for the virtual machine’s
memory, but you may be able to improve performance by adjusting the settings in
the Configuration Editor (Settings > Configuration Editor > Memory).
If you plan to run one virtual machine at a time most of the time, a good starting point
is to give the virtual machine half the memory available on the host.
www.vmware.com 375
ws31_manual.book Page 376 Thursday, April 11, 2002 3:25 PM
Performance Tuning
Adjusting the reserved memory settings may also help. On a Windows host, go to
Settings > Preferences… > Memory. On a Linux host, go to Settings > Reserved
Memory….
For additional information, see Memory Usage Notes on page 381.
Debugging Mode
VMware Workstation can run in two modes — normal mode and a mode that
provides extra debugging information. The debugging mode is slower than normal
mode.
For normal use, check to be sure you aren't running in debugging mode. On a
Windows host, go to Settings > Configuration Editor > Options. In the Debug
Options section, be sure there is no check in the Debug Monitor check box. On a
Linux host, go to Settings > Configuration Editor > Misc. Make sure the logging level
is set to Normal.
376 www.vmware.com
ws31_manual.book Page 377 Thursday, April 11, 2002 3:25 PM
Performance Tuning
clear the Connect at Power On check box (on a Windows host) or Start
Connected check box (on a Linux host).
When you want to use a CD-ROM in the virtual machine, go to the Devices
menu and connect the CD-ROM drive.
Disk Options
The various disk options (SCSI versus IDE) and types (virtual or raw) affect performance
in a number of ways.
Inside a virtual machine, SCSI disks and IDE disks that use direct memory access (DMA)
have approximately the same performance. However, IDE disks can be very slow in a
guest operating system that either cannot use or is not set to use DMA.
The easiest way to configure a Linux guest to use DMA for IDE drive access is to install
VMware Tools (Settings > VMware Tools Install…). Among other things, the
installation process automatically sets IDE virtual drives to use DMA.
In Windows 2000, DMA access is enabled by default. In other Windows guest
operating systems, the method for changing the setting varies with the operating
system. See the following technical notes for details.
• Disk Performance in Windows NT Guests on Multiprocessor Hosts on page 259
• Windows 95 and Windows 98 Guest Operating System Performance Tips on
page 385
Virtual disks in nonpersistent and undoable mode often have very good performance
for random or nonsequential access. But they can potentially become fragmented to
a level that cannot be fixed with defragmentation tools inside the guest. This can slow
performance.
When run in persistent mode, raw disks (and plain disks, which may have been
created under VMware Workstation 2.0) both use flat files that mimic the sequential
and random access performance of the underlying disk. When you are using
undoable mode and have made changes since powering on the virtual machine, any
access to those changed files performs at a level similar to the performance of a
virtual disk. Once you commit the changes, performance is again similar to that of the
underlying disk.
Overall, if you are using raw (or plain) disks in persistent mode, you see somewhat
better performance than that provided by other disk types and modes.
In exchange, because you are using persistent mode, you sacrifice the ability to undo
the writing of any information to the disk. And because you are not using virtual disks,
www.vmware.com 377
ws31_manual.book Page 378 Thursday, April 11, 2002 3:25 PM
Performance Tuning
you cannot take advantage of the fact that virtual disks initially have a small footprint
in the host file system and grow only as needed as you fill the virtual disk.
Process Scheduling
Note: The information in this hint was created to address scheduling problems with
Windows NT. The issues are likely to be different in Windows 2000, Windows XP and
Windows .NET Server; however, we do not currently have corresponding information
for Windows 2000, Windows XP or Windows .NET Server hosts.
The process scheduler on Windows NT does not necessarily schedule processes in a
way that allows you to get the best performance from your particular combination of
virtual machines and applications running on the host. VMware Workstation on a
Windows host provides configuration options that let you adjust scheduling priorities
to meet your needs.
These configuration options are available from the Settings > Local Priority and
Settings > Global Priority menu options. These menu items allow you to specify
either high or normal priority when the mouse and keyboard are grabbed by the
virtual machine and either normal or low priority when they are not grabbed.
Global Priority is taken as the default across all virtual machines. Local Priority
overrides the global settings for just the specific virtual machine where you make the
changes.
Pay particular attention to the grabbed: HIGH – ungrabbed: NORMAL and grabbed:
NORMAL – ungrabbed: LOW settings.
The grabbed: HIGH – ungrabbed: NORMAL setting is useful if you have many
background processes or applications and you do not care if they run with fairly low
relative priority while VMware Workstation is in the foreground. In return, you get a
very noticeable performance boost using a VMware Workstation virtual machine
378 www.vmware.com
ws31_manual.book Page 379 Thursday, April 11, 2002 3:25 PM
Performance Tuning
while another virtual machine is running or while some other processor-intensive task
(a compile, for example) is running in the background.
The reverse is true of the grabbed: NORMAL – ungrabbed: LOW setting. If your host
machine feels too sluggish when a virtual machine is running in the background, you
can direct the virtual machine to drop its priority when it does not have control of the
mouse and keyboard. As with the high setting, this is a heavy-handed change of
priority, so the virtual machine and any background applications run much more
slowly.
System Timer
Certain guests (Windows 98, for example) expect a very high interrupt rate from their
system timers. VMware Workstation on a Linux host uses /dev/rtc, the real-time
clock device, to try to keep up. However, continually servicing /dev/rtc and using
it to maintain a high interrupt rate increases the load on the host, even when the
virtual machine does not appear to be busy.
To try running without /dev/rtc, disconnect it using the Devices menu. This may
not make a critical difference in performance, but it can help reduce the load on the
host.
www.vmware.com 379
ws31_manual.book Page 380 Thursday, April 11, 2002 3:25 PM
Performance Tuning
380 www.vmware.com
ws31_manual.book Page 381 Thursday, April 11, 2002 3:25 PM
Performance Tuning
Some memory must be kept available on the host to ensure the host is able to
operate properly while virtual machines are running. The amount of memory reserved
for the host depends on the host and the size of the host’s memory.
Reserved Memory
The second configuration parameter that users can set is the amount of memory that
VMware Workstation is allowed to reserve for all running virtual machines. This
parameter can be set in Settings > Preferences… > Memory (on Windows hosts) or
Settings > Reserved Memory… (on Linux hosts).
This setting specifies a maximum amount that VMware Workstation is allowed to
reserve. But this memory is not allocated in advance. Even if multiple virtual machines
are running at the same time, however, VMware Workstation may be using only a
fraction of the reserved memory. Any unused reserved memory is available to be used
by other applications. If all the reserved memory is in use by one or more virtual
machines, the host operating system cannot use this memory itself or allow other
applications to use it.
The memory used by VMware Workstation includes the memory made available to
the guest operating systems plus a small amount of overhead memory associated
with running a virtual machine.
The amount of memory actually used for a particular virtual machine varies
dynamically as a virtual machine runs. If multiple virtual machines run simultaneously,
they work together to manage the reserved memory.
The recommended amount of memory to reserve for all running virtual machines is
calculated on the basis of the host computer’s physical memory and is displayed in
the reserved memory settings control — Settings > Preferences… > Memory (on
Windows hosts) or Settings > Reserved Memory… (on Linux hosts). If you determine
you want VMware Workstation to reserve more or less physical memory, you can use
this control to change the amount.
Reserving too much physical memory can cause the host to thrash, or even hang, if
other applications are run on the host. Reserving too little physical memory can cause
virtual machines to perform very poorly and also limit the number of virtual machines
that can be run.
www.vmware.com 381
ws31_manual.book Page 382 Thursday, April 11, 2002 3:25 PM
Performance Tuning
virtual machine and there is not enough reserved memory available, it fails to power
on.
You can change the memory check so it only displays a warning message, rather than
preventing the virtual machine from powering on. To do so, go to Settings >
Preferences… > Memory (on Windows hosts) or Settings > Reserved Memory…
(on Linux hosts) and clear the Enable Memory Limits check box.
The total amount of memory used by all virtual machines running on a single host
may not exceed 1GB.
Workarounds
If you are using a 1GB kernel with CONFIG_BIGMEM enabled and have 960MB to
1983MB of memory, VMware Workstation does not run. To work around this issue, you
can either:
• Recompile the kernel as a 2GB kernel by enabling the CONFIG_2GB option. This
allows for 100 percent use of physical memory.
382 www.vmware.com
ws31_manual.book Page 383 Thursday, April 11, 2002 3:25 PM
Performance Tuning
www.vmware.com 383
ws31_manual.book Page 384 Thursday, April 11, 2002 3:25 PM
Performance Tuning
VMware Tools
Make certain VMware Tools is installed. VMware Tools provides an optimized SVGA
driver and sets up the VMware Tools service to run automatically when the system
starts. Among other things, the VMware Tools service allows you to synchronize the
virtual machine’s clock with the host computer’s clock, which can improve
performance for some functions. You can install VMware Tools by choosing Settings >
VMware Tools Install….
384 www.vmware.com
ws31_manual.book Page 385 Thursday, April 11, 2002 3:25 PM
Performance Tuning
4. Under Settings, check the box labeled DMA and accept any warning Windows
displays.
5. Restart Windows for the new settings to take effect.
Visual Effects
Windows 98 has a number of visual effects, designed to be attractive, that place
unnecessary demands on the graphics emulation in VMware Workstation. Some users
have seen performance improvements when they turn off these special effects.
To modify these settings, right-click on the desktop of your virtual machine, then
select Properties from the pop-up menu. Click the Effects tab and uncheck the
Animate windows, menus, and lists check box.
Also, if you have Show window contents while dragging checked, try unchecking
that check box.
www.vmware.com 385
ws31_manual.book Page 386 Thursday, April 11, 2002 3:25 PM
Performance Tuning
VMware Tools
Make certain VMware Tools is installed. VMware Tools provides an optimized SVGA
driver and sets up the VMware Tools service to run automatically when the system
starts. Among other things, the VMware Tools service allows you to synchronize the
virtual machine’s clock with the host computer’s clock, which can improve
performance for some functions. You can install VMware Tools by choosing Settings >
VMware Tools Install….
Visual Effects
The fade effects that Windows 2000, Windows XP and Windows .NET Server use when
displaying menus can be somewhat slow and make the virtual machine seem less
responsive.
To disable them, right-click the guest operating system desktop, then choose
Properties > Appearance > Effects (on Windows XP or Windows .NET Server) or
Properties > Effects (on Windows 2000) and uncheck Use transition effects for
menus and tool tips.
386 www.vmware.com
ws31_manual.book Page 387 Thursday, April 11, 2002 3:25 PM
Performance Tuning
www.vmware.com 387
ws31_manual.book Page 388 Thursday, April 11, 2002 3:25 PM
Performance Tuning
VMware Tools
Make certain VMware Tools is installed. VMware Tools provides an optimized SVGA
driver and sets up the VMware Tools service to run automatically when the system
starts. Among other things, the VMware Tools service allows you to synchronize the
virtual machine’s clock with the host computer’s clock, which can improve
performance for some functions. You can install VMware Tools by choosing Settings >
VMware Tools Install….
388 www.vmware.com
ws31_manual.book Page 389 Thursday, April 11, 2002 3:25 PM
13
Special-Purpose Configuration Options
ws31_manual.book Page 390 Thursday, April 11, 2002 3:25 PM
390 www.vmware.com
ws31_manual.book Page 391 Thursday, April 11, 2002 3:25 PM
2. Set file permissions on the configuration file so normal users of the system have
only read access to the file.
3. For the convenience of users, create a shortcut to the configuration file on the
desktop and give it an appropriate name.
www.vmware.com 391
ws31_manual.book Page 392 Thursday, April 11, 2002 3:25 PM
4. For the convenience of users, create a shortcut to the configuration file on the
desktop and give it an appropriate name.
The user runs this virtual machine by double-clicking the shortcut to the
configuration file. The virtual machine resumes to its previously set repeatable resume
point, with the user interface restricted — with no toolbar and no access to the Power
menu or the Configuration Editor.
When the user is finished working with this virtual machine, he or she can click the X
button in the upper right corner of the Workstation window to close it. The virtual
machine powers off, and the next time it is resumed, it returns to the repeatable
resume point.
To remove the restriction on the interface, complete the following steps.
1. Power off the virtual machine to suspend it.
2. Open the configuration file (.vmx) file and do one of the following:
• Set gui.restricted = “false”.
• Remove or comment out the gui.restricted = “true” line.
Save the changes to the configuration file and close it.
3. Resume the virtual machine by double-clicking the shortcut. The virtual
machine resumes from its repeatable resume point, and the interface is not
restricted.
4. If you want to disable repeatable resume, with the virtual machine running,
open the Configuration Editor, click the Options tab, clear the Enable
repeatable resume check box, then power off the virtual machine.
392 www.vmware.com
ws31_manual.book Page 393 Thursday, April 11, 2002 3:25 PM
14
Glossary
ws31_manual.book Page 394 Thursday, April 11, 2002 3:25 PM
Glossary
Glossary
Bridged networking — A type of network connection between a virtual machine
and the rest of the world. Under bridged networking, a virtual machine appears as an
additional computer on the same physical Ethernet network as the host.
See also Host-only networking.
Configuration — See Virtual machine configuration file.
Configuration Editor — A point-and-click editor used to view and modify the
configuration of a virtual machine. It may be launched from the Settings menu.
See also Configuration Wizard, New Virtual Machine Wizard.
Configuration Wizard — On Linux hosts, a point-and-click interface for
convenient, easy creation of a virtual machine configuration. You can launch it from
the dialog box that appears when you start VMware Workstation without specifying a
configuration file. You can also launch it from the File menu. It prompts you for
information, suggesting default values in most cases. It creates files that define the
virtual machine, including a virtual machine configuration file and (optionally) a virtual
disk or raw disk file.
See also Configuration Editor, New Virtual Machine Wizard.
Custom networking — Any type of network connection between virtual machines
and the host that does not use the default bridged, host-only or network address
translation (NAT) networking configurations. For instance, different virtual machines
can be connected to the host by separate networks or connected to each other and
not to the host. Any network topology is possible.
Disk mode — A property of a disk used in a virtual machine that defines its external
behavior but is completely invisible to the guest operating system. There are three
modes: persistent (changes to the disk are always preserved when the virtual machine
is powered off), undoable (changes are preserved at the user’s discretion) and
nonpersistent (changes are never preserved). Disk modes may be changed from the
Configuration Editor. For a detailed explanation of disk modes refer to Disk Modes:
Persistent, Undoable and Nonpersistent on page 206.
Existing partition — A partition on a physical disk in the host machine.
See also Raw disk.
Guest operating system — An operating system that runs inside a virtual
machine.
See also Host operating system.
394 www.vmware.com
ws31_manual.book Page 395 Thursday, April 11, 2002 3:25 PM
Glossary
www.vmware.com 395
ws31_manual.book Page 396 Thursday, April 11, 2002 3:25 PM
Glossary
to use a raw disk, VMware Workstation directly accesses the local disk or partition as a
raw device (not as a file on a file system). It is possible to boot a previously installed
operating system on an existing partition within a virtual machine environment. The
only limitation is that the existing partition must reside on a local IDE or SCSI drive.
See also Safe raw disk file, Virtual disk.
Resume — Return a virtual machine to operation from its suspended state. When
you resume a suspended virtual machine, all applications are in the same state they
were when the virtual machine was suspended.
See also Suspend.
Safe raw disk file — A file containing access privilege information that controls a
virtual machine’s read/write access to partitions on a raw disk. Proper use of this file
prevents dual-boot users from accidentally trying to run the host operating system
again as a guest or from another guest operating system for which the virtual
machine was not configured. Safe raw disk files can also prevent accidental writes to
raw disk partitions from badly behaved operating systems or applications. Safe raw
disk files can be created by the Configuration Wizard, the New Virtual Machine Wizard
or the Configuration Editor.
Suspend — Save the current state of a running virtual machine. To return a
suspended virtual machine to operation, use the resume feature.
See also Resume.
Undoable mode — All writes to a disk in undoable mode issued by software
running inside a virtual machine appear to be written to the disk but are in fact stored
in a temporary file (.REDO file) on the host file system while the virtual machine is
running. When the virtual machine is powered off, the user is given three choices: (1)
permanently apply all changes to the disk; (2) discard the changes, thus restoring the
disk to its previous state; or (3) keep the changes, so that further changes made the
next time the virtual machine runs can be added to the log.
Virtual disk — A virtual disk is a set of files, usually on the host file system, that
appears as a physical disk drive to a guest operating system. These files can be on the
host machine or on a remote file system. When you configure a virtual machine with a
virtual disk, you can install a new operating system into the disk file without the need
to repartition a physical disk or reboot the host.
See also Raw disk.
Virtual machine — A virtualized x86 PC environment in which a guest operating
system and associated application software can run. Multiple virtual machines can
operate on the same host machine concurrently.
396 www.vmware.com
ws31_manual.book Page 397 Thursday, April 11, 2002 3:25 PM
Glossary
www.vmware.com 397
ws31_manual.book Page 398 Thursday, April 11, 2002 3:25 PM
ws31_manual.book Page 399 Thursday, April 11, 2002 3:25 PM
Index
File extensions Configuration Editor 102, 206 renaming virtual disks 31,
.cfg 65 restricting access 390 212
.dsk 57, 65, 212 Configuration Wizard 67, 204 See also Virtual disk
.raw 57, 65 Copy 97 undoable 207
.REDO 57, 65 Core files 24 virtual 204
.std 31, 58, 66, 212 Corel Linux OS disks
.vmdk 31, 45, 50, 57, 65, 66, 119, installing guest operating defragmenting 212–213
122, 212 system 159 shrinking 96, 212–213
.vmss 31, 58, 66, 212 CPU idle program 153 DMA
.vmx 57 Ctrl-Alt 113 and disk performance 259,
A Cut 97 384
Access D DNS 312
to raw disks 228, 230, 233, defragmenting disks 212–213 Docking station 297
247, 253, 255 Devices DOS
ACPI 240 adding, configuring and installing guest operating
Autofit 111 removing 109 system 153
Automatic bridging 275 connecting and disconnect- DOSIDLE.EXE 153
B ing 110 Drives
Boot manager 228, 247 disconnecting from USB available in virtual machine
Boot sequence controller 366 17
in VMware BIOS 230, 234 provided in virtual machine dskrename.exe 212
boot.ini 239, 242 17 Dual-boot 225, 228
configuring on ACPI com- USB 363 and SCSI disks 248
puter 243 DHCP 268, 269, 281, 288, 312 Dynamic disk 247
Bridge 264 configuring on a Linux host Dynamic domain name service
Bridge mapping 277 282 289
Bridged networking 266 configuring on a Windows E
configuring options 275 host 282 EMM386.EXE 152
when creating a virtual DHCP server 265 F
machine 75 dhcpd 288 FAT 247
BSD Dial-up connection 286 FAT file system 228
installing guest operating Direct memory access Firewall 316
system 184 See DMA Floppy
supported guest operating Discard 207 drives in virtual machine 17
systems 20, 131 Disk image file 17, 224
C space required on host com- FreeBSD
Caldera OpenLinux puter 14 installing guest operating
installing guest operating Disk files 209 system 184
system 155, 157 Disk modes 102 sample configuration file 186
CD-ROM image file 17 nonpersistent 102, 105, 208 supported guest operating
Color persistent 102, 207 systems 20, 131
screen colors in a virtual undoable 102, 235 VMware Tools for 85
machine 323 Disks FTP 312
COM5, COM6 devices in guest adding virtual disks 214 Full screen mode 96
147, 151 file locations 209 switching between virtual
Command line 116 plain 206 machines 96
Commit 207 raw 205
www.vmware.com 399
ws31_manual.book Page 400 Thursday, April 11, 2002 3:25 PM
400 www.vmware.com
ws31_manual.book Page 401 Thursday, April 11, 2002 3:25 PM
www.vmware.com 401
ws31_manual.book Page 402 Thursday, April 11, 2002 3:25 PM
402 www.vmware.com
ws31_manual.book Page 403 Thursday, April 11, 2002 3:25 PM
www.vmware.com 403
ws31_manual.book Page 404 Thursday, April 11, 2002 3:25 PM