Antony Reynolds' Blog

Fixing OEL 6 & VirtualBox

Antony Reynolds
Senior Director Integration Strategy

Fixing OEL 6 & VirtualBox

Just upgraded the kernel on my VirtualBox image of OEL6 and the VirtualBox Additions failed to build.  The problem was that the latest OEL6 kernel is now kernel-uek.

$ uname -a

Linux soavbox.oracle.com 2.6.32-200.20.1.el6uek.x86_64 #1 SMP Fri Oct 7 01:50:00 EDT 2011 x86_64 x86_64 x86_64 GNU/Linux

This seems to confuse the dkms rebuild of VBox Additions.  See Virtual Box Ticket #9332 clipboard support broken – OEL 5.6, OEL 6.1.

To fix it I followed the suggestions in the ticket above:

  • Choose "Install Guest Additions"
  • Run a root shell and execute following commands:
    • export MAKE='/usr/bin/gmake –i'
    • cd /media/VBOX*
      • Current latest VBox Additions is VBOXADDITIONS_4.1.4_74291
    • ./VBoxLinuxAdditions.run
  • Restart guest

Voila now my OEL 6.1 works great with VirtualBox again!

Join the discussion

Comments ( 1 )
  • Olaf Heimburger Tuesday, October 11, 2011

    This is for 64-bit platforms only. On 32-bit platforms you don't need to set the MAKE variable.

Please enter your name.Please provide a valid email address.Please enter a comment.CAPTCHA challenge response provided was incorrect. Please try again.