Page 1 of 1
Oracle Enterprise Linux Guest Additions Problem
Posted: 11. Apr 2010, 04:35
by jiqbal
Hi - I am newb on Linux, but have installed Oracle Enterprise Linux, but am having Issue with the Guest Additions.
I am running virtualbox on Windows 7 and the machine I have created is for OEL.
When I install the Additions I get this error on the kernel message:
Error: unable to find the sources of your current Linux Kernel. Specify the KERN_DIR = <directory> and run Make again ... Stop
I can't see to find the commands to get this resolved for Oracle Enterprise Linux, I saw some Ubuntu commands, but that doesn't help. I would appreciate if someone could help me out here, I want to maximize the resolution to my monitor 1680 X 1050.
Thanks!
Re: Oracle Enterprise Linux Guest Additions Problem
Posted: 11. Apr 2010, 08:06
by stefan.becker
You must install packages like gcc, make, automake, autoconf, kernel-devel.
Re: Oracle Enterprise Linux Guest Additions Problem
Posted: 11. Apr 2010, 18:34
by jiqbal
Hi - can you give some additional steps as to which directory do i go to install those packages and the command to run them. Thanks!
Re: Oracle Enterprise Linux Guest Additions Problem
Posted: 11. Apr 2010, 18:52
by fixedwheel
jiqbal wrote:
I can't see to find the commands to get this resolved for Oracle Enterprise Linux, I saw some Ubuntu commands, but that doesn't help.
as OEL is a Red Hat EL clone: look for the RHEL, fedora or CentOS directions in the manual, faq or threads here e.g.
http://forums.virtualbox.org/viewtopic.php?f=3&t=15679
Re: Oracle Enterprise Linux Guest Additions Problem
Posted: 11. Apr 2010, 19:04
by jiqbal
Thanks I tried that link, whenever I run any of that command it says nothing to do.
Re: Oracle Enterprise Linux Guest Additions Problem
Posted: 11. Apr 2010, 19:29
by stefan.becker
"rpm -qa | grep kernel" says what?
Re: Oracle Enterprise Linux Guest Additions Problem
Posted: 11. Apr 2010, 21:52
by jiqbal
It says:
[root@localhost ~]# rpm -qa | grep kernel
kernel-headers-2.6.18-164.el5
kernel-doc-2.6.18-164.el5
kernel-2.6.18-164.el5
kernel-PAE-2.6.18-164.el5
kernel-debug-devel-2.6.18-164.el5
kernel-debug-2.6.18-164.el5
kernel-devel-2.6.18-164.el5
kernel-xen-2.6.18-164.el5
kernel-xen-devel-2.6.18-164.el5
Re: Oracle Enterprise Linux Guest Additions Problem
Posted: 11. Apr 2010, 23:43
by stefan.becker
Thats looks good. Please check your packet manager (yum?) if there is another package like kernel-source?!
Re: Oracle Enterprise Linux Guest Additions Problem
Posted: 12. Apr 2010, 16:42
by fixedwheel
yes version numbers match, but ...
jiqbal wrote:It says:
[root@localhost ~]# rpm -qa | grep kernel
...
kernel-2.6.18-164.el5
kernel-PAE-2.6.18-164.el5
...
kernel-debug-2.6.18-164.el5
...
kernel-xen-2.6.18-164.el5
...
which kernel is actually running? please do
uname -a
Re: Oracle Enterprise Linux Guest Additions Problem
Posted: 2. May 2010, 20:37
by james.bayer
I am also a newbie, this post was helpful to me. During the OEL5 Update 5 install I kept optionals to a minimum and didn't install the profile that included "Software Development". Therefore certain packages (kernel-devel, kernel-headers, gcc) were not installed.
I was able to get hints as to what was wrong by looking in the /var.../log file that the output of the VBoxAdditions shell was saying to check for errors.
So I used Oracle's yum server and was able to run:
yum install kernel-devel
yum install kernel-headers
yum install gcc
Then running the VBoxAdditions again worked and after a restart all the features were enabled. Thanks for the help.
Re: Oracle Enterprise Linux Guest Additions Problem
Posted: 21. Sep 2012, 19:42
by Erik Bergenholtz
If you are running uek, you must install the kernel-uek-devel package. i.e. " sudo yum install kernel-uek-devel" and that should do the trick.