VMWare Tools Installation in IPBrick 5.3 iportalmais September 4, 2012
1 Procedure IMPORTANT NOTE: This procedure is ONLY for IPBrick 5.3! 0 - Copy the linux-headers file to the IPBrick. You may download it at our eshop: http://eshop.ipbrick.com/eshop/software_info.php?cpath=3_4_36&products_ id=455&language=en 1 - Backup the initrd cd /boot cp -a initrd.img-2.6.30.10-586-smp-64gb initrd.img-2.6.30.10-586-smp-64gb.pre-insta 2 - Install the linux-headers It can be installed via web interface or as a normal update. cd ~operator (admiting that the file is in ~operator) dpkg -i linux-headers-2.6.30.10-586-smp-64gb_2.6.30.10-586-smp-64gb-10.00.custom_i3 3 - Activate the VMware installation via VSphere "Guest -> Install/Upgrade VMware tools" (this will create a virtual cd with vmwaremount /dev/cdrom1 /cdrom (note: it can be cdrom1,2,3...) cp /cdrom/vmwaretools-8.3.7-341836.tar.gz /root 4 - Prepare and decompress the content for installation cd /root tar xvzf VMwareTools-8.3.7-341836.tar.gz 5 - Execute the installation script cd vmware-tools-distrib/./vmware-install.pl NOTE: During installation the only thing required is the location of the kernel header : /usr/src/linux-headers-2.6.30.10-586-smp-64gb/include Searching for a valid kernel header path... The path "" is not a valid path to the 2.6.30.10-586-smp-64gb kernel headers. Would you like to change it? [yes] Enter the path to the kernel header files for the 2.6.30.10-586-smp-64gb kernel? /usr/src/linux-headers-2.6.30.10-586-smp-64gb/include
2 Complete VMwareTools-8.6.0 Log net:~/vmware-tools-distrib#./vmware-install.pl Creating a new VMware Tools installer database using the tar4 format. Installing VMware Tools. 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-tools] The path "/usr/lib/vmware-tools" 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 documentation files? [/usr/share/doc/vmware-tools] The path "/usr/share/doc/vmware-tools" 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 Tools 8.6.0 build-515842 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-tools.pl". Before running VMware Tools for the first time, you need to configure it by invoking the following command: "/usr/bin/vmware-config-tools.pl". Do you want this program to invoke the command for you now? [yes] Initializing... Making sure services for VMware Tools are stopped.
Stopping VMware Tools services in the virtual machine: Guest operating system daemon: Unmounting HGFS shares: Guest filesystem driver: Adding system startup for /etc/init.d/vmware-tools... /etc/rc0.d/s36vmware-tools ->../init.d/vmware-tools /etc/rc6.d/s36vmware-tools ->../init.d/vmware-tools /etc/rcs.d/s38vmware-tools ->../init.d/vmware-tools [EXPERIMENTAL] The VMware FileSystem Sync Driver (vmsync) is a new feature that creates backups of virtual machines. Please refer to the VMware Knowledge Base for more details on this capability. Do you wish to enable this feature? [no] Before you can compile modules, you need to have the following installed... make gcc kernel headers of the running kernel Searching for GCC... Detected GCC binary at "/usr/bin/gcc". The path "/usr/bin/gcc" appears to be a valid path to the gcc binary. Would you like to change it? [no] Searching for a valid kernel header path... The path "" is not a valid path to the 2.6.30.10-586-smp-64gb kernel headers. Would you like to change it? [yes] Enter the path to the kernel header files for the 2.6.30.10-586-smp-64gb kernel? /usr/src/linux-headers-2.6.30.10-586-smp-64gb/include The path "/usr/src/linux-headers-2.6.30.10-586-smp-64gb/include" appears to be a valid path to the 2.6.30.10-586-smp-64gb kernel headers. Would you like to change it? [no] make: Entering directory /tmp/vmware-root/modules/vmci-only CC [M] /tmp/vmware-root/modules/vmci-only/vmcidatagram.o CC [M] /tmp/vmware-root/modules/vmci-only/vmci_drv.o
CC [M] /tmp/vmware-root/modules/vmci-only/vmcievent.o CC [M] /tmp/vmware-root/modules/vmci-only/vmciguestds.o CC [M] /tmp/vmware-root/modules/vmci-only/vmciguestkernelif.o CC [M] /tmp/vmware-root/modules/vmci-only/vmcikernelif.o CC [M] /tmp/vmware-root/modules/vmci-only/vmcinotifications.o CC [M] /tmp/vmware-root/modules/vmci-only/vmciprocess.o CC [M] /tmp/vmware-root/modules/vmci-only/vmciqpair.o CC [M] /tmp/vmware-root/modules/vmci-only/vmciqueuepair.o CC [M] /tmp/vmware-root/modules/vmci-only/vmciutil.o CC [M] /tmp/vmware-root/modules/vmci-only/kernelstubslinux.o LD [M] /tmp/vmware-root/modules/vmci-only/vmci.o CC /tmp/vmware-root/modules/vmci-only/vmci.mod.o LD [M] /tmp/vmware-root/modules/vmci-only/vmci.ko make[1]: Entering directory /tmp/vmware-root/modules/vmci-only make[1]: Leaving directory /tmp/vmware-root/modules/vmci-only cp -f vmci.ko./../vmci.o make: Leaving directory /tmp/vmware-root/modules/vmci-only make: Entering directory /tmp/vmware-root/modules/vmci-only CC [M] /tmp/vmware-root/modules/vmci-only/vmcidatagram.o CC [M] /tmp/vmware-root/modules/vmci-only/vmci_drv.o CC [M] /tmp/vmware-root/modules/vmci-only/vmcievent.o CC [M] /tmp/vmware-root/modules/vmci-only/vmciguestds.o CC [M] /tmp/vmware-root/modules/vmci-only/vmciguestkernelif.o CC [M] /tmp/vmware-root/modules/vmci-only/vmcikernelif.o CC [M] /tmp/vmware-root/modules/vmci-only/vmcinotifications.o CC [M] /tmp/vmware-root/modules/vmci-only/vmciprocess.o CC [M] /tmp/vmware-root/modules/vmci-only/vmciqpair.o CC [M] /tmp/vmware-root/modules/vmci-only/vmciqueuepair.o CC [M] /tmp/vmware-root/modules/vmci-only/vmciutil.o CC [M] /tmp/vmware-root/modules/vmci-only/kernelstubslinux.o LD [M] /tmp/vmware-root/modules/vmci-only/vmci.o CC /tmp/vmware-root/modules/vmci-only/vmci.mod.o LD [M] /tmp/vmware-root/modules/vmci-only/vmci.ko
make[1]: Entering directory /tmp/vmware-root/modules/vmci-only make[1]: Leaving directory /tmp/vmware-root/modules/vmci-only cp -f vmci.ko./../vmci.o make: Leaving directory /tmp/vmware-root/modules/vmci-only make: Entering directory /tmp/vmware-root/modules/vsock-only CC [M] /tmp/vmware-root/modules/vsock-only/linux/af_vsock.o CC [M] /tmp/vmware-root/modules/vsock-only/linux/notify.o CC [M] /tmp/vmware-root/modules/vsock-only/linux/notifyqstate.o CC [M] /tmp/vmware-root/modules/vsock-only/linux/stats.o CC [M] /tmp/vmware-root/modules/vsock-only/linux/util.o CC [M] /tmp/vmware-root/modules/vsock-only/linux/vsockaddr.o CC [M] /tmp/vmware-root/modules/vsock-only/driverlog.o LD [M] /tmp/vmware-root/modules/vsock-only/vsock.o CC /tmp/vmware-root/modules/vsock-only/vsock.mod.o LD [M] /tmp/vmware-root/modules/vsock-only/vsock.ko make[1]: Entering directory /tmp/vmware-root/modules/vsock-only make[1]: Leaving directory /tmp/vmware-root/modules/vsock-only cp -f vsock.ko./../vsock.o make: Leaving directory /tmp/vmware-root/modules/vsock-only make: Entering directory /tmp/vmware-root/modules/vmxnet3-only CC [M] /tmp/vmware-root/modules/vmxnet3-only/vmxnet3_drv.o CC [M] /tmp/vmware-root/modules/vmxnet3-only/vmxnet3_ethtool.o CC [M] /tmp/vmware-root/modules/vmxnet3-only/vmxnet3_shm.o LD [M] /tmp/vmware-root/modules/vmxnet3-only/vmxnet3.o CC /tmp/vmware-root/modules/vmxnet3-only/vmxnet3.mod.o
LD [M] /tmp/vmware-root/modules/vmxnet3-only/vmxnet3.ko make[1]: Entering directory /tmp/vmware-root/modules/vmxnet3-only make[1]: Leaving directory /tmp/vmware-root/modules/vmxnet3-only cp -f vmxnet3.ko./../vmxnet3.o make: Leaving directory /tmp/vmware-root/modules/vmxnet3-only make: Entering directory /tmp/vmware-root/modules/pvscsi-only CC [M] /tmp/vmware-root/modules/pvscsi-only/pvscsi.o CC /tmp/vmware-root/modules/pvscsi-only/pvscsi.mod.o LD [M] /tmp/vmware-root/modules/pvscsi-only/pvscsi.ko make[1]: Entering directory /tmp/vmware-root/modules/pvscsi-only make[1]: Leaving directory /tmp/vmware-root/modules/pvscsi-only cp -f pvscsi.ko./../pvscsi.o make: Leaving directory /tmp/vmware-root/modules/pvscsi-only make: Entering directory /tmp/vmware-root/modules/vmmemctl-only CC [M] /tmp/vmware-root/modules/vmmemctl-only/backdoorgcc32.o CC [M] /tmp/vmware-root/modules/vmmemctl-only/os.o CC [M] /tmp/vmware-root/modules/vmmemctl-only/vmballoon.o LD [M] /tmp/vmware-root/modules/vmmemctl-only/vmmemctl.o CC /tmp/vmware-root/modules/vmmemctl-only/vmmemctl.mod.o LD [M] /tmp/vmware-root/modules/vmmemctl-only/vmmemctl.ko make[1]: Entering directory /tmp/vmware-root/modules/vmmemctl-only
make[1]: Leaving directory /tmp/vmware-root/modules/vmmemctl-only cp -f vmmemctl.ko./../vmmemctl.o make: Leaving directory /tmp/vmware-root/modules/vmmemctl-only The VMware Host-Guest Filesystem allows for shared folders between the host OS and the guest OS in a Fusion or Workstation virtual environment. Do you wish to enable this feature? [no] make: Entering directory /tmp/vmware-root/modules/vmxnet-only CC [M] /tmp/vmware-root/modules/vmxnet-only/vmxnet.o CC /tmp/vmware-root/modules/vmxnet-only/vmxnet.mod.o LD [M] /tmp/vmware-root/modules/vmxnet-only/vmxnet.ko make[1]: Entering directory /tmp/vmware-root/modules/vmxnet-only make[1]: Leaving directory /tmp/vmware-root/modules/vmxnet-only cp -f vmxnet.ko./../vmxnet.o make: Leaving directory /tmp/vmware-root/modules/vmxnet-only The vmblock enables dragging or copying files between host and guest in a Fusion or Workstation virtual environment. Do you wish to enable this feature? [no] yes make: Entering directory /tmp/vmware-root/modules/vmblock-only CC [M] /tmp/vmware-root/modules/vmblock-only/linux/block.o CC [M] /tmp/vmware-root/modules/vmblock-only/linux/control.o CC [M] /tmp/vmware-root/modules/vmblock-only/linux/dbllnklst.o CC [M] /tmp/vmware-root/modules/vmblock-only/linux/dentry.o CC [M] /tmp/vmware-root/modules/vmblock-only/linux/file.o CC [M] /tmp/vmware-root/modules/vmblock-only/linux/filesystem.o CC [M] /tmp/vmware-root/modules/vmblock-only/linux/inode.o CC [M] /tmp/vmware-root/modules/vmblock-only/linux/module.o CC [M] /tmp/vmware-root/modules/vmblock-only/linux/stubs.o
CC [M] /tmp/vmware-root/modules/vmblock-only/linux/super.o LD [M] /tmp/vmware-root/modules/vmblock-only/vmblock.o CC /tmp/vmware-root/modules/vmblock-only/vmblock.mod.o LD [M] /tmp/vmware-root/modules/vmblock-only/vmblock.ko make[1]: Entering directory /tmp/vmware-root/modules/vmblock-only make[1]: Leaving directory /tmp/vmware-root/modules/vmblock-only cp -f vmblock.ko./../vmblock.o make: Leaving directory /tmp/vmware-root/modules/vmblock-only No X install found. Creating a new initrd boot image for the kernel. update-initramfs: /boot/initrd.img-2.6.30.10-586-smp-64gb has been altered. update-initramfs: Cannot update. Override with -t option. Starting VMware Tools services in the virtual machine: Switching to guest configuration: Paravirtual SCSI module: Guest memory manager: Guest vmxnet fast network device: VM communication interface: VM communication interface socket family: File system sync driver: Guest operating system daemon: The configuration of VMware Tools 8.6.0 build-515842 for Linux for this running kernel completed successfully. You must restart your X session before any mouse or graphics changes take effect. You can now run VMware Tools by invoking "/usr/bin/vmware-toolbox-cmd" from the command line or by invoking "/usr/bin/vmware-toolbox" from the command line during an X server session. To enable advanced X features (e.g., guest resolution fit, drag and drop, and file and text copy/paste), you will need to do one (or more) of the following: 1. Manually start /usr/bin/vmware-user 2. Log out and log back into your desktop session; and, 3. Restart your X session. To use the vmxnet driver, restart networking using the following commands:
/etc/init.d/networking stop rmmod pcnet32 rmmod vmxnet modprobe vmxnet /etc/init.d/networking start Enjoy, --the VMware team Found VMware Tools CDROM mounted at /cdrom. Ejecting device /dev/cdrom2...