VirtualBox and Linux kernel updates
In order to weave its magic, VirtualBox uses loadable kernel modules both on the Host, and in the Guest as part of the Guest Additions. On Linux, these kernel modules are related to the version of the kernel that you're running and if you update the kernel then the modules need to be rebuilt to match the new version. Technologies such as [URL="http://en.wikipedia.org/wiki/Dynamic_Kernel_Module_Support"]dkms[/URL] handle this and so if you're running dkms you'll be in good shape. But if you aren't running dkms, then you may find that after an update and a reboot, VirtualBox or the Guest Additions don't run anymore. Here's how to fix things...
If your Linux system is setup to build modules you can just execute one of:
[LIST] [*]Host: /etc/init.d/vboxdrv setup [*]Guest: /etc/init.d/vboxadd setup [/LIST]
If your system is not setup to build kernel modules you will need to get the relevant packages to do this. For example, on Oracle Enterprise Linux you need to:
[LIST=1] [*]Update your system to the latest version: open a terminal and as root, execute yum update [*]Install the GNU C compiler and the kernel development packages using yum install gcc yum install kernel-devel [*]Reboot your guest system in order to activate the updates before then running the commands above to rebuild the VirtualBox modules. [/LIST] This is covered in more depth in the VirtualBox User Manual in the sections on [URL="http://www.virtualbox.org/manual/ch02.html#externalkernelmodules"]Host Modules[/URL] and [URL="http://www.virtualbox.org/manual/ch04.html#id2658274"]Guest Additions[/URL].
Hope this is some use to someone
[url=http://blogs.sun.com/fatbloke/entry/virtualbox_and_linux_kernel_updates]Read More about [VirtualBox and Linux kernel updates...[/url]