VMware Workstation - 4.5 Instruction Manual

User’s Manual
VMware, Inc.
3145 Porter Drive Palo Alto, CA 94304 www.vmware.com
Please note that you can always find the most up-to-date technical docu­mentation on our Web site at http://www.vmware.com/support/.
The VMware Web site also provides the latest product updates.
Copyright © 1998-2004 VMware, Inc. All rights reserved. Protected by one or more of U.S. Patent Nos. 6,397,242, 6,496,847, 6,704,92 5 and 6,711,672; patents pending. VMware is a registered trademark and the VMware boxes logo, GSX Server, ESX Server, Virtual SMP and VMotion are trademarks of VMware, Inc. Microsoft, Windows, and Windows NT are registered trademarks o f Microsoft Corporation. Linux is a registered trademark of Linus Torvalds. All other marks and names mentioned herein may be trademarks of their respective companies. Revision: 20041221 Version: 4.5.2 Item: WS-ENG-Q204-018
Table of Contents
Introduction and System Requirements __________________________ 11
Powerful Virtual Machine Software for the Technical Professional _______ 12
What’s New in Version 4 _________________________________________ 14
New in Version 4.5.2 __________________________________________ 14 New in Version 4.5 ___________________________________________ 14
New in Version 4.0 ___________________________________________ 15 Host System Requirements _______________________________________ 18 Virtual Machine Specifications_____________________________________ 21 Supported Guest Operating Systems _______________________________ 24 Technical Support Resources______________________________________ 26
Documentation on the Web____________________________________ 26
VMware Knowledge Base ______________________________________ 26
VMware User Community______________________________________ 26
Reporting Problems __________________________________________ 26
Installing VMware Workstation __________________________________ 29
Selecting Your Host System_______________________________________ 30
Upgrading from Previous Versions _______________________________ 30 Installing VMware Workstation 4 on a Windows Host ___________________ 31
Installing the VMware Workstation Software _______________________ 31
Installing VMware Workstation Silently____________________________ 35
Uninstalling VMware Workstation 4 on a Windows Host ______________ 37 Installing VMware Workstation 4 on a Linux Host ______________________ 38
Before Installing on a Linux Host_________________________________ 38
Installing the VMware Workstation Software _______________________ 39
Configuring Your Web Browser__________________________________ 41
Uninstalling VMware Workstation 4 on a Linux Host _________________ 41
Upgrading VMware Workstation ________________________________ 43
Preparing for the Upgrade________________________________________ 44
Before You Install VMware Workstation 4 __________________________ 44
When You Remove Version 2 or 3 and Install Version 4 _______________ 45 Upgrading on a Windows Host ____________________________________ 47
Upgrading from an Earlier Release of Version 4 _____________________ 47
Upgrading from Version 2 or 3 to Version 4 ________________________ 47
3
Upgrading on a Linux Host _______________________________________ 50 Using Virtual Machines Created with Version 3 under Version 4 ___________ 51
Create Everything New from the Start ____________________________ 51 Use an Existing Configuration File and Virtual Disk___________________ 51 Use an Existing Virtual Machine and Upgrade the Virtual Hardware______ 52 Upgrading Virtual Hardware in the Guest Operating System ___________ 53 Upgrading the Virtual Hardware in an Existing Virtual Machine _________ 61
Using Virtual Machines Created with Version 2 under Version 4 ___________ 62
Upgrading Virtual Hardware in the Guest Operating System ___________ 62
Creating a New Virtual Machine _________________________________ 67
Setting Up a New Virtual Machine__________________________________ 69
What’s in a Virtual Machine? ____________________________________ 69
Simple Steps to a New Virtual Machine ___________________________ 70 Installing a Guest Operating System and VMware Tools _________________ 80 Installing Windows XP as a Guest Operating System____________________ 81 Installing VMware Tools__________________________________________ 83
VMware Tools for Windows Guests _______________________________ 83
VMware Tools for Linux Guests __________________________________ 87
VMware Tools for FreeBSD Guests________________________________ 89
Installing VMware Tools in a NetWare Virtual Machine ________________ 91 VMware Tools Configuration Options _______________________________ 92
Using the System Console to Configure VMware Tools in a NetWare Guest
Operating System____________________________________________ 94
Running VMware Workstation __________________________________ 97
Overview of the VMware Workstation Window________________________ 99 Starting a Virtual Machine _______________________________________ 105
Starting a Virtual Machine on a Windows Host_____________________ 105
Starting a Virtual Machine on a Linux Host ________________________ 106 Checking the Status of VMware Tools ______________________________ 108 Controlling the Display _________________________________________ 109
Using Full Screen Mode ______________________________________ 109
Using Quick Switch Mode_____________________________________ 109
Taking Advantage of Multiple Monitors __________________________ 110
Fitting the VMware Workstation Window to the Virtual Machine _______ 110
Fitting a Windows Guest Operating System’s Display to the VMware
Workstation Window ________________________________________ 111
Simplifying the Screen Display _________________________________ 111
4
www.vmware.com
Installing New Software ________________________________________ 113 Cutting, Copying and Pasting Text_________________________________ 114 Using Shared Folders___________________________________________ 115 Using Drag and Drop___________________________________________ 118 Suspending and Resuming Virtual Machines ________________________ 119 Taking and Reverting to a Snapshot _______________________________ 120 Shutting Down a Virtual Machine _________________________________ 121 Removing a Virtual Machine _____________________________________ 122 Using Devices in a Virtual Machine ________________________________ 123
Adding, Configuring and Removing Devices in a Virtual Machine ______ 123
Connecting and Disconnecting Removable Devices ________________ 123 Creating a Screen Shot of a Virtual Machine _________________________ 125 Checking for Product Updates____________________________________ 126 Setting Preferences for VMware Workstation_________________________ 127 Command Reference___________________________________________ 131
Startup Options on a Linux Host________________________________ 131
Startup Options on a Windows Host ____________________________ 131
Keyboard Shortcuts _________________________________________ 132
Moving and Sharing Virtual Machines ___________________________ 135
Moving a VMware Workstation 4 Virtual Machine _____________________ 137
Virtual Machines Use Relative Paths _____________________________ 137
Preparing Your Virtual Machine for the Move ______________________ 137
Moving a Virtual Machine to a New Host Machine__________________ 138 Moving a VMware Workstation 3.1 or 3.2 Virtual Machine_______________ 139
Virtual Machines May Have Relative or Absolute Paths_______________ 139
Preparing Your Virtual Machine for the Move ______________________ 139
Moving a Virtual Machine to a New Host Machine__________________ 140 Moving an Older Virtual Machine _________________________________ 142
Preparing Your Virtual Machine for the Move ______________________ 142
Preparing the New Host Machine_______________________________ 143
Considerations for Moving Disks in Undoable Mode ________________ 144 Sharing Virtual Machines with Other Users __________________________ 146
Using Disks _________________________________________________ 147
Configuring Hard Disk Storage in a Virtual Machine ___________________ 149
Disk Types: Virtual and Physical_________________________________ 149
File Locations ______________________________________________ 151
5
Updating Filenames for Virtual Disks Created with Earlier VMware Products __ 153 Defragmenting and Shrinking Virtual Disks _______________________ 154
Adding Drives to a Virtual Machine ________________________________ 156
Adding Virtual Disks to a Virtual Machine _________________________ 156 Adding Raw Disks to a Virtual Machine___________________________ 157 Adding DVD or CD Drives to a Virtual Machine ____________________ 161 Adding Floppy Drives to a Virtual Machine________________________ 162 Connecting a CD-ROM or Floppy Drive to an Image File _____________ 163
Using VMware Virtual Disk Manager _______________________________ 165
Running the VMware Virtual Disk Manager Utility __________________ 166 Shrinking Virtual Disks with VMware Virtual Disk Manager____________ 168 Examples Using the VMware Virtual Disk Manager__________________ 169
Configuring a Dual-Boot Computer for Use with a Virtual Machine _______ 172
Configuring Dual- or Multiple-Boot Systems to Run with VMware Workstation________________________________________________ 174 Setting Up Hardware Profiles in Virtual Machines___________________ 180 Running a Windows 2000, Windows XP or Windows Server 2003 Virtual Machine from an Existing Multiple-Boot Installation ________________ 183 Setting Up the SVGA Video Driver for a Windows 95 Guest Operating System Booted from a Raw Disk ________________________________ 184 Setting Up the SVGA Video Driver for Use with a Windows 98 Guest Operating System Booted from a Raw Disk _______________________ 185 Do Not Use Windows 2000, Windows XP and Windows Server 2003 Dynamic Disks as Raw Disks ___________________________________ 187 Configuring Dual- or Multiple-Boot SCSI Systems to Run with VMware Workstation on a Linux Host___________________________________ 187
Installing an Operating System onto a Raw Partition from a Virtual Machine 193
Configuring a Windows Host __________________________________ 193 Configuring a Linux Host _____________________________________ 196
Disk Performance in Windows NT Guests on Multiprocessor Hosts _______ 198
Improving Performance ______________________________________ 198
Preserving the State of a Virtual Machine ________________________ 199
Using Suspend and Resume _____________________________________ 200 Using the Snapshot ____________________________________________ 201
What Is Captured by the Snapshot? _____________________________ 201 Settings for the Snapshot _____________________________________ 202
6
www.vmware.com
Removing the Snapshot ______________________________________ 203
Ways of Using the Snapshot ___________________________________ 203
The Snapshot and Legacy Disk Modes ___________________________ 204
The Snapshot and Repeatable Resume __________________________ 204
The Snapshot and Legacy Virtual Machines _______________________ 204
The Snapshot and the Virtual Machine’s Hard Disks _________________ 205
The Snapshot and Other Activity in the Virtual Machine _____________ 205
Configuring a Virtual Network _________________________________ 207
Components of the Virtual Network _______________________________ 210 Common Networking Configurations ______________________________ 212
Bridged Networking _________________________________________ 212
Network Address Translation (NAT) _____________________________ 213
Host-Only Networking _______________________________________ 214 Custom Networking Configurations _______________________________ 216 Changing the Networking Configuration ___________________________ 219
Adding and Modifying Virtual Network Adapters___________________ 219
Configuring Bridged Networking Options on a Windows Host ________ 220
Enabling, Disabling, Adding and Removing Host Virtual Adapters______ 224 Advanced Networking Topics ____________________________________ 228
Selecting IP Addresses on a Host-Only Network or NAT Configuration __ 228
Avoiding IP Packet Leakage in a Host-Only Network ________________ 230
Maintaining and Changing the MAC Address of a Virtual Machine _____ 232
Controlling Routing Information for a Host-Only Network on a Linux Host 234
Other Potential Issues with Host-Only Networking on a Linux Host_____ 234
Setting Up a Second Bridged Network Interface on a Linux Host_______ 236
Setting Up Two Separate Host-Only Networks _____________________ 236
Routing between Two Host-Only Networks _______________________ 239
Using Virtual Ethernet Adapters in Promiscuous Mode on a Linux Host__ 243 Understanding NAT ___________________________________________ 244
Using NAT _________________________________________________ 244
The Host Computer and the NAT Network ________________________ 244
DHCP on the NAT Network ____________________________________ 245
DNS on the NAT Network _____________________________________ 245
External Access from the NAT Network___________________________ 245
Advanced NAT Configuration __________________________________ 247
Custom NAT and DHCP Configuration on a Windows Host ___________ 251
Considerations for Using NAT __________________________________ 252
7
Using NAT with NetLogon ____________________________________ 252 Sample Linux vmnetnat.conf File _______________________________ 254
Using Samba on a Linux Host ____________________________________ 257
Using Samba for File Sharing on a Linux Host______________________ 257
Configuring Video and Sound _________________________________ 265
Setting Screen Color Depth in a Virtual Machine______________________ 266
Changing Screen Color Depth on the Host _______________________ 266
Changing Screen Color Depth in the Virtual Machine _______________ 266 Using Full Screen Mode on a Linux Host ___________________________ 268 Configuring Sound ____________________________________________ 269
Installing Sound Drivers in Windows 9x and Windows NT Guest
Operating Systems __________________________________________ 269
Connecting Devices __________________________________________ 271
Using Parallel Ports ____________________________________________ 273
Parallel Ports _______________________________________________ 273
Installation in Guest Operating Systems __________________________ 273
Configuring a Parallel Port on a Linux Host________________________ 274
Special Notes for the Iomega Zip Drive __________________________ 276 Using Serial Ports______________________________________________ 277
Using a Serial Port on the Host Computer ________________________ 277
Using a File on the Host Computer______________________________ 278
Connecting an Application on the Host to a Virtual Machine _________ 279
Connecting Two Virtual Machines ______________________________ 281
Special Configuration Options for Advanced Users _________________ 285
Examples: Debugging over a Virtual Serial Port ____________________ 286 Keyboard Mapping on a Linux Host _______________________________ 289
Quick Answers _____________________________________________ 289
The Longer Story ___________________________________________ 289
V-Scan Code Table __________________________________________ 292 Using USB Devices in a Virtual Machine ____________________________ 297
Notes on USB Support in Version 4______________________________ 297
Enabling and Disabling the USB Controller________________________ 297
Connecting USB Devices _____________________________________ 297
Using USB with a Windows Host________________________________ 298
Replacing USB 2.0 Drivers on a Windows 2000 Host_________________ 298
Installing USB Devices as a Non-Administrator_____________________ 299
Using USB with a Linux Host___________________________________ 299
8
www.vmware.com
Who Has Control over a USB Device? ____________________________ 299 Disconnecting USB Devices from a Virtual Machine _________________ 301 Human Interface Devices _____________________________________ 301
Connecting to a Generic SCSI Device ______________________________ 302
Generic SCSI on a Windows Host Operating System ________________ 302 Generic SCSI on a Linux Host Operating System ___________________ 304
Performance Tuning __________________________________________ 307
Configuring and Maintaining the Host Computer_____________________ 309 Configuring VMware Workstation _________________________________ 310
General VMware Workstation Options ___________________________ 310 VMware Workstation on a Windows Host_________________________ 313
VMware Workstation on a Linux Host____________________________ 314 Monitoring Virtual Machine Performance ___________________________ 315 Memory Usage Notes __________________________________________ 317
Virtual Machine Memory Size __________________________________ 317
Memory Use on the Host _____________________________________ 318
Using More Than 1GB of Memory on a Linux Host __________________ 320 Improving Performance for Guest Operating Systems _________________ 322
Windows 95 and Windows 98 Guest Operating System Performance Tips 322
Windows 2000, Windows XP and Windows Server 2003 Guest
Operating System Performance Tips ____________________________ 324
Linux Guest Operating System Performance Tips___________________ 326
Special-Purpose Configuration Options _________________________ 327
Locking Out Interface Features ___________________________________ 329
Removing a Forgotten Password _______________________________ 329 Restricting the User Interface ____________________________________ 331
Automatically Returning to a Snapshot with a Restricted User Interface _ 332 Using Full Screen Switch Mode ___________________________________ 334
Creating a Virtual Machine for Use in Full Screen Switch Mode ________ 334
Moving a Virtual Machine to the User’s Computer __________________ 334
Setting Configuration Options on the User’s Computer______________ 335
Starting and Stopping Virtual Machines on the User’s Computer_______ 338
Glossary ____________________________________________________ 341
Index ______________________________________________________ 345
9
10
www.vmware.com
CHAPTER 1

Introduction and System Requirements

This section contains the following:
What’s New in Version 4 on page 14
Host System Requirements on page 18
Virtual Machine Specifications on page 21
Supported Guest Operating Systems on page 24
Technical Support Resources on page 26
Thank you for choosing VMware® Workstation, the powerful virtual machine software for enterprise IT professionals that runs multiple operating systems and their applications simultaneously on a single PC.
If you’re new to VMware Workstation, this is the place to start.
If you’re a veteran user of VMware products, take a few minutes to see what’s new in version 4 and check out the notes on upgrading your installation.
The first chapters of this manual — through Running VMware Workstation on page 97 — introduce you to some of the things you can do with VMware Workstation and guide you through the key steps for installing the software and putting it to work.
11
VMware Workstation 4 User’s Manual
Later chapters provide in-depth reference material for getting the most out of the sophisticated features of VMware Workstation.

Powerful Virtual Machine Software for the Technical Professional

VMware Workstation is powerful virtual machine software for system administrators and developers who want to revolutionize software development, testing and deployment in their enterprise. Shipping for over five years and winner of over a dozen major product awards, VMware Workstation enables software developers to develop and test the most complex networked server-class applications running on Microsoft® Windows®, Linux® or Novell® NetWare® — all on a single desktop.
Essential features such as Windows, Linux and NetWare support, virtual networking, live snapshots, drag-and-drop, shared folders and PXE support make VMware Workstation a powerful, indispensable tool for enterprise IT developers and system administrators.
12
Run the operating systems and applications you need — all on a single desktop
With over five years of proven success and millions of users, VMware Workstation improves efficiency, reduces costs and increases flexibility and responsiveness. Installing VMware Workstation on the desktop is the first step to transforming your IT
www.vmware.com
CHAPTER 1 Introduction and System Requirements
infrastructure into virtual infrastructure. VMware Workstation is used in the enterprise to
Streamline software development and testing operations
Accelerate application deployments
Ensure application compatibility and perform operating system migrations
VMware Workstation enables multiple operating systems and their applications to run concurrently on a single physical machine. These operating systems and applications are isolated in secure virtual machines that coexist on a single piece of hardware. The VMware virtualization layer maps the physical hardware resources to the virtual machine’s resources, so each virtual machine has its own CPU, memory, disks and I/O devices. A virtual machines is the full equivalent of a standard x86 machine.
With VMware Workstation you can
Build complex networks — and develop, test and deploy new applications — all on a single computer
Leverage the portability of virtual machines so you can easily share development environments and prepackaged configurations — complete with operating system and applications — without risk
Add or change operating systems without repartitioning disks or rebooting
Run new operating systems and legacy applications on one computer
Since its launch in 1999, VMware Workstation has revolutionized the way software and IT infrastructure are developed and has become the de facto standard for IT professionals and developers worldwide. When you deploy VMware Workstation in your environment you will
Shorten development cycles
Reduce problem resolution time
Increase productivity
Accelerate time to market
Improve project quality
If your business is looking to simplify and accelerate development, testing and deployment of software and IT infrastructure, VMware Workstation is essential.
.
Host and Guest
• The physical computer on which you install the VMware Workstation software is called the host computer, and its operating system is called the host operating system.
• The operating system running inside a virtual machine is called a guest operating system.
• For definitions of these and other special terms, see the glossary at the end of this manual.
13
VMware Workstation 4 User’s Manual

What’s New in Version 4

Whether you’re a long-time power user of VMware Workstation or a beginning user who is just learning what you can do with virtual machines, the new features in VMware Workstation 4 extend its capabilities and make it easier to use.
New in Version 4.5.2 on page 14
New in Version 4.5 on page 14
New in Version 4.0 on page 15

New in Version 4.5.2

Here are highlights of some key features added in VMware Workstation 4.5.2:
VMware Virtual Disk Manager
You can create, manage and modify virtual disk files from the command line or within scripts with the VMware Virtual Disk Manager utility. For more information, see Using
VMware Virtual Disk Manager on page 165.
Experimental Support for 64-bit Host Operating Systems
This means you can install this release of VMware Workstation on a 64-bit host computer that uses an AMD64 Opteron, Athlon 64 or Intel IA-32e CPU. Virtual machines you create on these hosts have 32-bit CPUs and can run 32-bit guest operating systems.
14
Experimental Support for Solaris Guest Operating Systems
This means you may install the x86 platform edition of Solaris 9 and of Solaris 10 beta as guest operating systems in this release of VMware Workstation. VMware Tools is not available for Solaris. If you want to run the guest operating system’s X server, you may do so in 16 colors.
Support for SUSE LINUX 9.1 Guests
This means you may run SUSE LINUX 9.1 as a guest operating system in this release of VMware Workstation.
Enhanced VPN Support over NAT
VMware Workstation now supports PPTP over NAT.

New in Version 4.5

Here are highlights of some key features added in VMware Workstation 4.5:
www.vmware.com
CHAPTER 1 Introduction and System Requirements
Increased Memory Size for Virtual Machines
This means you can create individual virtual machines with up to 3,600MB of memory and use up to 4GB of memory for all running virtual machines.
Experimental Support for Longhorn
This means you can install and run beta versions of the next version of Windows, code-named Longhorn. Because Longhorn is still in the beta stage of development, you should expect it to install and run more slowly than other guest operating systems.
Improved Support for Guests Using Linux Kernels in the 2.6 Series
This means better performance for virtual machines running manually installed 2.6 kernels and also for virtual machines using some of the later releases of Red Hat Linux 9, which incorporate some components from the 2.6 kernel.
Support for PXE
This means that if you use a preboot execution environment (commonly known as PXE) to boot and install operating systems into new virtual machines, you can do so without any add-on software.
Tip of the Day
A pop-up tip introduces you to a key feature of VMware Workstation each time you launch the program. You can turn the tips off if you prefer not to see them.
USB Device Installation for Nonadministrators
Any user on a Windows host can connect USB devices for use in a virtual machine. You no longer need administrative privileges on the host to connect a USB device to a virtual machine. See Installing USB Devices as a Non-Administrator on page 299 for details.
Automatic Check for Product Updates
VMware Workstation now checks automatically to see if updates for the product are available. You can adjust the interval between the automatic checks or turn off automatic checking. See Checking for Product Updates on page 126 for details.
New Operating System Support
Get the freedom to choose the operating systems and applications that work best for you. VMware Workstation 4.5 adds support for Novell NetWare 5.1, 6 and 6.5; and SUSE™ LINUX 9.0.

New in Version 4.0

Here are highlights of some key features added in VMware Workstation 4.0:
15
VMware Workstation 4 User’s Manual
Snapshots
You can take a snapshot of your virtual machine’s state, a point-in-time copy of the running system state, saved to disk. You can revert to that snapshot at any time — making it easier to do repetitive testing and debugging. You can also configure a virtual machine so it reverts to the snapshot each time you power it off. See Tak ing
and Reverting to a Snapshot on page 120 for details.
Drag and Drop
You can drag and drop files and folders in both directions between Windows hosts and Windows guests. See Using Drag and Drop on page 118 for details.
Shared Folders
Shared folders give you an easy way to share files between the host and one or more guests. See Using Shared Folders on page 115 for details.
Full Debug Support
Programmers now have the full functionality of native program debugging within a virtual machine with support for both user- and kernel-level debuggers. For more information on configuring virtual machines for a debugging session, see Examples:
Debugging over a Virtual Serial Port on page 286.
Improved Sound and Video
Listen to music in a virtual machine with the high fidelity provided by the new sound device, which emulates the popular Creative Labs Sound Blaster® AudioPCI. Get upgraded high performance graphics that let you display streaming video without skipping a beat.
16
New Operating System Support.
VMware Workstation 4.0 provides support for Microsoft Windows Server 2003; Red Hat™ Linux 8.0 and 9.0, Red Hat Linux Advanced Server 2.1, and Red Hat Enterprise Linux Workstation 2.1; SuSE Linux 8.0, 8.1, 8.2 and Enterprise Server 8; and Mandrake™ Linux 9.0.
New User Interface
The Linux user interface is updated throughout, and includes a completely revamped virtual machine settings editor. Windows hosts have an updated Favorites list. And on both hosts, you can run multiple virtual machines in the same window and tab from one to another using the new quick switch mode. See Running VMware Workstation
on page 97 for details.
www.vmware.com
CHAPTER 1 Introduction and System Requirements
Network Settings (Windows Host)
The Virtual Network Editor for Windows hosts now provides a graphical interface you can use to change the configuration of the DHCP servers running on your virtual networks. It also lets you configure the NAT device and the host virtual adapters. See
Changing the Networking Configuration on page 219 for details.
17
VMware Workstation 4 User’s Manual

Host System Requirements

What do you need to get the most out of VMware Workstation 4? Take the following list of requirements as a starting point. Remember that the virtual machines running under VMware Workstation are like physical computers in many ways — and, like physical computers, they generally perform better if they have faster processors and more memory.
PC Hardware
Standard PC
500MHz or faster compatible x86 processor (recommended; 400MHz minimum)
Compatible processors include
Intel®: Celeron®, Pentium® II, Pentium III, Pentium 4, Pentium M (including computers with Centrino™ mobile technology), Xeon™ (including “Prestonia”)
AMD™: Athlon™, Athlon MP, Athlon XP, Duron™, Opteron™
For additional information, including notes on processors that are not compatible, see the VMware knowledge base atwww.vmware.com/support/kb/
enduser/std_adp.php?p_faqid=967.
Multiprocessor systems supported
Experimental support for AMD64 Opteron, Athlon 64 or Intel IA-32e CPU
18
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; see your guest operating system and application documentation for their memory requirements
256MB recommended, 128MB minimum
Display
16-bit display adapter recommended; greater than 8-bit display adapter required
Linux hosts must have an X server that meets the X11R6 specification (such as
XFree86) and a video adapter supported by that 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
www.vmware.com
CHAPTER 1 Introduction and System Requirements
At least 1GB free disk space recommended for each guest operating system and the application software used with it; if you use 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
Local Area Networking (Optional)
Any Ethernet controller supported by the host operating system
Non-Ethernet networks supported using built-in network address translation
(NAT) or using a combination of host-only networking plus routing software on the host operating system
Windows Host Operating Systems
Windows Server 2003 Web Edition, Windows Server 2003 Standard Edition, Windows Server 2003 Enterprise Edition
Windows XP Professional and Windows XP Home Edition with Service Pack 1 or 2 (listed versions also supported with no service pack)
Windows 2000 Professional Service Pack 3 or 4, Windows 2000 Server Service Pack 3 or 4, Windows 2000 Advanced Server Service Pack 3 or 4 (listed versions also supported with no service pack)
Windows NT® Workstation 4.0 Service Pack 6a, Windows NT Server 4.0 Service Pack 6a, Windows NT 4.0 Terminal Server Edition Service Pack 6
Caution: Do not install VMware Workstation on a Windows NT 4.0 Server system that is configured as a primary or backup domain controller.
Internet Explorer 4.0 or higher required for Help system
Linux Host Operating Systems
Supported distributions and kernels are listed below. VMware Workstation may not run on systems that do not meet these requirements.
Note: As newer Linux kernels and distributions are released, VMware modifies and tests its products for stability and reliability on those host platforms. We make every effort to add support for new kernels and distributions in a timely manner, but until a kernel or distribution is added to the list below, its use with our products is not supported. Look for newer prebuilt modules in the download area of our Web site. Go towww.vmware.com/download/.
19
VMware Workstation 4 User’s Manual
Mandrake Linux 9.0 — stock 2.4.19
Mandrake Linux 8.2 — stock 2.4.18-6mdk
Red Hat Enterprise Linux 3.0 — stock 2.4.21, update 2.4.21-15.EL
Red Hat Enterprise Linux 2.1 — stock 2.4.9-e3
Red Hat Linux Advanced Server 2.1 — stock 2.4.9-e3
Red Hat Linux 9.0 — stock 2.4.20-8, upgrade 2.4.20-20.9
Red Hat Linux 8.0 — stock 2.4.18
Red Hat Linux 7.3 — stock 2.4.18
Red Hat Linux 7.2 — stock 2.4.7-10, upgrade 2.4.9-7, upgrade 2.4.9-13, upgrade
2.4.9-21, upgrade 2.4.9-31
Red Hat Linux 7.1 — stock 2.4.2-2, upgrade 2.4.3-12
Red Hat Linux 7.0 — stock 2.2.16-22, upgrade 2.2.17-14
SUSE LINUX 9.1 — stock 2.6.4-52
SUSE LINUX 9.0 — stock 2.4.21-99
SuSE Linux Enterprise Server 8 — stock 2.4.19
SuSE Linux 8.2 — stock 2.4.20
SuSE Linux 8.1 — stock 2.4.19
SuSE Linux 8.0 — stock 2.4.18
SuSE Linux Enterprise Server 7 — stock 2.4.7 and patch 2
SuSE Linux 7.3 — stock 2.4.10
Platforms not listed above are not supported.
Web browser required for Help system
20
www.vmware.com
CHAPTER 1 Introduction and System Requirements

Virtual Machine Specifications

Each virtual machine created with VMware Workstation 4 provides a platform that includes the following devices that your guest operating system can see.
Processor
Same processor as that on host computer
Note: A 64-bit processor runs in 32-bit legacy mode inside the virtual machine.
Single processor per virtual machine on symmetric multiprocessor systems
Chip Set
Intel 440BX-based motherboard with NS338 SIO chip and 82093AA IOAPIC
BIOS
PhoenixBIOS™ 4.0 Release 6 with VESA BIOS
Memory
Up to 3600MB, depending on host memory
Maximum of 4GB 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 operating system
Works with scanners, CD-ROM, DVD-ROM, tape drives and other SCSI devices
21
VMware Workstation 4 User’s Manual
LSI Logic® LSI53C1030 Ultra320 SCSI I/O controller
Mylex® (BusLogic) BT-958 compatible host bus adapter (requires add-on driver
from VMware for Windows XP and Windows Server 2003)
Floppy Drives
Up to two 1.44MB floppy devices
Physical drives or floppy image files
Serial (COM) Ports
Up to four serial (COM) ports
Output to serial ports, Windows or Linux files, or named pipes
Parallel (LPT) Ports
Up to two bidirectional parallel (LPT) ports
Output to parallel ports or host operating system files
USB ports
Two-port USB 1.1 UHCI controller
Supports devices including USB printers, scanners, PDAs, hard disk drives,
memory card readers and still digital cameras
22
Keyboard
104-key Windows 95/98 enhanced
Mouse and Drawing Tablets
PS/2 mouse
Serial tablets supported
Ethernet Card
Up to three virtual Ethernet cards
AMD PCnet-PCI II compatible
Sound
Sound output and input
Emulates Creative Labs Sound Blaster AudioPCI (MIDI input, game controllers
and joysticks not supported)
Virtual Networking
Nine virtual Ethernet switches (three configured by default for bridged, host­only and NAT networking)
www.vmware.com
CHAPTER 1 Introduction and System Requirements
Virtual networking supports most Ethernet-based protocols, including TCP/IP, NetBEUI, Microsoft Networking, Samba, Novell NetWare and Network File System
Built-in NAT supports client software using TCP/IP, FTP, DNS, HTTP and Telnet
23
VMware Workstation 4 User’s Manual

Supported Guest Operating Systems

The operating systems listed here have been tested in VMware Workstation 4 virtual machines and are officially supported. For notes on installing the most common guest operating systems, see the VMware Guest Operating System Installation Guide, available from the VMware Web site or from the Help menu.
Operating systems that are not listed are not supported for use in a VMware Workstation virtual machine. For the most recent list of supported guest operating systems, see the support section of the VMware Web site, www.vmware.com/support/.
Microsoft Windows
Windows, code-named Longhorn, beta (experimental)
Windows Server 2003 Web Edition, Windows Server 2003 Standard Edition,
Windows Server 2003 Enterprise Edition
Windows XP Professional and Windows XP Home Edition with Service Pack 1 or 2 (listed versions also supported with no service pack)
Windows 2000 Professional Service Pack 1, 2, 3 or 4; Windows 2000 Server Service Pack 1, 2, 3 or 4; Windows 2000 Advanced Server Service Pack 3 or 4 (listed versions also supported with no service pack)
Windows NT® Workstation 4.0 Service Pack 6a, Windows NT Server 4.0 Service Pack 6a, Windows NT 4.0 Terminal Server Edition Service Pack 6
Windows Me
Windows 98 (including all Customer Service Packs) and Windows 98 SE
Windows 95 (including Service Pack 1 and all OSR releases)
Windows for Workgroups 3.11
Windows 3.1
24
Microsoft MS-DOS
MS-DOS 6.x
Linux
Mandrake Linux 8.2, 9.0
Red Hat Linux 7.0, 7.1, 7.2, 7.3, 8.0, 9.0
Red Hat Enterprise Linux 2.1, 3.0
Red Hat Linux Advanced Server 2.1
SuSE Linux 7.3, 8.0, 8.1, 8.2, 9.0, 9.1
www.vmware.com
SLES 7, 7 patch 2, 8
Turbolinux Server 7.0, Enterprise Server 8, Workstation 8
Novell NetWare
NetWare 5.1, 6, 6.5
FreeBSD
FreeBSD 4.0–4.6.2, 4.8, 5.0
Note: If you use SCSI virtual disks larger than 2GB with FreeBSD 4.0–4.3, there are known problems, and the guest operating system does not boot. To work around this issue, see the VMware Guest Operating System Installation Guide, available from the VMware Web site or from the Help menu.
Solaris
Solaris x86 Platform Edition 9 (experimental), 10 beta (experimental)
CHAPTER 1 Introduction and System Requirements
25
VMware Workstation 4 User’s Manual

Technical Support Resources

Documentation on the Web

Full documentation for VMware Workstation, including the latest updates to the manual, can be found on the VMware Web site at www.vmware.com/support/.

VMware Knowledge Base

You can find troubleshooting notes and tips for advanced users in the knowledge base on the VMware Web site at www.vmware.com/kb.

VMware User Community

Community Discussion Forums
The VMware Community is a set of moderated discussion forums hosted on the VMware Web site and is open to all VMware users. In the forums, you can share your experiences in using VMware products, raise technical questions or issues and benefit from the expertise and advice of other VMware users.
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.
For more information on the forums and newsgroups, see www.vmware.com/support/
newsgroups.htm.
26

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 run the support script to collect the appropriate log files and system information. Follow the steps below that apply to your host computer.
Windows Host
1. Open a command prompt.
www.vmware.com
CHAPTER 1 Introduction and System Requirements
2. Change to the VMware Workstation program directory.
C: cd \Program Files\VMware\VMware Workstation
If you did not install the program in the default directory, use the appropriate drive letter and substitute the appropriate path in the cd command above.
3. Run the support script.
cscript vm-support.vbs
4. After the script runs, it displays the name of the directory where it has stored its output. Use a file compression utility such as WinZip or PKZIP to zip that directory and include the zip file with your support request.
Linux Host
1. Open a terminal.
2. Run the support script as the user who is running the virtual machine.
vm-support
If you are not running the script as root, the script displays messages indicating that it cannot collect some information. This is normal. If the VMware support team needs that information, a support representative will ask you to run the script again as root.
3. The script creates a compressed .tgz file in the current directory. Include that output file with your support request.
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 Server 2003 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 atwww.vmware.com/requestsupport.
27
VMware Workstation 4 User’s Manual
28
www.vmware.com
CHAPTER 2

Installing VMware Workstation

The following sections describe how to install VMware Workstation on your Linux or Windows host system:
Selecting Your Host System on page 30
Upgrading from Previous Versions on page 30
Installing VMware Workstation 4 on a Windows Host on page 31
Installing the VMware Workstation Software on page 31
Installing VMware Workstation Silently on page 35
Uninstalling VMware Workstation 4 on a Windows Host on page 37
Installing VMware Workstation 4 on a Linux Host on page 38
Before Installing on a Linux Host on page 38
Installing the VMware Workstation Software on page 39
Configuring Your Web Browser on page 41
Uninstalling VMware Workstation 4 on a Linux Host on page 41
29
VMware Workstation 4 User’s Manual

Selecting Your Host System

VMware Workstation is available for both Windows and Linux host computers. The installation files for both host platforms are included on the same CD-ROM.
Your serial number allows you to use VMware Workstation only on the host operating system for which you licensed the software. If you have a serial number for a Windows host, you cannot run the software on a Linux host, and vice versa.
To use VMware Workstation on a different host operating system — for example, to use it on a Linux host if you have licensed the software for a Windows host — purchase a license on the VMware Web site. You may also get an evaluation license at no charge for a 30-day evaluation of the software. For more information, seewww.vmware.com/download/.
To install on a supported Windows host computer, see Installing VMware Workstation
4 on a Windows Host on page 31. To install on a Linux host computer, see Installing VMware Workstation 4 on a Linux Host on page 38.

Upgrading from Previous Versions

If you are upgrading from a previous version of VMware Workstation, read Upgrading
VMware Workstation on page 43 before you begin.
30
www.vmware.com
Installing VMware Workstation 4
on a Windows Host
Getting started with VMware Workstation is simple. The key steps are
1. Install the VMware Workstation software as described in this section.
2. Start VMware Workstation and enter your serial number. You need to do this only once — the first time you start VMware Workstation after you install it.
3. Create a virtual machine using the New Virtual Machine Wizard. See Creating a
New Virtual Machine on page 67.
4. Install a guest operating system in the new virtual machine. You need the installation media (CD-ROM or floppy disks) for your guest operating system. See
Installing a Guest Operating System and VMware Tools on page 80.
5. Install the VMware Tools package in your virtual machine for enhanced performance. See Installing VMware Tools on page 83.
6. Start using your virtual machine.
Before you begin, be sure you have
A computer and host operating system that meet the system requirements for running VMware Workstation. See Host System Requirements on page 18.
The VMware Workstation installation software. If you bought the packaged distribution of VMware Workstation, the installation software is on the CD in your package. If you bought the electronic distribution, the installation software is in the file you downloaded.
Your VMware Workstation serial number. The serial number is included in the VMware Workstation package or in the email message confirming your electronic distribution order.
The installation CD or disks for your guest operating system.
CHAPTER 2 Installing VMware Workstation

Installing the VMware Workstation Software

1. Log on to your Microsoft Windows host as the Administrator user or as a user who is a member of the Windows Administrators group.
Caution: Do not install VMware Workstation on a Windows NT Server 4.0 system that is configured as a primary or backup domain controller.
31
VMware Workstation 4 User’s Manual
Note: On a Windows XP or Windows Server 2003 host computer, you must be logged in as a local administrator (that is, not logged in to the domain) in order to install VMware Workstation.
Note: Although you must be logged in as an administrator to install VMware Workstation, a user with normal user privileges can run the program after it is installed. Keep in mind that you need one license for each user.
2. If you are installing from a CD, from the Start menu, choose Run and enter D:\setup.exe, where D: is the drive letter for your CD-ROM drive.
If you are installing from a downloaded file, from the Start menu, choose Run, browse to the directory where you saved the downloaded installer file and run the installer. (The filename is similar to VMwareWorkstation- <xxxx>.exe, where <xxxx> is a series of numbers representing the version and build numbers.)
3. The Welcome dialog box appears.
32
Click Next.
www.vmware.com
4. Acknowledge the end user license agreement (EULA). Select the Yes, I accep t the terms in the license agreement option, then click Next.
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.
Caution: Do not install VMware Workstation on a network drive.
Note: Windows and the Microsoft Installer limit the length of a path to a folder
on a local drive to 255 characters. For a path to a folder on a mapped or shared drive, the limit is 240 characters. If the path to the VMware Workstation program folder exceeds this limit, an error message appears. You must select or enter a shorter path.
6. The installer has gathered the necessary information and is ready to begin installing the software.
CHAPTER 2 Installing VMware Workstation
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.
If you do not need to make any changes, click Install. The installer begins copying files to your computer.
33
VMware Workstation 4 User’s Manual
One Chance to Rename Disk Files
• The Rename Virtual Disks dialog box appears only once. If you click Cancel, you will not have another opportunity to update the filenames and configuration files automatically.
7. If the installer detects that the CD-ROM autorun feature is enabled, you see a message that gives you the option to disable this feature. Disabling it prevents undesirable interactions with the virtual machines you install on this system.
8. You may see one or more Digital Signature Not Found dialog boxes when the installer begins to install the VMware Virtual Ethernet Adapters. You can safely ignore these warnings and click Ye s or Continue to approve installation of the drivers.
9. A dialog box appears, asking if you want to rename existing virtual disks using the .vmdk extension.
This naming convention was introduced in VMware Workstation 3. If your virtual disk files already use the .vmdk extension, click No to skip this process. Click Ye s if you want 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 3 to VMware Workstation 4.
Besides renaming files, the converter updates the corresponding virtual machine configuration files so they identify the virtual disks using the new filenames.
If you store your virtual disk files or suspended state files on a Windows XP or Windows Server 2003 host — or if you may do so in the future — it is important to convert the filenames to avoid conflicts with the System Restore feature of Windows XP and Windows Server 2003.
34
www.vmware.com
CHAPTER 2 Installing VMware Workstation
10. If you wish, enter your name, company name and serial number, then click Next. The serial number is on the registration card in your package. The user and company information you enter here is then made available in the About box (Help > About VMware Workstation). If you skip this step, you are prompted to enter your serial number the first time you run VMware Workstation.
11. Click Finish. The VMware Workstation software is installed.
12. A prompt suggests that you reboot your PC. Reboot now to allow VMware Workstation to complete the installation correctly.

Installing VMware Workstation Silently

If you are installing VMware Workstation on a number of Windows host computers — in a corporate environment, for example — you may want to use the silent install features of the Microsoft Windows Installer.
Before installing VMware Workstation silently, you must ensure that the host computer has version 2.0 or higher of the MSI runtime engine. This version of the installer is available in versions of Windows beginning with Windows XP and is available separately from Microsoft for versions of Windows beginning with Windows NT 4.0.
35
VMware Workstation 4 User’s Manual
The following steps outline the procedures for a silent install. For additional details on using the Microsoft Windows Installer, see the Microsoft Web site.
1. Silently extract the administrative installation image from the VMware Workstation installer:
setup.exe /a /s /v"/qn TARGETDIR=<InstallTempPath>"
setup.exe is the name of the installer on the CD distribution. If you are using a downloaded installer, the filename is similar to VMwareWorkstation­<xxxx>.exe, where <xxxx> is a series of numbers representing the version
and build numbers.
<InstallTempPath> is the full path to the folder where you want to store the administrative installation image.
2. Run a silent installation using msiexec and the administrative installation image you extracted in the previous step:
msiexec -i "<InstallTempPath>\VMware Workstation.msi" [INSTALLDIR="<PathToProgramDirectory>"] ADDLOCAL=ALL [REMOVE=<featurename,featurename>] /qn
Enter the command on one line. If you want to install VMware Workstation in a location other than the default, change the path that follows INSTALLDIR= to specify the desired location.
You may use the optional REMOVE= property to skip installation of certain features. The REMOVE= property can take one or more of the following values:
36
Value Description
Authd The VMware authorization service
Network Networking components including the virtual bridge and the host adapters for
host only networking and NAT networking; do not remove if you want to use NAT or DHCP
DHCP The virtual DHCP server
NAT The virtual NAT device
If you specify more than one value, use a comma to separate the values. For example, REMOVE=Authd,NAT.
Note: If you specify REMOVE=Network, the installer skips installation of certain networking components, including NAT and DHCP. There is no need to specify DHCP or NAT separately.
www.vmware.com
You may customize the installation further by adding any of the following installation properties to the command using the format PROPERTY="value". A value of 1 means true; a value of 0 means false. If you use the serial number property, enter the serial number, complete with hyphens (xxxxx-xxxxx-xxxxx-xxxxx).
Property Effect of the Property Default
DESKTOP_SHORTCUT Installs a shortcut on the desktop 1
DISABLE_AUTORUN Disables CD autorun on the host 1
REMOVE_LICENSE (Uninstall only) Removes all stored licenses at uninstall 0
SERIALNUMBER Automatically enters the serial number

Uninstalling VMware Workstation 4 on a Windows Host

To uninstall VMware Workstation 4, use the Add/Remove Programs control panel. Select the entry for VMware Workstation, then click Remove. Follow the on-screen instructions.
CHAPTER 2 Installing VMware Workstation
37
VMware Workstation 4 User’s Manual
Installing VMware Workstation 4
on a Linux Host
Getting started with VMware Workstation is simple. The key steps are
1. Install the VMware Workstation software as described in this section.
2. Start VMware Workstation and enter your serial number. You need to do this only once — the first time you start VMware Workstation after you install it.
3. Create a virtual machine using the New Virtual Machine Wizard. See Creating a
New Virtual Machine on page 67.
4. Install a guest operating system in the new virtual machine. You need the installation media (CD-ROM or floppy disks) for your guest operating system. See
Installing a Guest Operating System and VMware Tools on page 80.
5. Install the VMware Tools package in your virtual machine for enhanced performance. See Installing VMware Tools on page 83.
6. Start using your virtual machine.
Before you begin, be sure you have
A computer and host operating system that meet the system requirements for running VMware Workstation. See Host System Requirements on page 18.
The VMware Workstation installation software. If you bought the packaged distribution of VMware Workstation, the installation software is on the CD in your package. If you bought the electronic distribution, the installation software is in the file you downloaded.
Your VMware Workstation serial number. The serial number is included in the VMware Workstation package or in the email message confirming your electronic distribution order.
The installation CD or disks for your guest operating system.
38

Before Installing on a Linux Host

Before you install and run VMware Workstation, check the following notes and make any necessary adjustments to the configuration of your host operating system.
The real-time clock function must be compiled into your Linux kernel.
VMware Workstation for Linux requires that the parallel port PC-style hardware
option (CONFIG_PARPORT_PC) be built and loaded as a kernel module (that is, it must be set to m when the kernel is compiled).
www.vmware.com

Installing the VMware Workstation Software

Note: The steps below describe an installation from a CD-ROM disc. If you downloaded the software, the steps are the same except that you start from the 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 perform 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:
Use the RPM installer: Run RPM specifying the installation file.
rpm -Uhv VMware-<xxx>.rpm
(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, you must take a special step 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
Use the tar installer: You may copy a tar archive to your hard disk and install
following the directions below. Or you may 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, to/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 program.
./vmware-install.pl
CHAPTER 2 Installing VMware Workstation
39
VMware Workstation 4 User’s Manual
Accept the default directories for the binary files, library files, manual files, documentation files and init script.
6. Run the configuration program.
vmware-config.pl
Note: If you use the RPM installer, you need to run this program separately from the command line. If you install from the tar archive, the installer offers to launch the configuration program for you. Answer Yes when you see the prompt.
Use this program to reconfigure VMware Workstation whenever you upgrade your kernel. It is not necessary to reinstall VMware Workstation after you upgrade your kernel.
You can also use vmware-config.pl to reconfigure the networking options for VMware Workstation — for example, to add or remove host-only networks.
The installer places vmware-config.pl in /usr/bin. If /usr/bin is not in your default path, run the program with the following command:
/usr/bin/vmware-config.pl
7. Press Enter to read the end user license agreement (EULA). You may page through it by pressing the space bar. If the Do you accept prompt doesn’t appear, press Q to get to the next prompt.
8. The remaining prompts are worded in such a way that, in most cases, the default response is appropriate. Some exceptions are noted here:
The configuration program prompts you
Do you want this script to automatically configure your system to allow your virtual machines to access the host's file system?
If you already have Samba running on your host computer, answer No. If Samba is not already running on your host computer and you want to add it, answer Yes to this question; the VMware Workstation installer configures it for you. When prompted for a user name and password to use with the Samba configuration, enter the user name you used in step 1 above.
To enable host-only networking, respond Yes to the following prompts if they
appear:
Do you want your virtual machines to be able to use the host's network resources? Do you want to be able to use host-only networking in your virtual machines?
40
www.vmware.com
CHAPTER 2 Installing VMware Workstation
Do you want this script to probe for an unused private subnet?
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 214.
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 display this message, run the configuration program again.
10. When done, exit from the root account. exit

Configuring Your Web Browser

To use the VMware Workstation Help system, you must have a Web browser installed on your host computer. VMware Workstation expects to find the Netscape browser in /usr/bin/netscape. If this matches the configuration of your host computer, you do not need to take any special steps. If you are using a different browser or if your Netscape browser is in a different location, add a symbolic link to it from /usr/bin.
ln -s <path to browser> /usr/bin/netscape

Uninstalling VMware Workstation 4 on a Linux Host

If you used the RPM installer to install VMware Workstation, remove the software from your system by running
rpm -e VMwareWorkstation
If you used the tar installer to install VMware Workstation, remove the software from your system by running
vmware-uninstall.pl
41
VMware Workstation 4 User’s Manual
42
www.vmware.com
CHAPTER 3

Upgrading VMware Workstation

The following sections describe how to upgrade VMware Workstation from version 2 and 3 to version 4 on your Linux or Windows host system and how to use existing virtual machines under VMware Workstation 4:
Preparing for the Upgrade on page 44
Upgrading on a Windows Host on page 47
Upgrading on a Linux Host on page 50
Using Virtual Machines Created with Version 3 under Version 4 on page 51
Using Virtual Machines Created with Version 2 under Version 4 on page 62
43
VMware Workstation 4 User’s Manual

Preparing for the Upgrade

Before You Install VMware Workstation 4

There are a few steps you should take — while your previous version of VMware Workstation is still on your computer and before you install VMware Workstation 4 — to ensure the best possible upgrade experience.
Resume and Shut Down Suspended Virtual Machines
If you plan to use virtual machines created under VMware Workstation 2, 3 or a prerelease version of VMware Workstation 4, be sure they have been shut down completely before you remove the release you used to create them.
If the virtual machine is suspended, resume it in the earlier release, shut down the guest operating system, then power off the virtual machine.
Note: If you attempt to resume a virtual machine that was suspended under a different VMware product or a different version of VMware Workstation, a dialog box gives you the choice of discarding or keeping the file that stores the suspended state. To recover the suspended state, you must click Keep, then resume the virtual machine under the correct VMware product. If you click Discard, you can power on normally, but the suspended state is lost.
44
Make Sure All Disks Are in the Same Mode
If you have an existing virtual machine with one or more virtual disks and all the disks use persistent or undoable mode, upgrading is straightforward.
If you have an existing virtual machine with one or more virtual disks and all the disks use nonpersistent mode, you need to take a few special steps when you upgrade VMware Tools. For details, see
If you plan to use an existing virtual machine that has disks in undoable mode, commit or discard any changes to the virtual disks before you remove the release you used to create them.
Resume or power on the virtual machine in the earlier release, shut down the guest operating system, power off the virtual machine and either commit or discard changes to the disk in undoable mode when prompted.
If the disks are in persistent or nonpersistent mode, be sure the virtual machine is completely shut down. If it is suspended, resume it, shut down the guest operating system and power off the virtual machine.
www.vmware.com/info?id=44.
www.vmware.com
CHAPTER 3 Upgrading VMware Workstation
If you have an existing virtual machine that has multiple virtual disks and the disks are in multiple modes, the simplest approach to upgrading is to convert all the disks to persistent mode.
Resume or power on the virtual machine in the earlier release, shut down the guest operating system, power off the virtual machine and either commit or discard changes to any undoable mode disks when prompted. Then open the configuration editor and change all disks to persistent mode. After you upgrade to VMware Workstation 4, you can use the snapshot feature to preserve the state of a virtual machine and return to that state at a later time. For more information on the snapshot feature, see Using the Snapshot on page 201.
If you need to preserve special functionality that requires disks in multiple modes, review the information at
Back Up Virtual Machines
As a precaution, back up all the files in your virtual machine directories — including the .vmdk or .dsk, .vmx or .cfg and nvram files — for any existing virtual machines you plan to migrate to VMware Workstation 4. Depending on your upgrade path, you may not be able to run your virtual machines under both VMware Workstation 4 and your previous version of VMware Workstation.
Virtual machines created under Workstation 2 must have their virtual hardware updated before they can run under Workstation 4. Once they are updated, they cannot be run under Workstation 2.
You have a choice with virtual machines that you created under Workstation 3 or updated to use the Workstation 3 virtual hardware.
You may update these virtual machines for full compatibility with Workstation 4. In that case, the virtual machines can no longer be used under Workstation 3.
You may choose not to update the virtual hardware. In that case, you can run the virtual machines under both Workstation 3 and Workstation 4, but you will not have the benefits of the new virtual hardware provided by Workstation 4. Other Workstation 4 features will not be available. For example, you cannot take a snapshot or revert to the snapshot while the virtual machine is running; you must power off before taking or reverting to the snapshot.
www.vmware.com/info?id=40 before you upgrade.

When You Remove Version 2 or 3 and Install Version 4

There is a key precaution you should take when you remove VMware Workstation 2 or 3 — or a prerelease version of VMware Workstation 4 — and install VMware Workstation 4.
45
VMware Workstation 4 User’s Manual
Leave the Existing License in Place
The installation steps for your host may require that you run an uninstaller to remove a previous version of VMware Workstation from your machine.
On a Windows host, the uninstaller may offer to remove licenses from your registry. Do not remove the licenses. You can safely keep licenses for multiple VMware products on the computer at the same time.
On a Linux host, the license remains in place. You do not need to take any special action. You may safely leave the license where it is.
46
www.vmware.com
CHAPTER 3 Upgrading VMware Workstation

Upgrading on a Windows Host

Upgrading from an Earlier Release of Version 4

The Upgrade Process
Upgrading from an earlier release of version 4 is a four-step process.
1. Use the Add or Remove Programs control panel to uninstall the version now installed on your computer.
Note: The uninstaller may offer to remove licenses from your registry. Do not remove the licenses.
2. Reboot your computer if you are prompted to do so.
3. Install version 4.5.
4. Reboot your computer if you are prompted to do so.

Upgrading from Version 2 or 3 to Version 4

The Upgrade Process
In most cases, upgrading from version 2 or 3 is a four-step process. If you are upgrading from Workstation 2 on a Windows 2000 host that has host-only networking, there is an additional step. See Upgrading on a Windows 2000 Host with
Host-Only Networking below for details.
You may upgrade from version 3 to version 4 using the VMware Workstation 4 upgrade product. To upgrade from version 2 to version 4, you must have the full VMware Workstation 4 product.
1. Uninstall the version now installed on your computer. For details, see Removing
Version 2 or Removing Version 3, below.
Note: The uninstaller may offer to remove licenses from your registry. Do not remove the licenses.
2. Reboot your computer.
3. Install version 4.
Note: When you are upgrading with an upgrade serial number, the installer checks for the presence of a version 3 license on the computer. If it finds no version 3 license, it prompts you to enter your version 3 serial number.
4. Reboot your computer.
47
VMware Workstation 4 User’s Manual
Removing Version 2
To uninstall version 2, use the VMware Workstation uninstaller.
1. Launch the uninstaller. Start > Programs > VMware > VMware for Windows NT Uninstallation
2. Click Ye s.
3. Follow the on-screen instructions. You may safely keep your existing license in the Windows registry.
After you reboot, follow the instructions in Installing VMware Workstation 4 on a
Windows Host on page 31.
Removing Version 3
To uninstall version 3, use the VMware Workstation uninstaller.
1. Launch the uninstaller. Start > Programs > VMware > VMware Workstation Uninstallation
2. Click Ye s.
3. Follow the on-screen instructions. You need to keep your existing license in the Windows registry.
After you reboot, follow the instructions in Installing VMware Workstation 4 on a
Windows Host on page 31.
48
Upgrading on a Windows 2000 Host with Host-Only Networking
If you have set up host-only networking for VMware Workstation 2 on a Windows 2000 host, the upgrade process has five steps.
1. Uninstall your host-only adapter (or adapters).
a. On the host computer, start the Add/Remove Hardware Wizard.
Start > Settings > Control Panel > Add/Remove Hardware Click Next.
b. Select Uninstall/Unplug a Device. Click Next.
c. Select Uninstall a Device. Click Next.
d. Select VMware Virtual Ethernet Adapter, then follow the wizard’s
instructions.
If you have more than one host-only adapter, repeat these steps for each of them.
2. Uninstall version 2.
www.vmware.com
Note: The uninstaller may offer to remove licenses from your registry. Do not remove the licenses.
3. Reboot your computer.
4. Install version 4.
Note: When you are upgrading with an upgrade serial number, the installer checks for the presence of a version 3 license on the computer. If it finds no version 3 license, it prompts you to enter your version 3 serial number.
5. Reboot your computer.
You may then reconfigure host-only networking under VMware Workstation 4.
CHAPTER 3 Upgrading VMware Workstation
49
VMware Workstation 4 User’s Manual

Upgrading on a Linux Host

You may upgrade from version 3 to version 4 using the VMware Workstation 4 upgrade product. To upgrade from version 2 to version 4, you must have the full VMware Workstation 4 product.
The Tar Upgrade Process
If you used the tar installer to install version 2 or 3 or an earlier release of version 4 and you plan to use the tar installer for version 4.5, you do not need to take any special steps to uninstall the older version. Just follow the installation instructions Installing
VMware Workstation 4 on a Linux Host on page 38.
Note: When you are upgrading with the upgrade product, the installer checks for the presence of a version 3 license on the computer. If it finds no version 3 license, it prompts you to enter your version 3 serial number.
The RPM Upgrade Process
If you used the RPM installer to install version 2 or 3 or an earlier release of version 4, take the following steps to upgrade to version 4.5. If you are currently using version
3.0, you need to uninstall the RPM package of prebuilt modules that was installed with
3.0 before you uninstall the 3.0 software. You do not need to take this step if you are currently using version 2.0 or 3.1.
1. If you are running version 2, uninstall it as root by running
rpm -e VMware
If you are running version 3.0, uninstall the prebuilt modules as root, then uninstall VMware Workstation by running
rpm -e VMwareWorkstationKernelModules rpm -e VMwareWorkstation
If you are running version 3.1 or 3.2 or an earlier release of version 4, uninstall it as root by running
rpm -e VMwareWorkstation*
2. Install version 4.5 following the instructions in Installing VMware Workstation 4
on a Linux Host on page 38.
Note: When you are upgrading with the upgrade product, the installer checks for the presence of a version 3 license on the computer. If it finds no version 3 license, it prompts you to enter your version 3 serial number.
50
www.vmware.com
CHAPTER 3 Upgrading VMware Workstation
Using Virtual Machines Created
with Version 3 under Version 4
There are, broadly speaking, three approaches you can take to setting up virtual machines under VMware Workstation 4. Choose one of these approaches.
Create Everything New from the Start on page 51
Use an Existing Configuration File and Virtual Disk on page 51
Use an Existing Virtual Machine and Upgrade the Virtual Hardware on page 52

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 67. If you set up your virtual machines in this way, you will be using
the latest technology and will enjoy the performance benefits of the new virtual hardware.

Use an Existing Configuration File and Virtual Disk

Upgrade VMware Tools to the new version following the instructions for your guest operating system in Installing VMware Tools on page 83. 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, including improved sound quality, support for taking a snapshot while the virtual machine is running and improved virtual disk formats.
Note: The first time you power on the virtual machine under VMware Workstation 4, Workstation updates the CMOS. As a result, your guest operating system may detect hardware changes and install new drivers for the new hardware even if you do not choose VM > Upgrade Virtual Hardware. Similarly, if you switch back to VMware Workstation 3, your guest operating system may detect hardware changes and install the appropriate drivers. You should expect to see this behavior each time you switch from one version of VMware Workstation to the other.
Windows hosts: At the time you install VMware Workstation 4, the installer offers to convert virtual disk .dsk filenames to use the .vmdk extension introduced with version 3. If you still have virtual disks using the .dsk extension and if you are storing virtual disk files on a Windows XP or Windows Server 2003 host, it is especially important that you allow VMware Workstation to make this change in order to avoid
51
VMware Workstation 4 User’s Manual
conflicts with the Windows XP or Windows Server 2003 System Restore feature. The .vmdk extension can be used for virtual disks under any VMware product. VMware Workstation 4 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 153.
Linux hosts: The first time you run a virtual machine after installing VMware Workstation 4, Workstation offers to convert virtual disk .dsk filenames to use the
.vmdk extension introduced with version 3. If you still have virtual disks using the .dsk extension and if you are storing virtual disk files on a Windows XP or Windows
Server 2003 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 Server 2003 System Restore feature. The .vmdk extension can be used for virtual disks under any VMware product. VMware Workstation 4 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 153.
52

Use an Existing Virtual Machine and Upgrade the Virtual Hardware

If you use an existing virtual machine and upgrade the virtual hardware, you gain access to new features and enjoy the performance benefits of the new virtual hardware, but the process is one-way — you cannot reverse it.
Start by using an existing configuration file (.vmx) and virtual disk (.vmdk or .dsk).
Power on the virtual machine and upgrade VMware Tools to the new version, following the instructions for your guest operating system in Installing VMware Tools
on page 83. You should not remove the older version of VMware Tools before
installing the new version.
After shutting down the guest operating system and powering off the virtual machine, upgrade the virtual hardware. The upgraded virtual hardware gives you improved sound quality, support for taking a snapshot while the virtual machine is running and improved virtual disk formats.
Note: If you are upgrading a virtual machine that runs from a physical disk, rather than a virtual disk, you may see the following error message while VMware Workstation is upgrading the virtual hardware: “Unable to upgrade <drivename>. One
www.vmware.com
CHAPTER 3 Upgrading VMware Workstation
of the supplied parameters is invalid.” You may safely click OK to continue the upgrade process.
Note: When you update the virtual hardware in a Windows XP or Windows Server 2003 virtual machine, the Microsoft product activation feature requires you to reactivate the guest operating system.
Windows hosts: At the time you install VMware Workstation 4, the installer offers to convert virtual disk .dsk filenames to use the .vmdk extension introduced with version 3. If you still have virtual disks using the .dsk extension and if you are storing virtual disk files on a Windows XP or Windows Server 2003 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 Server 2003 System Restore feature. The .vmdk extension can be used for virtual disks under any VMware product. VMware Workstation 4 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 153.
Linux hosts: The first time you run a virtual machine after installing VMware Workstation 4, Workstation offers to convert virtual disk .dsk filenames to use the
.vmdk extension introduced with version 3. If you still have virtual disks using the .dsk extension and if you are storing virtual disk files on a Windows XP or Windows
Server 2003 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 Server 2003 System Restore feature. The .vmdk extension can be used for virtual disks under any VMware product. VMware Workstation 4 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 153.

Upgrading Virtual Hardware in the Guest Operating System

If you are using a virtual machine created under VMware Workstation 3, the first time you power on the virtual machine under VMware Workstation 4, Workstation updates the CMOS. As a result, your guest operating system may detect hardware changes and install new drivers for the new hardware even if you do not choose VM > Upgrade Virtual Hardware.
Windows 95 and Windows 98 guests: The first time you run a VMware Workstation 3 virtual machine under VMware Workstation 4, the guest operating system discovers
53
VMware Workstation 4 User’s Manual
new hardware and attempts to install drivers for it before it loads the CD-ROM driver. As a result, it is unable to load drivers from the operating system installation CD. In many cases, the drivers are already available in C:\Windows, C:\Windows\System or subdirectories under those two directories. However, a simpler approach is to skip any files that Windows does not find at this stage. Then, after the guest operating system has finished loading and is able to read from the CD­ROM, you can run the guest operating system’s Add Hardware Wizard and allow it to detect new hardware and install the appropriate drivers.
You need to install the new version of VMware Tools. If you have decided to upgrade the virtual hardware, do that after you finish installing VMware Tools.
Note: If you are upgrading a virtual machine that runs from a physical disk, rather than a virtual disk, you may see the following error message while VMware Workstation is upgrading the virtual hardware: “Unable to upgrade <drivename>. One of the supplied parameters is invalid.” You may safely click OK to continue the upgrade process.
If you upgrade the virtual hardware, you may then need to take several steps to be sure the new virtual hardware is recognized properly by the guest operating system. If your guest operating system is listed below, the instructions for that guest operating system provide examples of the steps you may need to take to perform these updates.
54
Windows XP Guest
The following steps provide examples of what you may see as your guest operating system recognizes the new virtual hardware. The specific steps may vary, depending on the configuration of the virtual machine.
1. Power on the virtual machine and let it update the CMOS.
2. Install the new version of VMware Tools. For details, see Installing VMware Tools
on page 83.
3. Shut down Windows and power off the virtual machine.
4. Choose VM > Upgrade Virtual Hardware.
5. A dialog box cautions you that the operation is irreversible and recommends that you back up the virtual disks before proceeding. If you are ready to proceed, click Ye s.
6. A dialog box displays a message describing what is about to happen. Click OK to continue.
7. Power on the virtual machine.
www.vmware.com
CHAPTER 3 Upgrading VMware Workstation
8. Windows detects the VMware SVGA adapter. Select Install the software automatically and follow the on-screen instructions.
9. A dialog box asks you to insert a disk. Navigate to C:\Program Files\VMware\drivers to install the VMware SVGA II adapter.
10. If you have serial ports configured in the virtual machine, go to the Windows Device Manager and uninstall all the COM ports listed there.
11. Restart the virtual machine.
12. Windows detects the COM ports and installs them properly.
Windows Me Guest
The following steps provide examples of what you may see as your guest operating system recognizes the new virtual hardware. The specific steps may vary, depending on the configuration of the virtual machine.
1. Power on the virtual machine and let it update the CMOS.
2. Plug and Play detects an Intel 82371 EB Power Management controller. Select Automatic search and click Next. Windows finds and installs the driver automatically.
3. Plug and Play detects an Intel 82443 BX Pentium II Processor to PCI bridge. Select Automatic search and click Next. Windows finds and installs the driver automatically.
4. Restart the guest operating system.
5. Plug and Play detects an Intel 82371 AB/EB PCI Bus Master IDE controller. Select Automatic search and click Next. Windows finds and install the driver automatically.
6. Install the new version of VMware Tools. For details, see Installing VMware Tools
on page 83.
7. Shut down Windows and power off the virtual machine.
8. Choose VM > Upgrade Virtual Hardware.
9. A dialog box cautions you that the operation is irreversible and recommends that you back up the virtual disks before proceeding. If you are ready to proceed, click Yes .
10. A dialog box displays a message describing what is about to happen. Click OK to continue.
11. Power on the virtual machine.
55
VMware Workstation 4 User’s Manual
12. Windows detects the PCI Multimedia Audio device and installs the driver for the Creative AudioPCI.
13. Windows detects an AMD PCNet adapter. Select Automatic search and click Next. Windows automatically installs the driver for the adapter.
14. Click Finish to restart the virtual machine.
15. Windows detects a Creative game port device and installs the driver automatically.
16. Windows detects a game port joystick and installs the driver automatically.
17. Windows detects the PCI SVGA adapter, then it detects the VMware SVGA II adapter and installs the driver automatically.
18. Click Ye s to restart the virtual machine.
19. If you have serial ports configured in the virtual machine, go to the Windows Device Manager and uninstall all the COM ports listed there.
20. Restart the virtual machine.
21. Windows detects the COM ports and installs them properly.
Windows 2000 Guest
The following steps provide examples of what you may see as your guest operating system recognizes the new virtual hardware. The specific steps may vary, depending on the configuration of the virtual machine.
1. Power on the virtual machine and let it update the CMOS.
2. Windows automatically installs the software for any devices it detects.
3. Install the new version of VMware Tools. For details, see Installing VMware Tools
on page 83.
4. Shut down Windows and power off the virtual machine.
5. Choose VM > Upgrade Virtual Hardware.
6. A dialog box cautions you that the operation is irreversible and recommends that you back up the virtual disks before proceeding. If you are ready to proceed, click Ye s.
7. A dialog box displays a message describing what is about to happen. Click OK to continue.
8. Power on the virtual machine.
9. Windows detects the PCI SVGA adapter, then it detects the VMware SVGA II adapter. Click Yes to continue installation.
56
www.vmware.com
10. A dialog box asks you to insert a disk. Navigate to C:\Program Files\VMware\drivers to install the VMware SVGA II adapter.
11. If you have serial ports configured in the virtual machine, go to the Windows Device Manager and uninstall all the COM ports listed there.
12. Restart the virtual machine.
13. Windows detects the COM ports and installs them properly.
Windows NT 4.0 Guest
1. Power on the virtual machine and let it update the CMOS.
2. Windows displays a message about the video driver in the guest operating system. Click OK.
3. Install the new version of VMware Tools. For details, see Installing VMware Tools
on page 83.
4. Restart Windows and confirm that it is operating correctly.
5. Shut down Windows and power off the virtual machine.
6. Choose VM > Upgrade Virtual Hardware.
7. A dialog box cautions you that the operation is irreversible and recommends that you back up the virtual disks before proceeding. If you are ready to proceed, click Yes .
8. A dialog box displays a message describing what is about to happen. Click OK to continue.
9. You can now power on the virtual machine and use the new configuration. Windows NT does not have a Plug and Play process, so no additional steps are required.
CHAPTER 3 Upgrading VMware Workstation
Windows 98 Guest
The following steps provide examples of what you may see as your guest operating system recognizes the new virtual hardware. The specific steps may vary, depending on the configuration of the virtual machine.
1. Power on the virtual machine and let it update the CMOS.
2. Windows detects an Intel 82371EB Power Management Controller. Go to C:\Windows\System for the necessary file.
3. Windows detects lpt.vxd. Go to C:\Windows\System for the necessary file.
57
VMware Workstation 4 User’s Manual
4. Windows detects an Intel 82443BX Pentium Processor to PCI bridge. Go to C:\Windows\System for the necessary file.
5. Windows detects an Intel 82371AB/EB PCI Bus Master IDE controller. Go to C:\Windows\System for the necessary file.
6. Windows detects an Intel 82371AB/EB PCI to USB Universal host controller. Go to C:\Windows\System for the necessary file.
7. Windows detects an AMD PCNET Family Ethernet Adapter. Go to C:\Windows\System for the necessary file.
8. Windows asks for the file uhcd.sys. Enter the location C:\Windows\System32\drivers, then click OK.
9. Windows asks for the file inetmib1.dll. Enter the location C:\Windows, then click OK.
10. Windows asks for the file locproxy.exe. Enter the location C:\Windows\System, then click OK.
11. Windows asks for the file ndishlp.sys. Enter the location C:\Windows, then click OK.
12. Windows asks for the file wsock.vxd. Enter the location C:\Windows\System, then click OK.
13. When you finish installing the AMD Family Ethernet Adapter, restart Windows 98.
14. Plug and Play detects multiple devices and restarts Windows 98.
15. After the virtual machine restarts, install the new version of VMware Tools. For details, see Installing VMware Tools on page 83.
16. Shut down Windows and power off the virtual machine.
17. Choose VM > Upgrade Virtual Hardware.
18. A dialog box cautions you that the operation is irreversible and recommends that you back up the virtual disks before proceeding. If you are ready to proceed, click Ye s.
19. A dialog box displays a message describing what is about to happen. Click OK to continue.
20. Power on the virtual machine. When Windows boots, it detects the PCI SVGA adapter. Later, it detects the Vmware SVGA II adapter and installs the driver for it automatically.
21. Windows detects PCI Multimedia Audio and offers to install a driver for it. Click Cancel.
58
www.vmware.com
CHAPTER 3 Upgrading VMware Workstation
22. Windows detects an AMD PCNET Family Ethernet adapter. Click Next.
23. Select Search for the best driver and click Next.
24. Select Specify a location, enter C:\Windows\System and click Next.
25. Select The updated driver (Recommended) AMD PCNET Family Ethernet Adapter (PCI-ISA). Click Next.
26. Windows finds the .inf file for the adapter. Click Next.
27. Windows asks for the file dhcpsvc.dll. Enter the location C:\Windows\System, then click OK.
28. Windows asks for the file inetmib1.dll. Enter the location C:\Windows, then click OK.
29. Windows asks for the file locproxy.exe. Enter the location C:\Windows\System, then click OK.
30. Windows asks for the file ndishlp.sys. Enter the location C:\Windows, then click OK.
31. Windows asks for the file wshtcp.vxd. Enter the location C:\Windows\System, then click OK.
32. A dialog box indicates that Windows has finished installing the software. Click Finish.
33. To install the sound adapter, follow the directions in Installing Sound Drivers in
Windows 9x and Windows NT Guest Operating Systems on page 269.
34. If you have serial ports configured in the virtual machine, go to the Windows Device Manager and uninstall all the COM ports listed there.
35. Restart the virtual machine.
36. Windows detects the COM ports and installs them properly.
Windows 95 Guest
The following steps provide examples of what you may see as your guest operating system recognizes the new virtual hardware. The specific steps may vary, depending on the configuration of the virtual machine.
1. Power on the virtual machine and let it update the CMOS.
2. Windows detects new devices and automatically installs the drivers. Restart the guest operating system after this process is complete.
3. When Windows restarts, it detects more new devices.
59
VMware Workstation 4 User’s Manual
4. Windows asks for the file lpt.vxd. Enter the location C:\Windows\System, then click OK.
5. Windows detects a PCI standard host bridge and other devices. Click OK to dismiss these dialog boxes. You do not need to install these drivers.
6. Click Finish.
7. Install the new version of VMware Tools. For details, see Installing VMware Tools
on page 83.
8. Shut down Windows and power off the virtual machine.
9. Choose VM > Upgrade Virtual Hardware.
10. A dialog box cautions you that the operation is irreversible and recommends that you back up the virtual disks before proceeding. If you are ready to proceed, click Ye s.
11. A dialog box displays a message describing what is about to happen. Click OK to continue.
12. Windows detects a PCI Multimedia Audio device. Click Cancel.
13. Windows detects a PCI Ethernet adapter, then the AMD Ethernet adapter. Windows automatically installs the driver.
14. To install the sound adapter, follow the directions in Installing Sound Drivers in
Windows 9x and Windows NT Guest Operating Systems on page 269.
15. If you have serial ports configured in the virtual machine, go to the Windows Device Manager and uninstall all the COM ports listed there.
16. Restart the virtual machine.
17. Windows detects the COM ports and installs them properly.
60
Red Hat Linux Guest
1. Power on the virtual machine and let it update the CMOS.
2. When Kudzu appears, follow the instructions to detect new hardware and install the proper drivers.
3. Shut down Linux and power off the virtual machine.
4. Choose VM > Upgrade Virtual Hardware.
5. A dialog box cautions you that the operation is irreversible and recommends that you back up the virtual disks before proceeding. If you are ready to proceed, click Ye s.
www.vmware.com
CHAPTER 3 Upgrading VMware Workstation
6. A dialog box displays a message describing what is about to happen. Click OK to continue.
7. Power on the virtual machine.
8. When Kudzu runs, it detects an Ensoniq:ES1371 [AudioPCI-97] sound device.
9. Click Configure.
Mandrake Linux Guest
1. Power on the virtual machine and let it update the CMOS.
2. When Kudzu appears, follow the instructions to detect new hardware and install the proper drivers.
3. Shut down Linux and power off the virtual machine.
4. Choose VM > Upgrade Virtual Hardware.
5. A dialog box cautions you that the operation is irreversible and recommends that you back up the virtual disks before proceeding. If you are ready to proceed, click Yes .
6. A dialog box displays a message describing what is about to happen. Click OK to continue.
7. Power on the virtual machine.
8. When Kudzu runs, it detects an Ensoniq:ES1371 [AudioPCI-97] sound device.
9. Click Configure.
Note: When using Kudzu, do not migrate the existing network configuration. If you try to do so, you see a blank screen. Instead, click No when asked if you want to migrate the existing network configuration.

Upgrading the Virtual Hardware in an Existing Virtual Machine

On the VM menu, choose Upgrade Virtual Hardware. A dialog box appears, warning that the upgrade process cannot be reversed. Click Yes to continue, then follow the on-screen directions.
Note: If you are upgrading a virtual machine that runs from a physical disk, rather than a virtual disk, you may see the following error message while VMware Workstation is upgrading the virtual hardware: “Unable to upgrade <drivename>. One of the supplied parameters is invalid.” You may safely click OK to continue the upgrade process.
Virtual Hardware Upgrade Is Irreversible
• The process of upgrading the virtual hardware is irreversible and makes the disks attached to this virtual machine incompatible with Workstation 2 or
3. You should make backup copies of your virtual disks before starting the upgrade.
61
VMware Workstation 4 User’s Manual
Using Virtual Machines Created
with Version 2 under Version 4
If you use an existing VMware Workstation 2 virtual machine under VMware Workstation 4, the virtual hardware is upgraded automatically. The upgrade 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).
The first time you power on the virtual machine under Workstation 4, a dialog box appears, offering the choice of upgrading the virtual hardware or powering off. If you want to make a backup copy of the virtual machine before upgrading the virtual hardware, power off and make the backup. Otherwise, allow VMware Workstation to upgrade the virtual hardware.
Note: If you are upgrading a virtual machine that runs from a physical disk, rather than a virtual disk, you may see the following error message while VMware Workstation is upgrading the virtual hardware: “Unable to upgrade <drivename>. One of the supplied parameters is invalid.” You may safely click OK to continue the upgrade process.
Upgrade VMware Tools to the new version following the instructions for your guest operating system in Installing VMware Tools on page 83. You should not remove the older version of VMware Tools before installing the new version.
62

Upgrading Virtual Hardware in the Guest Operating System

After upgrading the virtual hardware, you may need to take several steps to be sure the new virtual hardware is recognized properly by the guest operating system. If you are using a Windows 95, Windows 98 or Windows Me virtual machine created under VMware Workstation 2, take the steps listed under the name of your guest operating system.
With other guest operating systems, these special steps are not needed. Plug and Play should recognize the new virtual hardware and install any needed drivers smoothly.
Windows Me Guest
1. Power on the virtual machine.
2. Allow Workstation to upgrade the virtual hardware.
3. Click OK to dismiss the message “A legacy SVGA driver has been detected.”
www.vmware.com
CHAPTER 3 Upgrading VMware Workstation
4. Several Plug and Play messages appear. You can safely ignore them.
5. Log on to Windows Me. More Plug and Play messages appear. One refers to the VMware SVGA driver.
Click Ye s to restart your computer.
6. Log on to Windows Me. 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 two SVGA drivers.
8. Restart Windows Me.
A VMware SVGA II adapter is detected and Windows installs it.
Windows notifies you to restart your computer.
Click Ye s.
9. The SVGA driver should be working correctly.
10. Install the new version of VMware Tools. See Installing VMware Tools on page 83 for details.
Windows 98 Guest
1. Power on the virtual machine.
2. Allow Workstation to upgrade the virtual hardware.
3. Click OK to dismiss the message “A legacy SVGA driver has been detected.”
4. Log on to Windows 98. You see a number of Plug and Play messages. You may need to insert your Windows 98 installation CD.
5. A blue screen appears. Press any key to dismiss the blue screen.
6. Click Reset to restart the virtual machine (because it is not responding).
7. 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 .
8. Log on to Windows 98. The SVGA driver is not working properly.
9. From the Windows Start menu, choose Settings > Control Panel > System > Device Manager > Display Adapters.
Manually remove the two conflicting SVGA drivers.
63
VMware Workstation 4 User’s Manual
10. Restart Windows 98.
A VMware SVGA II adapter is detected and Windows installs it.
11. Restart Windows 98.
12. The SVGA driver should be working correctly.
13. Install the new version of VMware Tools. See Installing VMware Tools on page 83 for details.
Windows 95 Guest
1. Power on the virtual machine.
2. Allow Workstation to upgrade the virtual hardware.
3. Click OK to dismiss the message “A legacy SVGA driver has been detected.”
4. Log on to Windows 95.
You see a number of Plug and Play messages. Click Cancel for those listing the following devices: Standard host CPU bridge, PCI bridge and PCI Universal bus.
5. The SVGA driver is not working properly.
6. From the Windows Start menu, choose Settings > Control Panel > System > Device Manager > Display Adapters.
Manually remove the SVGA driver.
7. Restart Windows 95.
8. Again, you see a number of Plug and Play messages. Click Cancel for those listing the following devices: Standard host CPU bridge, PCI bridge and PCI Universal bus.
9. A VMware SVGA II adapter is detected and Windows installs it.
10. Restart Windows 95.
11. Once again, you see a number of Plug and Play messages. Again, click Cancel for those listing the following devices: Standard host CPU bridge, PCI bridge and PCI Universal bus.
12. The SVGA driver should be working correctly.
13. Install the new version of VMware Tools. See Installing VMware Tools on page 83 for details.
64
www.vmware.com
CHAPTER 3 Upgrading VMware Workstation
Check Windows 2000 Guest Operating System Selection
If your guest operating system is Windows 2000, update the setting in the virtual machine settings editor (VM > Settings > Options) to reflect the specific version of Windows 2000 you are running.
65
VMware Workstation 4 User’s Manual
66
www.vmware.com
CHAPTER 4

Creating a New Virtual Machine

The following sections describe how to create a new virtual machine and install VMware Tools:
Setting Up a New Virtual Machine on page 69
What’s in a Virtual Machine? on page 69
Simple Steps to a New Virtual Machine on page 70
Installing a Guest Operating System and VMware Tools on page 80
Installing Windows XP as a Guest Operating System on page 81
Installing VMware Tools on page 83
VMware Tools for Windows Guests on page 83
VMware Tools for Linux Guests on page 87
VMware Tools for FreeBSD Guests on page 89
Installing VMware Tools in a NetWare Virtual Machine on page 91
67
VMware Workstation 4 User’s Manual
VMware Tools Configuration Options on page 92
Using the System Console to Configure VMware Tools in a NetWare Guest
Operating System on page 94
68
www.vmware.com
CHAPTER 4 Creating a New Virtual Machine

Setting Up a New Virtual Machine

The New Virtual Machine Wizard guides you through the key steps for setting up a new virtual machine, helping you set various options and parameters. You can then use the virtual machine settings editor (VM > Settings) if you need to make any changes to your virtual machine’s setup.

What’s in a Virtual Machine?

The virtual machine typically is stored on the host computer in a set of files, all of which are in a directory set aside for that particular virtual machine. In these examples, <vmname> is the name of your virtual machine. The key files are:
<vmname>.vmx — the configuration file, which stores settings chosen in the New Virtual Machine Wizard or virtual machine settings editor. If you created the virtual machine under an earlier version of VMware Workstation on a Linux host, this file may have a .cfg extension.
nvram — the file that stores the state of the virtual machine’s BIOS.
<vmname>.vmdk — the virtual disk file, which stores the contents of the
virtual machine’s hard disk drive.
A virtual disk is made up of one or more .vmdk files. If you have specified that the virtual disk should be split into 2GB chunks, the number of .vmdk files depends on the size of the virtual disk. As data is added to a virtual disk, the .vmdk files grow in size, to a maximum of 2GB each. (If you specify that all space should be allocated when you create the disk, these files start at the maximum size and do not grow.) Almost all of a .vmdk file’s content is the virtual machine’s data, with a small portion allotted to virtual machine overhead.
If the virtual machine is connected directly to a physical disk, rather than to a virtual disk, the .vmdk file stores information about the partitions the virtual machine is allowed to access.
Note: Earlier VMware products used the extension .dsk for virtual disk files.
<vmname>.log or vmware.log — the file that keeps a log of key VMware Workstation activity. This file can be useful in troubleshooting if you encounter problems. This file is stored in the directory that holds the configuration (.vmx or .cfg) file of the virtual machine.
<vmname>.vmdk.REDO_xxxxxx — a redo-log file, created automatically when a virtual machine has a snapshot. This file stores changes made to a virtual disk while the virtual machine is running. There may be more than one such file.
69
VMware Workstation 4 User’s Manual
The xxxxxx indicates a unique suffix added automatically by VMware Workstation to avoid duplicate file names.
<vmname>.vmss — the suspended state file, which stores the state of a suspended virtual machine.
Note: Some earlier VMware products used the extension .std for suspended state files.
<vmname>.vmsn — the snapshot state file, which stores the running state of a virtual machine at the time you take a snapshot of it.
<vmname>.vmx.sav or <vmname>.cfg.sav — the configuration snapshot file, which stores the configuration of a virtual machine at the time you take a snapshot of it.
There may be other files as well, some of which are present only while a virtual machine is running.

Simple Steps to a New Virtual Machine

By default, the new virtual machine uses an IDE disk for Windows 95, Windows 98, Windows Me, Windows XP, Windows Server 2003, NetWare and FreeBSD guests. The default for other guest operating systems is a SCSI disk.
Follow these steps to create a virtual machine using a virtual disk.
1. Start VMware Workstation.
Windows hosts: Double-click the VMware Workstation icon on your desktop or use the Start menu (Start > Programs > VMware > VMware Workstation).
Linux hosts: In a terminal window, enter the command
vmware &
2. If this is the first time you have launched VMware Workstation and you did not enter the serial number when you installed the product (an option available on a Windows host), you are prompted to enter it. The serial number is on the registration card in your package or in the email message confirming your electronic distribution order. Enter your serial number and click OK.
The serial number you enter is saved and VMware Workstation does not ask you for it again. For your convenience, VMware Workstation automatically sends the serial number to the VMware Web site when you use certain Web links built into the product (for example, Help > VMware on the Web > Register Now! and Help > VMware on the Web > Request Support). This allows us to direct you to the correct Web page to register and get support for your product.
70
www.vmware.com
CHAPTER 4 Creating a New Virtual Machine
3. Linux hosts: If this is the first time you have launched VMware Workstation, a dialog box asks if you want to rename existing virtual disks using the new .vmdk extension. Click OK to search all local drives on the host computer and make this change. (On Windows hosts, you have a chance to rename virtual disk files when you are installing VMware Workstation.)
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, you should resume and shut down all suspended virtual machines before you upgrade to Workstation 4.
In addition to renaming files, the converter updates the corresponding virtual machine configuration files so they identify the virtual disks using the new filenames.
If you store your virtual disk files or suspended state files on a Windows XP or Windows Server 2003 host — or if you may do so in the future — it is important to convert the filenames to avoid conflicts with the System Restore feature of Windows XP and Windows Server 2003.
4. Start the New Virtual Machine Wizard.
When you start VMware Workstation, you can open an existing virtual machine or create a new one. Choose File > New Virtual Machine to begin creating your virtual machine.
5. The New Virtual Machine 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.
6. Select the method you want to use for configuring your virtual machine.
Linux Hosts: One Chance to Rename Disk Files
• The Rename Virtual Disks dialog box appears only once. If you click Cancel, you will not have another opportunity to update the filenames and configuration files automatically.
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
71
VMware Workstation 4 User’s Manual
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 specify 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
Allocate all the space for a virtual disk at the time you create it
Choose whether to split a virtual disk into 2GB files
Use a physical disk rather than a virtual disk (for expert users)
Set memory options that are different from the defaults
7. Select a guest operating system.
72
This screen asks which operating system you plan to install in the virtual machine. Select both an operating system and a version.
The New Virtual Machine Wizard uses this information to select appropriate default values, such as the amount of memory needed. The wizard also uses this information when naming associated virtual machine files.
If the operating system you plan to use is not listed, select Other for both guest operating system and version.
The remaining steps assume you plan to install a Windows XP Professional guest operating system. You can find detailed installation notes for this and other guest operating systems in the VMware Guest Operating System Installation Guide, available from the VMware Web site or from the Help menu.
www.vmware.com
8. Select a name and folder for the virtual machine.
The name specified here is used if you add this virtual machine to the VMware Workstation Favorites list. This name 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.
Windows hosts: On Windows 2000, Windows XP and Windows Server 2003, the default folder for this Windows XP Professional virtual machine is
C:\Documents and Settings\<username>\My Documents\My Virtual Machines\Windows XP Professional. On Windows NT, the default folder is C:\WINNT\Profiles\<username>\Personal\My Virtual Machines\Windows XP Professional.
Linux hosts: The default location for this Windows XP Professional virtual machine is <homedir>/vmware/winXPPro, where <homedir> is the home directory of the user who is currently logged on.
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 other 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 146.
9. If you selected Typical as your configuration path, skip to step 10.
CHAPTER 4 Creating a New Virtual Machine
73
VMware Workstation 4 User’s Manual
If you selected Custom as your configuration path, you may adjust the memory settings or accept the defaults, then click Next to continue.
In most cases, it is best to keep the default memory setting. If you plan to use the virtual machine to run many applications or applications that need high amounts of memory, you may want to use a higher memory setting. For more information, see Virtual Machine Memory Size on page 317.
Note: You cannot allocate more than 2GB of memory to a virtual machine if the virtual machine’s files are stored on a file system such as FAT32 that does not support files greater than 2GB.
10. Configure the networking capabilities of the virtual machine.
74
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 network adapter on a Linux host (as bridged networking on wireless network adapters is supported only on
www.vmware.com
Windows hosts). NAT also allows you to share files between the virtual machine and the host operating system.
For more details about VMware Workstation networking options, see
Configuring a Virtual Network on page 207.
11. 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 below to configure a disk for your virtual machine.
12. Select the type of SCSI adapter you want to use with the virtual machine.
CHAPTER 4 Creating a New Virtual Machine
An IDE and a SCSI adapter are installed in the virtual machine. The IDE adapter is always ATAPI. You can choose a BusLogic or an LSI Logic SCSI adapter. The default for your guest operating system is already selected. All guests except for Windows Server 2003, Red Hat Enterprise Linux 3 and NetWare default to the BusLogic adapter.
The LSI Logic adapter has improved performance and works better with generic SCSI devices. The LSI Logic adapter is also supported by ESX Server 2 virtual machines, but not by virtual machines created with lower versions. Keep this in mind if you plan to migrate the virtual machine to another VMware product.
Your choice of SCSI adapter does not affect your decision to make your virtual disk an IDE or SCSI disk. However, most guest operating systems do not include a driver for the LSI Logic adapter; you must download the driver from the LSI Logic Web site. See the VMware Guest Operating System Installation Guide for details about the driver and the guest operating system you plan to install in this virtual machine.
75
VMware Workstation 4 User’s Manual
13. Select the disk you want to use with the virtual machine.
Select Create a new virtual disk.
Virtual disks are the best choice for most virtual machines. They are quick and easy to set up and can be moved to new locations on the same host computer or to different host computers. By default, virtual disks start as small files on the host computer’s hard drive, then expand as needed — up to the size you specify in the next step. The next step also allows you to allocate all the disk space when the virtual disk is created, if you wish.
To use an existing operating system on a physical hard disk (a “raw” disk), read
Configuring a Dual-Boot Computer for Use with a Virtual Machine on page 172.
To install your guest operating system directly on an existing IDE disk partition, read the reference note Installing an Operating System onto a Raw Partition from
a Virtual Machine on page 193.
Caution: Raw disk configurations are recommended only for expert users.
Caution: If you are using a Windows Server 2003, Windows XP or Windows 2000
host, see Do Not Use Windows 2000, Windows XP and Windows Server 2003
Dynamic Disks as Raw Disks on page 187.
To install the guest operating system on a raw IDE disk, select Existing IDE Disk Partition. To use a raw SCSI disk, add it to the virtual machine later with the virtual machine settings editor. Booting from a raw SCSI disk is not supported. For a discussion of some of the issues involved in using a raw SCSI disk, see
Configuring Dual- or Multiple-Boot SCSI Systems to Run with VMware Workstation on a Linux Host on page 187.
76
www.vmware.com
14. Select whether to create an IDE or SCSI disk.
The wizard recommends the best choice based on the guest operating system you selected. All Linux distributions you can select in the wizard use SCSI virtual disks by default, as do Windows NT, Windows 2000, Windows Server 2003 and Longhorn. All Windows operating systems except Windows NT, Windows 2000, Windows Server 2003 and Longhorn use IDE virtual disks by default; NetWare, FreeBSD, MS-DOS and other guests default to IDE virtual disks.
15. Specify the capacity of the virtual disk.
CHAPTER 4 Creating a New Virtual Machine
Enter the size of the virtual disk that you wish to create.
If you wish, select Allocate all disk space now.
Allocating all the space at the time you create the virtual disk gives somewhat better performance, but it requires as much disk space as the size you specify for the virtual disk.
If you do not select this option, 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 0.1GB and 256GB for a SCSI virtual disk or 128GB for an IDE virtual disk. The default is 4GB.
77
VMware Workstation 4 User’s Manual
You may also specify whether you want the virtual disk created as one large file or split into a set of 2GB files. You should split your virtual disk if it is stored on a FAT32 file system.
16. Specify the location of the virtual disk’s files.
If you want to specify which device node should be used by your SCSI or IDE virtual disk, click Advanced.
78
On the advanced settings screen, you can also specify a disk mode. This is useful in certain special-purpose configurations in which you want to exclude disks from the snapshot. For more information on the snapshot feature, see Using the
Snapshot on page 201.
Normal disks are included in the snapshot. In most cases, you should use normal disks, leaving Independent unchecked.
Independent disks are not included in the snapshot.
Caution: The independent disk option should be used only by advanced users who need it for special-purpose configurations.
You have the following options for an independent disk:
Persistent — changes are immediately and permanently written to the disk.
www.vmware.com
Nonpersistent — changes to the disk are discarded when you power off the
virtual machine.
When you have set the filename and location you want to use and have made any selections you want to make on the advanced settings screen, click Finish.
17. Click Finish. The wizard sets up the files needed for your virtual machine.
CHAPTER 4 Creating a New Virtual Machine
79
VMware Workstation 4 User’s Manual
Installing a Guest Operating System
and VMware Tools
A new virtual machine is like a physical computer with a blank hard disk. Before you can use it, you need to partition and format the virtual disk and install an operating system. The operating system’s installation program may handle the partitioning and formatting steps for you.
Installing a guest operating system inside your VMware Workstation virtual machine is essentially the same as installing it on a physical computer. The basic steps for a typical operating system are:
1. Start VMware Workstation.
2. Insert the installation CD-ROM or floppy disk for your guest operating system.
Note: In some host configurations, the virtual machine is not able to boot from the installation CD-ROM. You can work around that problem by creating an ISO image file from the installation CD-ROM. Use the virtual machine settings editor to connect the virtual machine’s CD drive to the ISO image file, then power on the virtual machine.
3. Power on your virtual machine by clicking the Power On button.
4. Follow the instructions provided by the operating system vendor.
The next section provides notes on installing a Windows XP guest operating system. The screen shots illustrate the process on a Windows host. The steps are the same on a Linux host.
For information on installing other guest operating systems, see the VMware Guest Operating System Installation Guide, available from the VMware Web site or from the Help menu.
80
www.vmware.com
Installing Windows XP as
a Guest Operating System
You can install Windows XP Home Edition or Windows XP Professional in a virtual machine using the full installation CD.
Before installing the operating system, be sure that you have already created a new virtual machine and configured it using the New Virtual Machine Wizard.
Note: To use SCSI disks in a Windows XP virtual machine, you need a special SCSI driver available from the download section of the VMware Web site atwww.vmware.com/download. Follow the instructions on the Web site to use the driver with a fresh installation of Windows XP.
Installation Steps
1. Insert the Windows XP CD in the CD-ROM drive.
Note: If you plan to use a PXE server to install the guest operating system over a network connection, you do not need the operating system installation media. When you power on the virtual machine in the next step, the virtual machine detects the PXE server.
2. Power on the virtual machine to start installing Windows XP.
CHAPTER 4 Creating a New Virtual Machine
81
VMware Workstation 4 User’s Manual
3. Follow the Windows XP installation steps as you would for a physical computer.
82
www.vmware.com
CHAPTER 4 Creating a New Virtual Machine

Installing VMware Tools

The installers for VMware Tools for Windows, Linux, FreeBSD and NetWare guest operating systems are built into VMware Workstation as ISO image files. (An ISO image file looks like a CD-ROM to your guest operating system and even appears as a CD­ROM in Windows Explorer. 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.)
VMware Tools for Windows supports Windows 95, Windows 98, Windows Me, Windows NT 4.0, Windows 2000, Windows XP and Windows Server 2003 guest operating systems.
When you choose VM > Install VMware Tools from the VMware Workstation menu, VMware Workstation temporarily connects the virtual machine’s first virtual CD-ROM drive to the ISO image file that contains the VMware Tools installer for your guest operating system and you are ready to begin the installation process.

VMware Tools for Windows Guests

The detailed steps for installing VMware Tools depend on the version of Windows you are running. The steps that follow show how to install VMware Tools in a Windows XP guest. Some steps that are automated in newer versions of Windows must be performed manually in Windows 9x and Windows NT.
Note: If you are running VMware Workstation on a Windows host, and your virtual machine has only one CD-ROM drive, the CD-ROM drive must be configured as an IDE or SCSI CD-ROM drive. It cannot be configured as a generic SCSI device.
To add an IDE or SCSI CD-ROM drive, see Adding, Configuring and Removing Devices
in a Virtual Machine on page 123. For information about generic SCSI, see Connecting to a Generic SCSI Device on page 302.
Installing VMware Tools in a Windows Guest Operating System
1. Power on the virtual machine.
2. When the guest operating system starts, prepare your virtual machine to install VMware Tools.
Choose VM > Install VMware Tools.
The remaining steps take place inside the virtual machine.
Note: You must log in to a Windows NT, Windows 2000, Windows XP, Windows Server 2003 or Longhorn guest operating system as an administrator in order to install
Don’t Forget VMware Tools
• It is very important that you install VMware Tools in the guest operating system.
• With the VMware Tools SVGA driver installed, Workstation supports significantly faster graphics performance.
•The VMware Tools package provides support required for shared folders and for drag and drop operations.
• Other tools in the package support synchronization of time in the guest operating system with time on the host, automatic grabbing and releasing of the mouse cursor, copying and pasting between guest and host, and improved mouse performance in some guest operating systems.
83
VMware Workstation 4 User’s Manual
VMware Tools. Any user can install VMware Tools in a Windows 95, Windows 98 or Windows Me guest operating system.
3. If you have autorun enabled in your guest operating system (the default setting for Windows operating systems), a dialog box appears after a few seconds. It asks if you want to install VMware Tools. Click Yes to launch the InstallShield wizard.
If autorun is not enabled, the dialog box does not appear automatically. If it doesn’t appear, run the VMware Tools installer. Click Start > Run and enter D:\setup\setup.exe where D: is your first virtual CD-ROM drive.
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 and even appears as a CD-ROM in Windows Explorer. This image contains all the files needed to install VMware Tools in your guest operating system. When you finish installing VMware Tools, this image file no longer appears in your CD-ROM drive.
84
4. Follow the on-screen instructions.
5. On Windows Server 2003, Windows Me, Windows 98 SE and Windows 98 guests, the SVGA driver is installed automatically and the guest operating system uses it after it reboots. With Windows 2000 and Windows XP guests, you do not have to reboot to use the new driver.
www.vmware.com
CHAPTER 4 Creating a New Virtual Machine
Additional Steps for Some Versions of Windows When Migrating from Old Disk Versions
If you are migrating a VMware Workstation 2 disk to VMware Workstation 4 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 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 below 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 Ye s 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 Ye s 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.
85
VMware Workstation 4 User’s Manual
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.
9. Click Next to install the driver.
If you are upgrading a virtual machine created under VMware Workstation 2, you may see a dialog box that warns, “The driver you are installing is not specifically designed for the hardware you have.… Do you wish to continue?” Click Ye s.
After the driver is installed, click Finish.
10. Click Ye s to restart Windows Me and start using the new video driver.
11. The VMware Tools background application starts automatically when you reboot your virtual machine.
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 Ye s to the on-screen question, then click Next to install the driver. After the driver is installed, click Finish.
86
www.vmware.com
CHAPTER 4 Creating a New Virtual Machine
10. Click Close in the SVGA Properties dialog box, then click Close in the Display Settings dialog box.
11. Click Ye s 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.
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. The Select Device dialog box appears.
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 Ye s 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.

VMware Tools for Linux Guests

1. Power on the virtual machine.
2. After the guest operating system has started, prepare your virtual machine to install VMware Tools.
Choose VM > Install VMware Tools.
The remaining steps take place inside the virtual machine.
3. Be sure the guest operating system is running in text mode. You cannot install VMware Tools from a terminal in an X window session.
Some recent distributions of Linux are configured to run the X server when they boot and do not provide an easy way to stop the X server. However, you can
87
VMware Workstation 4 User’s Manual
switch to a different workspace that is still in text mode and install VMware Tools from that workspace.
To switch between Linux workspaces in a virtual machine, press Ctrl-Alt-Space, release Space without releasing Ctrl and Alt, then press the function key for the workspace you want to use — for example, F2. If you change your hot key combination to something other than Ctrl-Alt, use that new combination with Space and the function key.
4. As root (su -), mount the VMware Tools virtual CD-ROM image, change to a working directory (for example, /tmp), uncompress the installer, then unmount the CD-ROM image.
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.
Note: Some Linux distributions use different device names or organize the /dev directory differently. If your CD-ROM drive is not /dev/cdrom, modify the following commands to reflect the conventions used by your distribution.
mount /dev/cdrom /mnt cd /tmp tar zxf /mnt/vmware-linux-tools.tar.gz umount /mnt
5. Run the VMware Tools installer.
cd vmware-tools-distrib ./vmware-install.pl
Respond to the questions the installer displays on the screen. Be sure to respond yes when the installer offers to run the configuration program.
6. Log out of the root account.
exit
7. Start X and your graphical environment.
8. In an X terminal, launch the VMware Tools background application.
vmware-toolbox &
Note: You may run VMware Tools as root or as a normal user. To shrink virtual disks, you must run VMware Tools as root (su -).
88
www.vmware.com
CHAPTER 4 Creating a New Virtual Machine
Starting VMware Tools Automatically
You may find it helpful to configure your guest operating system so VMware Tools starts when you start your X server. The steps for doing so vary depending on your Linux distribution and your desktop environment. Check your operating system documentation for the appropriate steps to take.
For example, in a Red Hat Linux 7.1 guest using GNOME, follow these steps.
1. Open the Startup Programs panel in the GNOME Control Center.
Main Menu (click the foot icon in the lower left corner of the screen) > Programs > Settings > Session > Startup Programs
2. Click Add.
3. In the Startup Command field, enter vmware-toolbox.
4. Click OK, click OK again, then close the GNOME Control Center.
The next time you start X, VMware Tools starts automatically.
Uninstalling VMware Tools
If you need to remove VMware Tools from your Linux guest operating system, log on as root (su -) and run the following command:
vmware-uninstall-tools.pl

VMware Tools for FreeBSD Guests

1. Power on the virtual machine.
2. Prepare your virtual machine to install VMware Tools.
Choose VM > Install VMware Tools.
The remaining steps take place inside the virtual machine, not on the host computer.
3. Be sure the guest operating system is running in text mode. You cannot install VMware Tools while X is running.
4. As root (su -), mount the VMware Tools virtual CD-ROM image, change to a working directory (for example, /tmp), uncompress the installer, then unmount the CD-ROM image.
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.
89
VMware Workstation 4 User’s Manual
mount /cdrom cd /tmp tar zxf /cdrom/vmware-freebsd-tools.tar.gz umount /cdrom
5. Run the VMware Tools installer.
cd vmware-tools-distrib ./vmware-install.pl
6. Log out of the root account.
exit
7. Start X and your graphical environment
8. In an X terminal, launch the VMware Tools background application.
vmware-toolbox &
Note: 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, take 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 installation script.
cd /cdrom/compat3x ./install.sh
90
www.vmware.com
CHAPTER 4 Creating a New Virtual Machine

Installing VMware Tools in a NetWare Virtual Machine

1. Power on the virtual machine.
2. Prepare your virtual machine to install VMware Tools.
Choose VM > Install VMware Tools.
The remaining steps take place inside the virtual machine.
3. Load the CD-ROM driver so the CD-ROM device mounts the ISO image as a volume. Do one of the following.
In the system console for a NetWare 6.5 virtual machine, type
LOAD CDDVD
In the system console for a NetWare 6.0 or NetWare 5.1 virtual machine, type
LOAD CD9660.NSS
4. When the driver finishes loading, you can begin installing VMware Tools. In the system console, type
vmwtools:\setup.ncf
When the installation finishes, the message VMware Tools for NetWare are now running appears in the Logger Screen (NetWare 6.5 and NetWare
6.0 guests) or the Console Screen (NetWare 5.1 guests).
5. Restart the guest operating system. In the system console, type
restart server
After you install VMware Tools, make sure the VMware Tools virtual CD-ROM image (netware.iso) is not attached to the virtual machine. If it is, disconnect it. Right­click the CD-ROM icon in the status bar of the console window and select Disconnect.
91
VMware Workstation 4 User’s Manual

VMware Tools Configuration Options

This section shows the options available in a Windows XP guest operating system. Similar configuration options are available in VMware Tools for other guest operating systems.
When VMware Tools is running, an icon with the VMware boxes logo appears in the guest operating system’s system tray.
To open the VMware Tools control panel, double-click the VMware Tools icon in the system tray.
If the VMware Tools icon does not appear in the system tray, go to Start > Control Panel. Locate the VMware Tools icon and double-click it.
92
The Options tab shows the Miscellaneous Options.
Time synchronization between the virtual machine and the host operating system
Note: You can synchronize the time in the guest operating system with the time on the host operating system only when you set the clock in the guest operating system to a time earlier than the time set on the host.
Under some circumstances, the virtual machine may synchronize time with the host even though this item is not selected. If you want to disable time synchronization completely, open the virtual machine's configuration file (.vmx) in a text editor and set the following options to FALSE.
tools.syncTime tools.synchronize.restore time.synchronize.resume.disk time.synchronize.continue time.synchronize.shrink
www.vmware.com
CHAPTER 4 Creating a New Virtual Machine
Show VMware Tools in the taskbar
The Devices tab allows you to enable or disable removable devices. (You can also set these options from the Edit menu of the VMware Workstation application.)
The Scripts tab (available only in Windows guests) lets you enable, disable and run scripts that are associated with the Suspend, Resume, Power On and Power Off buttons.
Windows hosts: If the virtual machine is configured to use DHCP, the script executed when suspending a virtual machine releases the IP address of the virtual machine. The script executed when resuming a virtual machine renews the IP address of the virtual machine.
Linux hosts: The script executed when suspending a virtual machine stops networking for the virtual machine. The script executed when resuming a virtual machine starts networking for the virtual machine.
To run one of these scripts at some other time, select the script you want from the drop-down menu, then click Run Now.
To disable all scripts, deselect Use Scripts.
Note: Scripts cannot be run in Windows 95, NetWare and FreeBSD guest operating systems.
93
VMware Workstation 4 User’s Manual
Note: Scripts in Windows NT and Windows Me guest operating systems do not release and renew the IP address.
The Shared Folders tab provides information on where to find your shared folders.
For more information on shared folders, see Using Shared Folders on page 115.
94
The Shrink tab gives you access to the controls you need if you wish to reclaim unused space in a virtual disk.
In some configurations, it is not possible to shrink virtual disks. If your virtual machine uses such a configuration, the Shrink tab displays information explaining why you cannot shrink your virtual disks.

Using the System Console to Configure VMware Tools in a NetWare Guest Operating System

You can configure certain virtual machine options such as time synchronization, CPU idling and device configuration with VMware Tools in a NetWare virtual machine using the system console. The VMware Tools command line program is called vmwtool. To see the options associated with this command, at the system console, type
vmwtool help
www.vmware.com
CHAPTER 4 Creating a New Virtual Machine
Summary of VMware Tools Commands for a NetWare Guest
Each command in the following table must be entered into the system console after the VMware Tools command vmwtool. Use the following format:
vmwtool <command>
vmwtool Command Definition
help Displays a summary of VMware Tools commands and options in
a NetWare guest.
partitonlist Displays a list of all disk partitions in the virtual disk and whether
or not a partition can be shrunk.
shrink <partition> Shrinks the listed partitions. If no partitions are specified, then all
partitions in the virtual disk are shrunk.
The status of the shrink process appears at the bottom of the system console.
devicelist Lists each removable device in the virtual machine, its device ID
and whether the device is enabled or disabled. Removable devices include the virtual network adapter, CD-ROM and floppy drives.
disabledevice <device name>
enabledevice <device name>
synctime [on|off] Lets you turn on or off synchronization of time in the guest
idle [on|off] Lets you turn on or off the CPU idler. By default, the idler is
Disables the specified device or devices in the virtual machine. If no device is specified, then all removable devices in the virtual machine are disabled.
Enables the specified device or devices in the virtual machine. If no device is specified, then all removable devices in the virtual machine are enabled.
operating system with time on the host operating system. By default, time synchronization is turned off.
Use this command without any options to view the current time synchronization status.
You can synchronize the time in the guest operating system with time on the host operating system only when the time in the guest operating system is earlier than the time set in the host.
turned on. The CPU idler program is included in VMware Tools for NetWare guests.
The idler program is needed because 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.
95
VMware Workstation 4 User’s Manual
96
www.vmware.com
CHAPTER 5

Running VMware Workstation

After you have installed VMware Workstation, a guest operating system and VMware Tools, how do you run your virtual machine? The following sections give you highlights of the most common tasks.
Overview of the VMware Workstation Window on page 99
Starting a Virtual Machine on page 105
Starting a Virtual Machine on a Windows Host on page 105
Starting a Virtual Machine on a Linux Host on page 106
Checking the Status of VMware Tools on page 108
Controlling the Display on page 109
Using Full Screen Mode on page 109
Using Quick Switch Mode on page 109
Taking Advantage of Multiple Monitors on page 110
Fitting the VMware Workstation Window to the Virtual Machine on page 110
97
VMware Workstation 4 User’s Manual
Fitting a Windows Guest Operating System’s Display to the VMware
Workstation Window on page 111
Simplifying the Screen Display on page 111
Installing New Software on page 113
Cutting, Copying and Pasting Text on page 114
Using Shared Folders on page 115
Using Drag and Drop on page 118
Suspending and Resuming Virtual Machines on page 119
Taking and Reverting to a Snapshot on page 120
Shutting Down a Virtual Machine on page 121
Removing a Virtual Machine on page 122
Using Devices in a Virtual Machine on page 123
Adding, Configuring and Removing Devices in a Virtual Machine on page 123
Connecting and Disconnecting Removable Devices on page 123
Creating a Screen Shot of a Virtual Machine on page 125
Checking for Product Updates on page 126
Setting Preferences for VMware Workstation on page 127
Command Reference on page 131
Startup Options on a Linux Host on page 131
Startup Options on a Windows Host on page 131
Keyboard Shortcuts on page 132
For purposes of illustration, the examples in these sections use a Windows XP guest operating system. Some commands used in the illustrations are different from those used in other guest operating systems.
98
www.vmware.com
CHAPTER 5 Running VMware Workstation
Overview of the VMware Workstation
Window
Think of your VMware Workstation virtual machine as a separate computer that runs in a window on your physical computer's desktop. The Workstation window lets you run multiple virtual machines and switch easily from one to another.
When no virtual machine is running, you see the VMware Workstation home page. Use the icons on the home page to start creating a new virtual machine or open an existing virtual machine.
One Window or Many — Your Choice
• In VMware Workstation 4, you can open multiple virtual machines in the same Workstation window. Or you can launch multiple instances of VMware Workstation. You can even run multiple instances of VMware Workstation and have more than one virtual machine in each window. Just be sure you have enough memory and processor power to handle the number of virtual machines you want to run.
99
VMware Workstation 4 User’s Manual
To close the home page, click the X to the right of the tabs on a Windows host or the X on the tab on a Linux host. To display the home page again, choose View > Go to Home Tab.
100
VMware Workstation main window on a Windows host
www.vmware.com
Loading...