普通の手順でVMware toolsインストールすると下記メッセージでフォルダ共有がうまく動きません。
update-rc.d: error: insserv rejected the script header WARNING: The installer initially used the ‘update-rc.d’ to setup the vmware-tools service. That command cannot be found. Please re-install the “sysv-rc’ package. This script will now attempt to manually setup the vmware-tools service. The module wmci has already been installed on this system by anoth er installer
or package and will not be modified by this installer.
The module vsock has already been installed on this system by another installer or package and will not be modified by this installer.
The module wmxnet 3 has already been installed on this system by another installer or package and will not be modified by this installer.
The module pyscsi has already been installed on this system by another installer or package and will not be modified by this installer.
The module wmmemotl has already been installed on this system by another installer or package and will not be modified by this installer.
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? [yes]
gitにパッチ版作ってくれている人がいるのでありがたく使わせてたいだきました。
1 2 3 4 5 6 7 8 9 |
# apt-get install gcc make perl git # apt-get install linux-headers-$(uname -r) # mkdir /tmp/vmwaretool-mywork # cd /tmp/vmwaretool-mywork # git clone https://github.com/rasa/vmware-tools-patches.git # cp /media/cdrom/VMWareTools-*.tar.gz ./vmware-tools-patches/ # cd ./vmware-tools-patches # ./untar-and-patch-and-compile.sh |
確認
1 2 |
# ls -la /mnt/hgfs/ |
の結果で仮想マシンの共有フォルダで指定しているフォルダが表示されればOK!