Install Guest Addition

When installing guest addition, I got the error Makefile:23 unable to find the source of your kernel:.  I tried to install gcc dkms kernel-devl, etc, and export KERN_DIR = /usr/srv/kernels/ but the error was not resolved.  
I found that by running yum install kernel* dkms gcc  the problem was solved.




[root@localhost VBOXADDITIONS_4.0.8_71778]# sh VBoxLinuxAdditions.run
Verifying archive integrity... All good.
Uncompressing VirtualBox 4.0.8 Guest Additions for Linux.........
VirtualBox Guest Additions installer
Removing installed version 4.0.8 of VirtualBox Guest Additions...
Removing existing VirtualBox DKMS kernel modules           [  OK  ]
Removing existing VirtualBox non-DKMS kernel modules       [  OK  ]
Building the VirtualBox Guest Additions kernel modules
Your guest system does not seem to have sufficient OpenGL support to enable
accelerated 3D effects (this requires Linux 2.6.27 or later in the guest
system).  This Guest Additions feature will be disabled.




Building the main Guest Additions module                   [  OK  ]
Building the shared folder support module                  [  OK  ]
Doing non-kernel setup of the Guest Additions              [  OK  ]
Starting the VirtualBox Guest Additions                    [  OK  ]
Installing the Window System drivers
Installing X.Org 7.1 modules                               [  OK  ]
Setting up the Window System to use the Guest Additions    [  OK  ]
You may need to restart the hal service and the Window System (or just restart


the guest system) to enable the Guest Additions.


Installing graphics libraries and desktop services componen[  OK  ]

No comments:

Post a Comment