Vbox centos, vboxcentos
The VM cannot identify the usb interface of the host machine. Does the VM have a graphic interface.
One is the dependency package, the other is the installation package, but how can I find it and install it.
Virtual Machine iscentos6.6
Havbox4.3.26
Refer to one answer
# yum update# yum install gcc# yum install kernel-devel-2.6.32-504.el6.x86_64# yum install bzip2# mount /dev/scd0 /media/cdrom# sh /media/cdrom/VBoxLinuxAdditions.run
Note that the kernel-devel is better to be consistent with the kernel version of the Local Machine. At first, the result of direct yum install kernel-devel is compromised.
Another one is to check the error carefully.
====================================== The pit filling process, ignore =======================================
There may be a problem that the/media/cdrom directory does not exist, so simply create one.
# mkdir -p /media/cdrom
But here is an error.
Building the main Guest Additions module [failed] (Look at/var/log/vboxadd-install.log to find out what went wrong)
Let's take a look at the log.
The main error is that
/tmp/vbox.0/Makefile.include.header:97: *** Error: unable to find the sources of your current Linux kernel. Specify KERN_DIR=<directory> and run Make again.
We can see that we want to reboot the machine after kernel dev is updated. I tried it here.
Let's look at the error again.
The missing package can be probably installed withyum install kernel-devel-2.6.32-504.el6.x86_64
Is it because devel installed on yum is incorrect ..
So I will install the kernel-devel of the specified version number in yum again.
The installation of the Enhancement Tool again seems to be able to be built. The above answer is correct, but the kerner-devel of yum installation does not match the system itself.
Copyright: This article is orangleliu (http://blog.csdn.net/orangleliu/) Original article, reprinted please declare.