

Issue installing VMWare tools on Alma Linux 9 or Redhat 9
Created: 2024-10-15 18:19:02 | Last modified: 2024-10-15 18:30:01Access: Read | Views: 104 | Rating: N/A | Tags:
Trying to install VMWare tools on Alma Linux 9, Centos 9 or Red Hat 9. Got stuck with "What is the directory that contains the init directories (rc0.d/ to rc6.d/)?"
When trying to install VMWare tools on Alma Linux 9 using the command ./vmware-install.pl, in one of the prompts we got "What is the directory that contains the init directories (rc0.d/ to rc6.d/)?". Alma Linux 9 doesn't have these directories.
To get around the issue, we created these directories so the tools would install.
# Enter the rc.d directory
cd /etc/rc.d
# Create the directories
for i in (0,1,2,3,4,5,6); do mkdir rc0$i.d; done
# Confirm the directories have been created
ls
You can now continue with the installation as rc directories will be autodetected. We found we didn't have to make any changes to startup as services were in systemctl.
[root@Server vmware-tools-distrib]# ./vmware-install.pl
A previous installation of VMware Tools has been detected.
The previous installation was made by the tar installer (version 4).
Keeping the tar4 installer database format.
You have a version of VMware Tools installed. Continuing this install will
first uninstall the currently installed version. Do you wish to continue?
(yes/no) [yes] yes
INPUT: [yes]
Uninstalling the tar installation of VMware Tools.
The removal of VMware Tools 10.3.26 build-22085142 for Linux completed
successfully.
Installing VMware Tools.
In which directory do you want to install the binary files?
[/usr/bin]
INPUT: [/usr/bin] default
What is the directory that contains the init directories (rc0.d/ to rc6.d/)?
[/etc/rc.d]
INPUT: [/etc/rc.d] default
What is the directory that contains the init scripts?
[/etc/rc.d/init.d]
INPUT: [/etc/rc.d/init.d] default
In which directory do you want to install the daemon files?
[/usr/sbin]
INPUT: [/usr/sbin] default
In which directory do you want to install the library files?
[/usr/lib/vmware-tools]
INPUT: [/usr/lib/vmware-tools] default
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] yes
INPUT: [yes]
In which directory do you want to install the documentation files?
[/usr/share/doc/vmware-tools]
INPUT: [/usr/share/doc/vmware-tools] default
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] yes
INPUT: [yes]
The installation of VMware Tools 10.3.26 build-22085142 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]
INPUT: [yes] default
Initializing...
Making sure services for VMware Tools are stopped.
Stopping VMware Tools services in the virtual machine:
Guest operating system daemon: done
VMware User Agent (vmware-user): done
Unmounting HGFS shares: done
Guest filesystem driver: done
sh: line 1: : command not found
The installation status of vmsync could not be determined.
Skippinginstallation.
The installation status of vmci could not be determined. Skippinginstallation.
The installation status of vsock could not be determined. Skippinginstallation.
The installation status of vmxnet3 could not be determined.
Skippinginstallation.
The installation status of pvscsi could not be determined.
Skippinginstallation.
The installation status of vmmemctl could not be determined.
Skippinginstallation.
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]
INPUT: [no] default
The vmxnet driver is no longer supported on kernels 3.3 and greater. Please
upgrade to a newer virtual NIC. (e.g., vmxnet3 or e1000e)
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]
INPUT: [no] default
Skipping configuring automatic kernel modules as no drivers were installed by
this installer.
Do you want to enable Guest Authentication (vgauth)? [yes]
INPUT: [yes] default
No X install found.
Skipping rebuilding initrd boot image for kernel as no drivers to be included
in boot image were installed by this installer.
The configuration of VMware Tools 10.3.26 build-22085142 for Linux for this
running kernel completed successfully.
You must restart your X session before any mouse or graphics changes take
effect.
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
3. Restart your X session.
Enjoy,
--the VMware team