Install Virtualbox guest additions on Windows 7 host / OEL 5 guest

Install / Unistall Guest Additons

Uninstall Guest Addition 
E:\VM\GUEST_ADDITION>VBoxManage extpack uninstall "Oracle VM VirtualBox Extension Pack"
0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100%
Successfully uninstalled "Oracle VM VirtualBox Extension Pack".

Install new Guest Additon
E:\VM\GUEST_ADDITION>VBoxManage extpack install Oracle_VM_VirtualBox_Extension_
ack-4.3.12-93733.vbox-extpack
0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100%
Successfully installed "Oracle VM VirtualBox Extension Pack".

Verify installed Guest Addition
E:\VM\GUEST_ADDITION>VBoxManage list extpacks
Extension Packs: 1
Pack no. 0:   Oracle VM VirtualBox Extension Pack
Version:      4.3.12
Revision:     93733
Edition:
Description:  USB 2.0 Host Controller, Host Webcam, VirtualBox RDP, PXE ROM wit
 E1000 support.
VRDE Module:  VBoxVRDP
Usable:       true
Why unusable:

Prepare OEL 5 guest system

Manually install Guest Extension ( OEL 5.10 guest system ) 
Update your kernel files and system utils
# yum update

 
Install kernel and GCC 
# yum install kernel-devel gcc

Install Guest Additions

Mount Guest Addions CD by  using 
  -> Device Menu -> then click on Install Guest Addition
 /media/VBOXADDITIONS_4.2.14_86644 should be automatically mounted now
# ls  /media/VBOXADDITIONS_4.2.14_86644
32Bit        cert                    VBoxSolarisAdditions.pkg
64Bit        OS2                     VBoxWindowsAdditions-amd64.exe
AUTORUN.INF  runasroot.sh            VBoxWindowsAdditions.exe
autorun.sh   VBoxLinuxAdditions.run  VBoxWindowsAdditions-x86.exe

# cd /media/VBOXADDITIONS_4.2.14_86644 
# ./VBoxLinuxAdditions.run
Verifying archive integrity... All good.
Uncompressing VirtualBox 4.2.14 Guest Additions for Linux............
VirtualBox Guest Additions installer
Removing installed version 4.2.14 of VirtualBox Guest Additions...
Copying additional installer modules ...
Installing additional modules ...
Removing existing VirtualBox non-DKMS kernel modules       [  OK  ]
Building the VirtualBox Guest Additions kernel modules
The headers for the current running kernel were not found. If the following
module compilation fails then this could be the reason.
The missing package can be probably installed with
yum install kernel-uek-devel-2.6.39-400.214.4.el5uek

Building the main Guest Additions module                   [  OK  ]
Building the shared folder support module                  [  OK  ]
Building the OpenGL 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  ]
The following X.Org/XFree86 configuration files were originally generated by
the VirtualBox Guest Additions and were not modified:
  /etc/X11/xorg.conf
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  ]
Installing graphics libraries and desktop services componen[  OK  ]
--> Reboot system 

Rebuild Guest Additions after kernel Upgrade

[root@grac43 init.d]# /etc/init.d/vboxadd setup
Removing existing VirtualBox non-DKMS kernel modules       [  OK  ]
Building the VirtualBox Guest Additions kernel modules
Building the main Guest Additions module                   [  OK  ]
Building the shared folder support module                  [  OK  ]
Building the OpenGL support module                         [  OK  ]
Doing non-kernel setup of the Guest Additions              [  OK  ]
Starting the VirtualBox Guest Additions                    [  OK  ]

 

Verify installed VBox drivers

[root@ract1 VBOXADDITIONS_4.2.14_86644]# lsmod | grep vbox
vboxvideo               1935  0 
drm                   227409  1 vboxvideo
vboxsf                 38408  0 
vboxguest             255571  2 vboxsf

 

Leave a Reply

Your email address will not be published. Required fields are marked *