A Virtual Dilemma

Posted by antony.reynolds on Oracle Blogs See other posts from Oracle Blogs or by antony.reynolds
Published on Thu, 17 Feb 2011 07:45:59 -0700 Indexed on 2011/02/17 15:30 UTC
Read the original article Hit count: 328

Filed under:

Solving a Gotcha with VirtualBox Guest Additions

I was just building a new virtual machine based off an existing image that didn’t have the Virtual Box Guest Additions enabled.  The guest additions allow tight integration between the guest OS and the host environment, providing seemless mouse transfer and the ability to take advantage of full video screen size.  The guest additions need to be linked with the kernel which requires the kernel-devel package to be installed.  After installing this package and then trying to add the guest additions it failed, suggesting that I might not have the kernel-devel package that I had installed.  After a little though I finally realized what had happened.  When I grabbed the kernel-devel package I hadn’t checked the version of my kernel.  The kernel-devel I downloaded didn’t match the revision of the kernel I was running!  Hence my problems.  I upgraded the kernel to the same revision as my kernel-devel package and rebooted.  I had installed dkms so I was pleased to see that my VBox Additions successfully built and the mouse and screen now worked as expected.

So now you know my embarrassing story for the day :-)

© Oracle Blogs or respective owner

Related posts about Miscellaneous