Install GuestAdditions [root @ localhostmedia] # mount/dev/cdrom/mnt/cdrom/[root @ localhost ~] of VirtualBox on the ora18desktop Virtual Machine # Cd/mnt/cdrom/[root @ localhostcdrom] # ls32BitAUTORUN. INF
Install Guest Additions of VirtualBox on the 18 ora 18 desktop virtual machine
[Root @ localhost media] # mount/dev/cdrom/mnt/cdrom/
[Root @ localhost ~] # Cd/mnt/cdrom/
[Root @ localhost cdrom] # ls
32Bit AUTORUN. INF cert runasroot. sh VBoxSolarisAdditions. pkg VBoxWindowsAdditions.exe
64Bit autorun. sh OS2 VBoxLinuxAdditions. run VBoxWindowsAdditions-amd64.exe VBoxWindowsAdditions-x86.exe
[Root @ localhost cdrom] #./VBoxLinuxAdditions. run
Verifying archive integrity... All good.
Uncompressing VirtualBox 4.2.6 Guest Additions for Linux ..........
VirtualBox Guest Additions installer
Removing existing VirtualBox non-DKMS kernel modules [OK]
Building the VirtualBox Guest Additions kernel modules
The gcc utility was not found. If the following module compilation fails then
This cocould be the reason and you should try installing it.
The headers for the current running kernel were not found. If the following
Module compilation fails then this cocould be the reason.
The missing package can be probably installed
Yum install kernel-devel-3.6.10-4.fc18.i686
Building the main Guest Additions module [FAILED]
(Look at/var/log/vboxadd-install.log to find out what went wrong)
Doing non-kernel setup of the Guest Additions [OK]
Installing the Window System drivers
Installing X. Org Server 1.13 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]
[Root @ localhost cdrom] #
Note the error information above:
Building the main Guest Additions module [FAILED]
The solution is to install the dependent kernel source and gcc (I also installed gcc-c ++)
Yum install kernel-devel.i686 gcc. i686 gcc-c ++. i686
Run the installation program of Additions again.
[Root @ localhost cdrom] #./VBoxLinuxAdditions. run