VirtualBox Guest Additions – Build Essentials
October 23, 2008
I have been playing with VirtualBox and setting up a minimalist Ubuntu install with the Fluxbox window manager. I did a basic command line install off a live CD, so I ended up with a very small hard drive system foot print – perfect for adding whatever programs I wanted.
I also wanted to install the VirtualBox Guest Additions module to get the cool benefits of the seamless interface and mouse integration. When I tried to do this, I received some error message that the system needed the build and header files for my kernel. I first had to find out what kernel I was running and then I had to get the files. This is how I did it…
In a terminal, I ran the following command which told me I was running kernal 2.6.24-19-generic:
uname -r
I then ran the following command to install the needed files:
sudo aptitude install build-essential kernel-header-2.6.24-19-generic
After the data was downloaded and installed, I tried the Guest Additions again and everything went as smooth as butter. Now I can pop in to and out of my Ubuntu guest with ease.
1 Comment Add your own
Leave a Comment
Some HTML allowed:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <pre> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>
Trackback this post | Subscribe to the comments via RSS Feed
1.
georgedorn | May 17, 2009 at 5:03 pm
I`m running fluxbuntu vbox guest on a ubuntu host.i followed your instructions,but the terminal said that it did`nt find the packages build-essential or kernel-header-2.6..22-14(latest version).