Oracle Enterprise Linux Guest Additions Problem

Discussions related to using VirtualBox on Windows hosts.

Oracle Enterprise Linux Guest Additions Problem

Postby jiqbal » 11. Apr 2010, 04:35

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!
jiqbal
 
Posts: 4
Joined: 11. Apr 2010, 04:30
Primary OS: MS Windows 7
VBox Version: OSE other
Guest OSses: Windows XP, Oracle Enterprise Linux

Re: Oracle Enterprise Linux Guest Additions Problem

Postby stefan.becker » 11. Apr 2010, 08:06

You must install packages like gcc, make, automake, autoconf, kernel-devel.
stefan.becker
Volunteer
 
Posts: 7046
Joined: 7. Jun 2007, 21:53

Re: Oracle Enterprise Linux Guest Additions Problem

Postby jiqbal » 11. Apr 2010, 18:34

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!
jiqbal
 
Posts: 4
Joined: 11. Apr 2010, 04:30
Primary OS: MS Windows 7
VBox Version: OSE other
Guest OSses: Windows XP, Oracle Enterprise Linux

Re: Oracle Enterprise Linux Guest Additions Problem

Postby fixedwheel » 11. Apr 2010, 18:52

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. viewtopic.php?f=3&t=15679
fixedwheel
Volunteer
 
Posts: 1699
Joined: 13. Sep 2008, 02:18

Re: Oracle Enterprise Linux Guest Additions Problem

Postby jiqbal » 11. Apr 2010, 19:04

Thanks I tried that link, whenever I run any of that command it says nothing to do.
jiqbal
 
Posts: 4
Joined: 11. Apr 2010, 04:30
Primary OS: MS Windows 7
VBox Version: OSE other
Guest OSses: Windows XP, Oracle Enterprise Linux

Re: Oracle Enterprise Linux Guest Additions Problem

Postby stefan.becker » 11. Apr 2010, 19:29

"rpm -qa | grep kernel" says what?
stefan.becker
Volunteer
 
Posts: 7046
Joined: 7. Jun 2007, 21:53

Re: Oracle Enterprise Linux Guest Additions Problem

Postby jiqbal » 11. Apr 2010, 21:52

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
jiqbal
 
Posts: 4
Joined: 11. Apr 2010, 04:30
Primary OS: MS Windows 7
VBox Version: OSE other
Guest OSses: Windows XP, Oracle Enterprise Linux

Re: Oracle Enterprise Linux Guest Additions Problem

Postby stefan.becker » 11. Apr 2010, 23:43

Thats looks good. Please check your packet manager (yum?) if there is another package like kernel-source?!
stefan.becker
Volunteer
 
Posts: 7046
Joined: 7. Jun 2007, 21:53

Re: Oracle Enterprise Linux Guest Additions Problem

Postby fixedwheel » 12. Apr 2010, 16:42

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
fixedwheel
Volunteer
 
Posts: 1699
Joined: 13. Sep 2008, 02:18

Re: Oracle Enterprise Linux Guest Additions Problem

Postby james.bayer » 2. May 2010, 20:37

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.
james.bayer
 
Posts: 1
Joined: 2. May 2010, 20:26
Primary OS: MS Windows 7
VBox Version: OSE other
Guest OSses: OEL

Re: Oracle Enterprise Linux Guest Additions Problem

Postby Erik Bergenholtz » 21. Sep 2012, 19:42

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.
Erik Bergenholtz
 
Posts: 1
Joined: 21. Sep 2012, 19:40


Return to VirtualBox on Windows Hosts

Who is online

Users browsing this forum: Bing [Bot] and 15 guests