Installing VirtualBox Guest Additions in CentOS4
Filed Under: Technical
This one frustrated me enough that I have to post the solution.
At work we run RHEL4 on our production servers but with limited licences I decided to try CentOS4 for testing. I’d been mucking around with VirtualBox and as my test hardware had died I decided to try it.
When it came to installing the Guest Additions I hit a roadblock. I followed the instructions for installing the headers:
yum install kernel-devel
…but that wasn’t working. I was still getting:
Please install the build and header files for your current Linux kernel.
The trick is to create the default symbolic link to the header files:
ln -s /usr/src/kernels/2.6.18-92.1.18.el5-i686 /usr/src/linux
Problem solved by jeffreywt on the VirtualBox Forums.
Comments
1 Comment so far
Just remember that when I create the symlink, I did it for my particular kernel version. As we are now on CentOS 5.4, the kernel version is a bit different in the ln -s command.
Leave a comment
Line and paragraph breaks automatic, HTML allowed:<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>
Apologies for the CAPTCHA but the SPAM was killing the site. I was getting hundreds each day.
This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.