This is a discussion on VirtualBox and Linux kernel updates - Solaris Rss ; 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 ...
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 dkms 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:
- Host: /etc/init.d/vboxdrv setup
- Guest: /etc/init.d/vboxadd setup
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:
This is covered in more depth in the VirtualBox User Manual in the sections on Host Modules and Guest Additions.
- 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.
Hope this is some use to someone
Read More about [VirtualBox and Linux kernel updates...