Oracle Enterprise Linux Guest Additions Problem
-
- Posts: 4
- Joined: 11. Apr 2010, 04:30
- Primary OS: MS Windows 7
- VBox Version: OSE other
- Guest OSses: Windows XP, Oracle Enterprise Linux
Oracle Enterprise Linux Guest Additions Problem
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!
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!
-
- Volunteer
- Posts: 7639
- Joined: 7. Jun 2007, 21:53
Re: Oracle Enterprise Linux Guest Additions Problem
You must install packages like gcc, make, automake, autoconf, kernel-devel.
German Howto (Linux): http://www.linuxforen.de/forums/showthread.php?t=236444
User Manual / Download Section: http://www.virtualbox.de/wiki/Downloads
FAQ: http://www.virtualbox.de/wiki/User_FAQ http://forums.virtualbox.org/viewtopic.php?t=8669
User Manual / Download Section: http://www.virtualbox.de/wiki/Downloads
FAQ: http://www.virtualbox.de/wiki/User_FAQ http://forums.virtualbox.org/viewtopic.php?t=8669
-
- 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
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!
-
- Volunteer
- Posts: 1699
- Joined: 13. Sep 2008, 02:18
Re: Oracle Enterprise Linux Guest Additions Problem
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=15679jiqbal 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.
-
- 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
Thanks I tried that link, whenever I run any of that command it says nothing to do.
-
- Volunteer
- Posts: 7639
- Joined: 7. Jun 2007, 21:53
Re: Oracle Enterprise Linux Guest Additions Problem
"rpm -qa | grep kernel" says what?
German Howto (Linux): http://www.linuxforen.de/forums/showthread.php?t=236444
User Manual / Download Section: http://www.virtualbox.de/wiki/Downloads
FAQ: http://www.virtualbox.de/wiki/User_FAQ http://forums.virtualbox.org/viewtopic.php?t=8669
User Manual / Download Section: http://www.virtualbox.de/wiki/Downloads
FAQ: http://www.virtualbox.de/wiki/User_FAQ http://forums.virtualbox.org/viewtopic.php?t=8669
-
- 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
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
[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
-
- Volunteer
- Posts: 7639
- Joined: 7. Jun 2007, 21:53
Re: Oracle Enterprise Linux Guest Additions Problem
Thats looks good. Please check your packet manager (yum?) if there is another package like kernel-source?!
German Howto (Linux): http://www.linuxforen.de/forums/showthread.php?t=236444
User Manual / Download Section: http://www.virtualbox.de/wiki/Downloads
FAQ: http://www.virtualbox.de/wiki/User_FAQ http://forums.virtualbox.org/viewtopic.php?t=8669
User Manual / Download Section: http://www.virtualbox.de/wiki/Downloads
FAQ: http://www.virtualbox.de/wiki/User_FAQ http://forums.virtualbox.org/viewtopic.php?t=8669
-
- Volunteer
- Posts: 1699
- Joined: 13. Sep 2008, 02:18
Re: Oracle Enterprise Linux Guest Additions Problem
yes version numbers match, but ...
which kernel is actually running? please do uname -ajiqbal 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
...
-
- 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
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.
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.
-
- Posts: 1
- Joined: 21. Sep 2012, 19:40
Re: Oracle Enterprise Linux Guest Additions Problem
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.