Installing VirtualBox Guest Additions
First, a disclaimer: you may not find this post useful unless you are interested in virtualbox or virtualization. Also, there are plenty of other blogs that will tell you how to install the guest additions. This is my personal reference.
According to the virtualbox wiki, virtualbox is the only professional-quality virtualization solution that is also Open Source Software. Alright, a big +1 for open source! Not that I have ever cracked open the source… :P
Another big plus for me is that it is cross-platform. I use windows and linux machines, so this is very important to me.
As an aside, VMware player appears to also be somewhat cross-platform (windows and linux, no OSX). I have used it as well, but I feel better about my experience with virtualbox. However, I don’t have any real solid reasons to explain why. Feel free to try to change my mind if you must…
So what are the guest additions? From the wiki, it is special software that can be installed inside Windows, Linux and Solaris virtual machines to improve performance and make integration much more seamless. Things like mouse pointer integration and arbitrary screen solutions (e.g. by resizing the guest window). That’s the kicker for me. I install them in my linux guests so that the guest resolution will adjust to match the host window.
Anyway, the point of this is how to actually install them. Here is a link to a good set of instructions in case you don’t find these sufficient.
First, mount the guest additions “disc” from the host window’s menu: Devices > Install Guest Additions.
Now you should see the disc mounted in nautilus. The next step is to copy the appropriate file to your home folder (or some other location on the guest machine).
$ cp /media//VBoxLinuxAdditions-x86.run .
Now, make the file runnable.
$ sudo chmod +x VBoxLinuxAdditions-x86.run
Finally, run the installer.
$ sudo ./VBoxLinuxAdditions-x86.run
That’s all!