Monday, 2 February 2009

VirtualBox Guest Additions on Linux guests

This is just a quick post to remind myself how to do this, because for some reason I keep forgetting ... It might come in handy for others though!

If you're installing the VirtualBox Guest Addition on a Linux guest, you might have problems with display resizing, mouse capture, and complete breakage if you upgrade your kernel. This is easily fixed. Just installed DKMS (Dynamic Kernel Module Support) before running the VBoxLinux*.sh script for your architecture.

This handily enables automatic recompilation of the VirtualBox kernel modules if you change your kernel, and in my case, also actually makes them work in the first place. Double win! Hope this helps somebody. If not, it can just be a post to jog my memory in the future.

No comments:

Post a Comment