Is the virtual machine can not recognize the host USB interface, this virtual machine has no graphical interface to see how to install.
One is a dependency package problem, the other is to hang up the installation package, but how do I find it and install the problem.
Virtual machines are centos6.6
havbox4.3.26
Refer to an 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 Ha, kernel-devel the best direct and the kernel version of the same, the beginning I was the direct yum install Kernel-devel results suffer.
The other one is the wrong look carefully
======================= pits process, can ignore ================== see error not careful AH ========
There might be a problem with the/media/cdrom directory that doesn't exist, so just create one right now.
# mkdir -p /media/cdrom
But there's a mistake here.
the main Guest Additions module at /var/log/vboxadd-install.logto find out what went wrong)
Let's take a look at the log.
The main mistake should be this sentence
/tmp/vbox.0/Makefile.include.header:97totheof your current Linux kernel. Specify KERN_DIR=<directoryand run Make again.
See there is said kernel dev update to reboot machine, I have tried here to do this virtue.
And look at the mistake.
packagewithyum install kernel-devel-2.6.32-504.el6.x86_64
Is the above Yum installed devel wrong?
So I again yum installs this specified version number of Kernel-devel
The installation of the enhanced tool again seems to be a build, and the top answer is yes, but the Yum installed kerner-devel and the system itself do not match.
Copyright NOTICE: This article is Orangleliu (http://blog.csdn.net/orangleliu/) original article, the article reproduced please declare.
VBox CentOS Installation Enhancement tool