Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

VMVare9.2, Ubuntu17.04 installation VMWare Tools cannot find the header file

2025-01-29 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Network Security >

Share

Shulou(Shulou.com)06/01 Report--

VMWare 9.2, Ubuntu 17.04 Install VMWare Tools

Encountered a little problem, prompt can not find the kernel header file, so baidu, for the following summary.

First of all:

sudo apt-get install build-essential linux-headers-$(uname -r)

sudo cp /lib/modules/3.13.0-24-generic/build/include/generated/uapi/linux/version.h /lib/modules/3.13.0-24-generic/build/include/linux/

Then:

The path "" is not a valid path to the 3.13.0-24-generic kernel headers.

Would you like to change it? [yes]

Enter the path to the kernel header files for the 3.13.0-24-generic kernel? /lib/modules/3.13.0-24-generic/build/include/

The path "/lib/modules/3.13.0-24-generic/build/include/" appears to be a valid

path to the 3.13.0-24-generic kernel headers.

Would you like to change it? [no]

If you still can't see the directory mnt/hgfs, you need to set it as follows

sudo apt-get install open-vm-tools-dkms

Check if vm module is installed, execute lsmod| grep vm, if installed successfully, the following results appear:

vmw_vsock_vmci_transport 32768 0

vsock 32768 1 vmw_vsock_vmci_transport

vmxnet 24576 0

This means that the installation was successful.

Check the vm module comparison information, above is 17.04 installed, below is not installed.

root@ubuntu:/mnt/hgfs# lsmod |grep vm

vmw_vsock_vmci_transport 32768 0

vsock 32768 1 vmw_vsock_vmci_transport

vmxnet 24576 0

vmw_balloon 20480 0

vmw_vmci 61440 2 vmw_balloon,vmw_vsock_vmci_transport

vmw_pvscsi 24576 0

vmxnet3 53248 0

vmwgfx 212992 3

ttm 90112 1 vmwgfx

drm_kms_helper 139264 1 vmwgfx

drm 303104 6 vmwgfx,ttm,drm_kms_helper

zhaoanan@ubuntu:~$ lsmod |grep vm

vmw_balloon 20480 0

vmw_vmci 61440 1 vmw_balloon

vmw_pvscsi 24576 0

vmxnet3 53248 0

vmwgfx 212992 3

ttm 90112 1 vmwgfx

drm_kms_helper 139264 1 vmwgfx

drm 303104 6 vmwgfx,ttm,drm_kms_helper

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Network Security

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report