挂载以后,操作如下:
[root@myplay share]# ls
32Bit autorun.sh runasroot.sh VBoxWindowsAdditions-amd64.exe
64Bit cert VBoxLinuxAdditions.run VBoxWindowsAdditions.exe
AUTORUN.INF OS2 VBoxSolarisAdditions.pkg VBoxWindowsAdditions-x86.exe
[root@myplay share]# ./VBoxLinuxAdditions.run
Verifying archive integrity... All good.
Uncompressing VirtualBox 4.3.28 Guest Additions for Linux............
VirtualBox Guest Additions installer
Removing installed version 4.3.28 of VirtualBox Guest Additions...
Copying additional installer modules ...
Installing additional modules ...
Removing existing VirtualBox non-DKMS kernel modules [确定]
Building the VirtualBox Guest Additions kernel modules
Building the main Guest Additions module 失败
Doing non-kernel setup of the Guest Additions [确定]
Installing the Window System drivers
Could not find the X.Org or XFree86 Window System, skipping.
[root@myplay share]# cd /var/lo
local/ lock/ log/
[root@myplay share]# vi /var/log/vboxadd-install.log
/opt/VBoxGuestAdditions-4.3.28/src/vboxguest-4.3.28/build_in_tmp: line 62: make: command not found
Creating user for the Guest Additions.
Creating udev rule for the Guest Additions kernel module.
/opt/VBoxGuestAdditions-4.3.28/src/vboxguest-4.3.28/build_in_tmp: line 62: make: command not found
Creating user for the Guest Additions.
Creating udev rule for the Guest Additions kernel module.
/opt/VBoxGuestAdditions-4.3.28/src/vboxguest-4.3.28/build_in_tmp: line 62: make: command not found
Creating user for the Guest Additions.
Creating udev rule for the Guest Additions kernel module.
make KBUILD_VERBOSE=1 CONFIG_MODULE_SIG= -C /lib/modules/2.6.32-573.7.1.el6.x86_64/build SUBDIRS=/tmp/vbox.0 SRCROOT=/tmp/vbox.0 modules
test -e include/linux/autoconf.h -a -e include/config/auto.conf || ( \
echo; \
echo " ERROR: Kernel configuration is invalid."; \
echo " include/linux/autoconf.h or include/config/auto.conf are missing."; \
echo " Run 'make oldconfig && make prepare' on kernel src to fix it."; \
echo; \
/bin/false)
mkdir -p /tmp/vbox.0/.tmp_versions ; rm -f /tmp/vbox.0/.tmp_versions/*
make -f scripts/Makefile.build obj=/tmp/vbox.0
。。。。。。。。。。。。