VmWare: Unterschied zwischen den Versionen

Aus Doku-Wiki
Zur Navigation springenZur Suche springen
Zeile 5: Zeile 5:
 
(Achtung: Kernel-Header des installierten Kernels verwenden)
 
(Achtung: Kernel-Header des installierten Kernels verwenden)
 
  apt-get install make binutils cpp cpp-3.3 gcc-3.3 autoconf automake gcc kernel-headers-2.6-386
 
  apt-get install make binutils cpp cpp-3.3 gcc-3.3 autoconf automake gcc kernel-headers-2.6-386
 +
 
  mkdir -p /usr/src/linux
 
  mkdir -p /usr/src/linux
 +
 
  ln -s /usr/src/kernel-headers-2.6.8-2/include /usr/src/linux/include
 
  ln -s /usr/src/kernel-headers-2.6.8-2/include /usr/src/linux/include
  

Version vom 23. März 2007, 16:07 Uhr

VmWare-Tools

Installation

TAR-File am Beispiel von Debian Sarge

Benötigte Debian-Packete:
(Achtung: Kernel-Header des installierten Kernels verwenden)

apt-get install make binutils cpp cpp-3.3 gcc-3.3 autoconf automake gcc kernel-headers-2.6-386

mkdir -p /usr/src/linux

ln -s /usr/src/kernel-headers-2.6.8-2/include /usr/src/linux/include

Nun in der VMware-console bzw. im Menue von VMware-Workstation auf VM -> Install VMware Tools... klicken.
Jetz wird dem Gast-System vom Host die Installationspackete an der CD/DVD Schnittstelle bereit gestellt.
Diese können mittels Mount-Befehl ins System eingebunden werden:

mount /dev/cdrom /mnt 

und dann folgende Befehle auf der Konsole im Linux-System ausführen:

mkdir /mnt/vmware mount /dev/cdrom /mnt/vmware

cd /tmp/ tar xvzf /mnt/vmware/VMwareTools*.tar.gz cd vmware-tools-distrib/ ./vmware-install.pl

/etc/init.d/networking stop rmmod pcnet32 rmmod vmxnet depmod -a modprobe vmxnet /etc/init.d/networking start

Dokumentation

VMWare Online

Problembehebung

CPU Takt-Erkennung

To work around this problem, specify the correct maximum CPU speed in your global configuration file:

Find the speed of your host's CPU. For example, in Windows XP, right click My Computer, then
choose Properties. This path may be different, depending on the version of Windows you use.

Look for config.ini in one of the following locations:

C:\Documents and Settings\All Users\Application Data\VMware\VMware Workstation\config.ini

C:\Documents and Settings\All Users\Application Data\VMware\VMware GSX Server\config.ini

C:\Documents and Settings\All Users\Application Data\VMware\VMware Server\config.ini

C:\ProgramData\VMware\VMware Workstation
(on a Windows Vista host running Workstation 6.0)


Note: If the file does not exist, create it as a plain text file in the appropriate location as described above, then edit it as follows. For more detail, see "Creating and Editing config.ini on Windows Hosts" at http://kb.vmware.com/kb/1754.

Edit config.ini, adding the lines described below.

The example presented here assumes that the host computer has a maximum speed of 1700MHz. The
first line is the most important one. It should be your host computer's maximum speed in
KHz—that is, its speed in MHz times 1000, or its speed in GHz times 1000000.

host.cpukHz = "1700000"
host.noTSC = "TRUE"
ptsc.noTSC = "TRUE"

The second and third lines enable a mechanism that tries to keep the guest clock accurate even when the time stamp counter (TSC) is slow.
Note: On Windows, you can use Notepad, but be careful when you save the file that Notepad does not add an extra .txt extension to the filename. You can do that by selecting All files instead of Text files in the Save dialog box.

In addition, check the VMware Tools control panel in the guest operating system. On the Options tab, ensure that Time synchronization between the virtual machine and the host operating system is selected.