When installing Oracle Linux 5U7 as a Guest OS on VMWare fusion 4, you will probably run into the “no module ehci-hcd found for kernel 2.6.32-200.13.1.el5uek” during the VMWare Tools installation process. This error is caused by missing usb kernel modules in /lib/modules/2.6.32-200.13.1.el5uek. You can easily solve this by opening a Terminal session, substitute the user by root (su – root) and executing the command below.
cp /lib/modules/2.6.18-274.el5/kernel/drivers/usb/host/?hci-hcd.ko \
/lib/modules/2.6.32-200.13.1.el5uek/kernel/drivers/usb/host
Now you can start the installation of VMWare tools by executing
./vmware-install.pl
echo – - – > /sys/class/scsi_host/host0/scan
When using NTP in the guest, disable VMware Tools periodic time synchronization.
To disable VMware Tools periodic time sync, perform one of these options:
tools.syncTime = "FALSE" in the configuration file (.vmx file) of the virtual machine.OR
OR
vmware-guestd --cmd "vmx.set_option synctime 1 0" command in the guest operating system. To enable time syncing again, use the same command with “0 1″ instead of “1 0″.For ESX 4.1 and later, use these parameters for Linux, Solaris, and FreeBSD:
vmware-toolbox-cmd timesync status
vmware-toolbox-cmd timesync disable
Should you find NTP time is not being reliably synchronized the following steps may be useful:
- Verify that the choosen time souce has given us time and is trusted:
Ensure that when typing:
ntpq -p
that there is an asterisk by the chosen time provider entry.
The virtual machine may need to its APIC and/or ACPI disabled at boot time before loading the OS in addition to these steps.
If an asterisk is not seen using the ntpq -p command APIC could be interferring with time synchronization. This can be disabled by passing the “noapic” parameter at bootup by adding this parameter to the boot switch in /boot/grub/menu.lst.
mount the VMWare tools CDROM
rpm -ivh /mnt/VMwareTools-*.i386.rpm
vmware-config-tools.pl
If you need storage for your VMs larger than 256GB, you have to removed (delete) your datastore, then re-add it with a larger block size. Keep in mind that deleting a datastore will delete any data on that datatstore as well, so if you have VMs, etc. on it you’ll need to migrate them off the datatsore.
1MB = 256GB
2MB = 512GB
4MB = 1TB
8MB = 2TB
on the new vmware ESX if you right click on guest OS virtual maching then select install vmware tools this mounts the cd then type in the following commands:
sudo apt-get install build-essential linux-headers-`uname -r`
mkdir -p /media/cdrom && mount /dev/cdrom /media/cdrom
cp /media/cdrom/VMwareTools-*.tar.gz /tmp/ && cd /tmp/ && tar xvf VMwareTools-*.tar.gz && cd vmware-tools-distrib/
sudo ./vmware-install.pl