Vmware Workstation/Vmware Workstation 6.0.1 unter Ubuntu 7.10 Gutsy Gibbon
Installation
$ tar xzf VMware-workstation-6.0.1-55017.i386.tar.gz $ cd vmware-distrib/ $ su # ./vmware-install.pl Creating a new VMware Workstation installer database using the tar4 format. Installing VMware Workstation. In which directory do you want to install the binary files? [/usr/bin] What is the directory that contains the init directories (rc0.d/ to rc6.d/)? [/etc] What is the directory that contains the init scripts? [/etc/init.d] In which directory do you want to install the daemon files? [/usr/sbin] In which directory do you want to install the library files? [/usr/lib/vmware] The path "/usr/lib/vmware" does not exist currently. This program is going to create it, including needed parent directories. Is this what you want? [yes] In which directory do you want to install the manual files? [/usr/share/man] In which directory do you want to install the documentation files? [/usr/share/doc/vmware] The path "/usr/share/doc/vmware" does not exist currently. This program is going to create it, including needed parent directories. Is this what you want? [yes] The installation of VMware Workstation 6.0.1 build-55017 for Linux completed successfully. You can decide to remove this software from your system at any time by invoking the following command: "/usr/bin/vmware-uninstall.pl". Before running VMware Workstation for the first time, you need to configure it by invoking the following command: "/usr/bin/vmware-config.pl". Do you want this program to invoke the command for you now? [yes] Making sure services for VMware Workstation are stopped. Stopping VMware services: Virtual machine monitor done Configuring fallback GTK+ 2.4 libraries. In which directory do you want to install the theme icons? [/usr/share/icons] What directory contains your desktop menu entry files? These files have a .desktop file extension. [/usr/share/applications] In which directory do you want to install the application's icon? [/usr/share/pixmaps] Trying to find a suitable vmmon module for your running kernel. None of the pre-built vmmon modules for VMware Workstation is suitable for your running kernel. Do you want this program to try to build the vmmon module for your system (you need to have a C compiler installed on your system)? [yes] Using compiler "/usr/bin/gcc". Use environment variable CC to override. What is the location of the directory of C header files that match your running kernel? [/lib/modules/2.6.22-14-generic/build/include] Extracting the sources of the vmmon module. Building the vmmon module. Using 2.6.x kernel build system. make: Gehe in Verzeichnis '/tmp/vmware-config0/vmmon-only' make -C /lib/modules/2.6.22-14-generic/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules make[1]: Betrete Verzeichnis '/usr/src/linux-headers-2.6.22-14-generic' CC [M] /tmp/vmware-config0/vmmon-only/linux/driver.o CC [M] /tmp/vmware-config0/vmmon-only/linux/hostif.o CC [M] /tmp/vmware-config0/vmmon-only/common/comport.o CC [M] /tmp/vmware-config0/vmmon-only/common/cpuid.o CC [M] /tmp/vmware-config0/vmmon-only/common/hash.o CC [M] /tmp/vmware-config0/vmmon-only/common/memtrack.o CC [M] /tmp/vmware-config0/vmmon-only/common/phystrack.o CC [M] /tmp/vmware-config0/vmmon-only/common/task.o CC [M] /tmp/vmware-config0/vmmon-only/common/vmciContext.o CC [M] /tmp/vmware-config0/vmmon-only/common/vmciDatagram.o CC [M] /tmp/vmware-config0/vmmon-only/common/vmciDriver.o CC [M] /tmp/vmware-config0/vmmon-only/common/vmciDs.o CC [M] /tmp/vmware-config0/vmmon-only/common/vmciGroup.o CC [M] /tmp/vmware-config0/vmmon-only/common/vmciHashtable.o CC [M] /tmp/vmware-config0/vmmon-only/common/vmciProcess.o CC [M] /tmp/vmware-config0/vmmon-only/common/vmciResource.o CC [M] /tmp/vmware-config0/vmmon-only/common/vmciSharedMem.o CC [M] /tmp/vmware-config0/vmmon-only/common/vmx86.o CC [M] /tmp/vmware-config0/vmmon-only/vmcore/moduleloop.o LD [M] /tmp/vmware-config0/vmmon-only/vmmon.o Building modules, stage 2. MODPOST 1 modules CC /tmp/vmware-config0/vmmon-only/vmmon.mod.o LD [M] /tmp/vmware-config0/vmmon-only/vmmon.ko make[1]: Verlasse Verzeichnis '/usr/src/linux-headers-2.6.22-14-generic' cp -f vmmon.ko ./../vmmon.o make: Verlasse Verzeichnis '/tmp/vmware-config0/vmmon-only' The module loads perfectly in the running kernel. Trying to find a suitable vmblock module for your running kernel. None of the pre-built vmblock modules for VMware Workstation is suitable for your running kernel. Do you want this program to try to build the vmblock module for your system (you need to have a C compiler installed on your system)? [yes] Extracting the sources of the vmblock module. Building the vmblock module. Using 2.6.x kernel build system. make: Gehe in Verzeichnis '/tmp/vmware-config0/vmblock-only' make -C /lib/modules/2.6.22-14-generic/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules make[1]: Betrete Verzeichnis '/usr/src/linux-headers-2.6.22-14-generic' CC [M] /tmp/vmware-config0/vmblock-only/linux/block.o CC [M] /tmp/vmware-config0/vmblock-only/linux/control.o CC [M] /tmp/vmware-config0/vmblock-only/linux/dbllnklst.o CC [M] /tmp/vmware-config0/vmblock-only/linux/dentry.o CC [M] /tmp/vmware-config0/vmblock-only/linux/file.o CC [M] /tmp/vmware-config0/vmblock-only/linux/filesystem.o CC [M] /tmp/vmware-config0/vmblock-only/linux/inode.o CC [M] /tmp/vmware-config0/vmblock-only/linux/module.o CC [M] /tmp/vmware-config0/vmblock-only/linux/stubs.o CC [M] /tmp/vmware-config0/vmblock-only/linux/super.o LD [M] /tmp/vmware-config0/vmblock-only/vmblock.o Building modules, stage 2. MODPOST 1 modules CC /tmp/vmware-config0/vmblock-only/vmblock.mod.o LD [M] /tmp/vmware-config0/vmblock-only/vmblock.ko make[1]: Verlasse Verzeichnis '/usr/src/linux-headers-2.6.22-14-generic' cp -f vmblock.ko ./../vmblock.o make: Verlasse Verzeichnis '/tmp/vmware-config0/vmblock-only' The module loads perfectly in the running kernel. Do you want networking for your virtual machines? (yes/no/help) [yes] Configuring a bridged network for vmnet0. The following bridged networks have been defined: . vmnet0 is bridged to eth0 All your ethernet interfaces are already bridged. Do you want to be able to use NAT networking in your virtual machines? (yes/no) [yes] Configuring a NAT network for vmnet8. Do you want this program to probe for an unused private subnet? (yes/no/help) [yes] Probing for an unused private subnet (this can take some time)... The subnet 172.16.13.0/255.255.255.0 appears to be unused. The following NAT networks have been defined: . vmnet8 is a NAT network on private subnet 172.16.13.0. Do you wish to configure another NAT network? (yes/no) [no] Do you want to be able to use host-only networking in your virtual machines? [yes] Configuring a host-only network for vmnet1. Do you want this program to probe for an unused private subnet? (yes/no/help) [yes] Probing for an unused private subnet (this can take some time)... The subnet 172.16.9.0/255.255.255.0 appears to be unused. The following host-only networks have been defined: . vmnet1 is a host-only network on private subnet 172.16.9.0. Do you wish to configure another host-only network? (yes/no) [no] Trying to find a suitable vmnet module for your running kernel. None of the pre-built vmnet modules for VMware Workstation is suitable for your running kernel. Do you want this program to try to build the vmnet module for your system (you need to have a C compiler installed on your system)? [yes] Extracting the sources of the vmnet module. Building the vmnet module. Using 2.6.x kernel build system. make: Gehe in Verzeichnis '/tmp/vmware-config0/vmnet-only' make -C /lib/modules/2.6.22-14-generic/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules make[1]: Betrete Verzeichnis '/usr/src/linux-headers-2.6.22-14-generic' CC [M] /tmp/vmware-config0/vmnet-only/driver.o CC [M] /tmp/vmware-config0/vmnet-only/hub.o CC [M] /tmp/vmware-config0/vmnet-only/userif.o CC [M] /tmp/vmware-config0/vmnet-only/netif.o CC [M] /tmp/vmware-config0/vmnet-only/bridge.o CC [M] /tmp/vmware-config0/vmnet-only/filter.o CC [M] /tmp/vmware-config0/vmnet-only/procfs.o CC [M] /tmp/vmware-config0/vmnet-only/smac_compat.o SHIPPED /tmp/vmware-config0/vmnet-only/smac_linux.x386.o LD [M] /tmp/vmware-config0/vmnet-only/vmnet.o Building modules, stage 2. MODPOST 1 modules WARNING: could not find /tmp/vmware-config0/vmnet-only/.smac_linux.x386.o.cmd for /tmp/vmware-config0/vmnet-only/smac_linux.x386.o CC /tmp/vmware-config0/vmnet-only/vmnet.mod.o LD [M] /tmp/vmware-config0/vmnet-only/vmnet.ko make[1]: Verlasse Verzeichnis '/usr/src/linux-headers-2.6.22-14-generic' cp -f vmnet.ko ./../vmnet.o make: Verlasse Verzeichnis '/tmp/vmware-config0/vmnet-only' The module loads perfectly in the running kernel. Do you want to install the Eclipse Integrated Virtual Debugger? You must have the Eclipse IDE installed. [no] Creating a new VMware VIX API installer database using the tar4 format. Installing VMware VIX API. You must read and accept the VMware VIX API End User License Agreement to continue. Press enter to display it. Do you accept? (yes/no) yes In which directory do you want to install the VMware VIX API binary files? [/usr/bin] In which directory do you want to install the VMware VIX API library files? [/usr/lib/vmware-vix/lib] The path "/usr/lib/vmware-vix/lib" does not exist currently. This program is going to create it, including needed parent directories. Is this what you want? [yes] In which directory do you want to install the VMware VIX API document pages? [/usr/share/doc/vmware-vix] The path "/usr/share/doc/vmware-vix" does not exist currently. This program is going to create it, including needed parent directories. Is this what you want? [yes] The installation of VMware VIX API 1.1.1 build-55017 for Linux completed successfully. You can decide to remove this software from your system at any time by invoking the following command: "/usr/bin/vmware-uninstall-vix.pl". Starting VMware services: Virtual machine monitor done Blocking file system: done Virtual ethernet done Bridged networking on /dev/vmnet0 done Host network detection done Host-only networking on /dev/vmnet1 (background) done DHCP server on /dev/vmnet1 done Host-only networking on /dev/vmnet8 (background) done DHCP server on /dev/vmnet8 done NAT service on /dev/vmnet8 done The configuration of VMware Workstation 6.0.1 build-55017 for Linux for this running kernel completed successfully. You can now run VMware Workstation by invoking the following command: "/usr/bin/vmware". Enjoy, --the VMware team
Konfiguration
# mkdir /vmware && chown mik:mik vmware $ vmware End User Licence Agreement: Accept Eintrag der Lizenznummer unter "Help > Enter Serial Number" Änderung der Konfiguration über "Edit > Preferences" * Workspace Default Location for Teams and Virtual Machines: /vmware Check for updates: Never * Memory Reserved Memory: 768 MB Anlegen einer neuen virtuellen Maschine unter "File > New... > Virtual Machine" Welcome to the New Virtual Machine Wizard: Next Select the Appropriate Configuration: Typical Guest Operating Systems: Microsoft Windows Version: Windows 2000 Professional Name: Windows 2000 Professional Location: /vmware/Win2000 Network Connection: Use network address translation (NAT) Disk size (GB): 3.0 [ ] Allocate all disk space now [ ] Split disk into 2GB files Finish
Sichern der Erstinstallation.
$ cd /vmware $ cp -pr Win2000 Win2000-BASIC20071026 $ tar czf Win2000-BASIC20071026.tgz Win2000-BASIC20071026 $ rm -rf Win2000-BASIC20071026
Einlegen der CD "Windows 2000 Professional" ins CD-Laufwerk.
Vor weiteren Arbeiten muss unbedingt das Windows Update auf SP 4 durchgeführt werden, da es sonst zu Problemen bei der Anmeldung kommt (msgina.dll). - siehe dazu auch Error: "Logon User Interface DLL msgina.dll failed to load". Also erstmal mit dem Internet verbinden und die Update-Orgie abfeiern.
Danach eine weitere Sicherung zu machen kann bestimmt nicht schaden.
Natürlich kann es dabei vorkommen, dass Windows 2000 bereits während der verschiedenen Neustarts während der Updates an dieser nicht ladbaren Datei "msgina.dll" hängenbleibt. In diesem Falle kann man entweder ein paar Male neu starten und hoffen, dass der Startvorgang durchläuft (das klappte bei mir). Wenn alles nichts nützt, dann hilft womöglich folgendes Vorgehen:
- Einlegen der Windows 2000-Installations-CD ins CD-ROM-Laufwerk.
- Über die CD-ROM ins Setup booten.
- Auswählen der Wiederherstellungskonsole ("emergency recovery console").
- Wechsel zum CD-ROM-Laufwerk.
- Wechsel ins Verteichnis "i386" auf dem CD-ROM-Laufwerk.
- Auf der Befehlszeile muss folgender Befehle abgesetzt werden: expand msgina.dl_ C:\WINNT\system32\msgina.dll
- Neustarten der virtuellen Maschine.
Danach Installation der VMware Tools, die u. a. eine höhere Auflösung als 640x480 Pixel erlauben.
VM > Install VMware Tools...
Danach in der Systemsteuerung: Anzeige > Erweitert
- Einstellen der Auflösung auf 1024x768 Pixel
- Netzwerk > Konfiguration > Primäre Netzwerkanmeldung: Windows-Anmeldung
Installation von Microsoft SQL 2000 Server Developer Edition
Danach alle überflüssigen Programme und Dateien löschen
Im Menü "Edit virtual machine settings" wechseln zu "Hardware > Harddisk" und dort Anklicken der Schaltfläche "Defragment".
Danach ist es Zeit für eine erneute Sicherung der virtuellen Maschine.
FAQ
Verschieben der Virtual Machine
- Herunterfahren des Gast-OS, Power off der Virtual Machine
- Kopieren aller Dateien im Originalverzeichnis der Virtual Machine an einen neuen Ort
- Fertig