P. 1
The Complete Guide to VMware Workstation

The Complete Guide to VMware Workstation

|Views: 239|Likes:
Published by nassbash

More info:

Published by: nassbash on Sep 18, 2009
Copyright:Attribution Non-commercial


Read on Scribd mobile: iPhone, iPad and Android.
download as PDF, TXT or read online from Scribd
See more
See less





When you reboot your machine, the running kernel has no modules until the automatic module loader or some
other mechanism loads them. Since VMware needs the vmmon module and can’t load it when you’re running
as a user, a script loads it automatically at boot time. For networking features, the script activates the vmnet
module and starts the DHCP and SAMBA host−only utilities.

If your Linux system uses the System V init program, your boot scripts are in /etc/init.d or /etc/rc.d/init.d. The
VMware installer places a new vmware script in this directory. To start the services manually, become root
and (assuming that your init.d directory is /etc/init.d) run the following:

/etc/init.d/vmware start

To stop the services, use this command:

/etc/init.d/vmware stop

To get the current status of the VMware subsystems, including the number of virtual machines currently
active, enter

/etc/init.d/vmware status

Note For a Red Hat system, use /etc/rc.d/init.d/vmware instead of /etc/init.d/vmware.
To enable automatic startup of boot scripts, Linux has several runlevels, and you can customize your boot
sequence for each. The runlevel directories are in /etc/rcN.d or /etc/rc.d/rcN.d, where N is a number between 0
and 6. Look at /etc/inittab to find your default runlevel; it’s under the initdefault keyword.

Chapter 3: Installing VMware Workstation


The VMware installer looks for the default runlevel directory and places a S90vmware link there to the
vmware script in your init.d directory. With this link in place, init runs the vmware script with the start
parameter so when your system boots, your VMware services start. Similarly, the installer looks for your
system shutdown runlevel (usually 6) and places a K08vmware link there, shutting off services in an orderly
system shutdown.

Because the installer uses the init.d/vmware system boot script on an upgrade, this boot script looks a little
different than a normal init.d script. The init.d/vmware script also defines several utility functions before
actually starting or stopping the VMware subsystems.

If you don’t know much about the Bourne shell, you probably won’t want to change (or even look at) the boot
script. All you need to know is that it loads the vmmon, vmnet, and vmppuser modules and then starts
VMware’s version of dhcpd and SAMBA on the host−only or NAT networks.

You're Reading a Free Preview

/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->