www.centos.org Forum Index CentOS 6 - General Support Problem Installing Kernel in VBOX
|
Bottom Previous Topic Next Topic |
| |
|
|
|---|
| Poster | Thread |
|---|
|
Problem Installing Kernel in VBOX | #1 |
|
|---|---|---|---|
|
Newbie
![]()
Joined: 2011/12/21
From
Posts: 4
|
I have made a some research before posting this, in this website and others, but I have still not fixed my problem.
First of all, I am new using CentOS, I am learning for my class in the Spring Semester. Anyway, I installed CentOS 6.0 in a VBox. I have tried to installed the "Install Guest Additional" but I have this error "Building the main Guest Additions Module FAILED" http://img189.imageshack.us/img189/4741/61187586.jpg I use the commands that the VirtualBox Installer suggest" "yum install kernel-devel-2.6.32.-71.el6.x86_64" It shows that it is updated and nothing to do. When I go to see the log, I find this: http://img824.imageshack.us/img824/5124/87035579.jpg So... I read in an article I need to install the kernel and I follow this steps http://johanlouwers.blogspot.com/2011/10/unable-to-find-sources-of-your-current.html Using this pretty much "yum install gcc kernel-devel kernel-headers" I run again the Virtual Box Guest Additions installer Nothing happened, the same error Ok I got another question now, I also followed the instructions from the log which says change the KERN_DIR I dont know if I am doing it right, but I wrote this... "KERN_DIR=/usr/src/kernels/2.6.32-71.el6-x86_64" "Export KERN_DIR" I run again the Virtual Box Guest Additions installer Nothing happened, the same error When I went to see what kernel I got, it shows me this one: http://img708.imageshack.us/img708/4261/59072596.jpg 2.6.32-131.21.1.el6.x86_64 So, I wonder... where is the 2.6.32-71.el6-x86_64? because Kernels are located in /usr/src/kernels/ right? or is there another place? So I thought, maybe I should change the KERN_DIR to that folder so I wrote "KERN_DIR=/usr/src/kernels/2.6.32-131.21.1.el6.x86_64" "Export KERN_DIR" I run again the Virtual Box Guest Additions installer Nothing happened, the same error So... I am stuck there.... I hope someone can help me with this problem Thank you so much |
||
Posted on: 2011/12/21 5:41
|
|||
|
Re: Problem Installing Kernel in VBOX | #3 |
|
|---|---|---|---|
|
Regular Board Member
![]()
Joined: 2011/1/14
From Poland
Posts: 52
|
It's not work:
Building the OpenGL support module [FAILED] (Look at /var/log/vboxadd-install.log to find out what went wrong) Any ideas? |
||
|
_________________
Henry ■ All Dell servers running on CentOS 5.9 professionally. ■ All test servers running on CentOS 6.4 virtually. |
|||
Posted on: 2011/12/22 18:11
|
|||
|
Re: Problem Installing Kernel in VBOX | #4 |
|
|---|---|---|---|
|
Moderator
![]()
Joined: 2006/12/13
From Tidewater, Virginia, North America
Posts: 18773
|
Welcome to the CentOS fora mcubac. Please see the recommended reading for new users linked in my signature.
It is not obvious to me where you are going wrong, but you need the kernel-devel package matching your running kernel, and the development tools installed, You do not need the full kernel source. Please see the VirtualBox Wiki article section about CentOS as a guest OS. HenrykD - Please review the recommended reading and refrain from hijacking threads. Start a new Topic for your issue to get the attention you need, providing a link to this one if required for context. |
||
|
_________________
Phil Recommended reading: FAQ & Readme first ; Search hint: google "your topic site:centos.org"; Smart Questions |
|||
Posted on: 2011/12/24 2:46
|
|||
|
Re: Problem Installing Kernel in VBOX | #5 |
|
|---|---|---|---|
|
Newbie
![]()
Joined: 2011/12/27
From
Posts: 1
|
This tutorial shows how you can install Sun VirtualBox 3.0 (released on June 30, 2009) on an Ubuntu 9.04 desktop. With VirtualBox you can create and run guest operating systems ("virtual machines") such as Linux and Windows under a host operating system. There are two ways of installing VirtualBox: from precompiled binaries that are available for some distributions and come under the PUEL license, and from the sources that are released under the GPL. This article will show how to set up VirtualBox 3.0 from the precompiled binaries.
As of version 2.0 VirtualBox supports 32 and 64bit host and guest operating systems (if you want to install 64bit guests your processor must support hardware virtualization and, of course, the host operating system must be 64bit as well). This document comes without warranty of any kind! I want to say that this is not the only way of setting up such a system. There are many ways of achieving this goal but this is the way I take. I do not issue any guarantee that this will work for you! Oracle VirtualBox is a powerful x86 and AMD64/Intel64 virtualization product for enterprise as well as home use. VirtualBox is a general-purpose full virtualizer for x86 hardware. Targeted at server, desktop and embedded use, it is now the only professional-quality virtualization solution that is also Open Source Software. VirtualBox supports a large number of guest operating systems: Windows 3.x Windows NT 4.0 Windows 2000 Windows XP Windows Server 2003 Windows Vista Windows 7 DOS Linux (2.4, 2.6, 3.0, 3.1) Solaris OpenSolaris OpenBSD |
||
Posted on: 2011/12/28 7:14
|
|||
|
Re: Problem Installing Kernel in VBOX | #6 |
|
|---|---|---|---|
|
Regular Board Member
![]()
Joined: 2011/3/21
From Germany
Posts: 56
|
Quote:
https://www.centos.org/modules/newbb/viewtopic.php?topic_id=34854&forum=55 could help |
||
Posted on: 2011/12/28 11:06
|
|||
|
Re: Problem Installing Kernel in VBOX | #7 |
|
|---|---|---|---|
|
Regular Board Member
![]()
Joined: 2011/1/14
From Poland
Posts: 52
|
Quote:
I have a similar problem as mcubac and did not want to create a new thread. Quote:
But how do I do this? |
||
|
_________________
Henry ■ All Dell servers running on CentOS 5.9 professionally. ■ All test servers running on CentOS 6.4 virtually. |
|||
Posted on: 2011/12/28 17:24
|
|||
|
Re: Problem Installing Kernel in VBOX | #8 |
|
|---|---|---|---|
|
Regular Board Member
![]()
Joined: 2011/3/21
From Germany
Posts: 56
|
Quote:
have a look at https://forums.virtualbox.org/viewtopic.php?f=1&t=46808#p212002 |
||
Posted on: 2011/12/29 9:27
|
|||
|
Re: Problem Installing Kernel in VBOX | #9 |
|
|---|---|---|---|
|
Newbie
![]()
Joined: 2011/12/21
From
Posts: 4
|
Quote:
Thank you for the replay I did what you told me reinstall the CENTOS and I installed the "yum -y groupinstall "Development Tools" && yum -y groupinstall " I do not understand when you say "mount the Guest Additions image cd/media/VBOX* and /*.run" I hope you understand that I dont know anything about linux, so I would need a little bit more of explanation. After tinstalling the groups and development tools. It stills show me the same error. Can you please explain me step by step? I have read the http://wiki.centos.org/HowTos/Virtualization/VirtualBox but some commands such as yum --enablerepo rpmforge install dkms says command no found. I also upgrade the kernel because some people say that might be the problem, but still nothing. I am running VBOX 4.1.8r on Windows 7 Thank you! |
||
Posted on: 2012/1/2 21:44
|
|||
|
Re: Problem Installing Kernel in VBOX | #10 |
|
|---|---|---|---|
|
Moderator
![]()
Joined: 2006/12/13
From Tidewater, Virginia, North America
Posts: 18773
|
Not sure what's going on with RPMforge. If having problems with that please start a new topic for it.
I created a new Wiki page incorporating the patch procedure - CentOS as a Guest OS in VirtualBox. |
||
|
_________________
Phil Recommended reading: FAQ & Readme first ; Search hint: google "your topic site:centos.org"; Smart Questions |
|||
Posted on: 2012/1/3 21:57
|
|||
Top Previous Topic Next Topic |
|



Topic options
Print Topic
Threaded
Newest First
mcubac






You cannot start a new topic.
You can view topic.