VirtualBox on Centos5.2_I386 ?

Discussions related to using VirtualBox on Linux hosts.
Post Reply
dixioldie
Posts: 5
Joined: 2. Jan 2009, 16:48
Primary OS: MS Windows 7
VBox Version: OSE other
Guest OSses: WinXP

VirtualBox on Centos5.2_I386 ?

Post by dixioldie »

Has anybody had the same problem (and hopefully also a solution):

I tried to install VirtualBox RHEL5 on CENTOS5.2: Installation worked without problems, but I could never start VirtualBox

OK. Uninstalled VirtualBox RHEL5 and tried to install RHEL4 version:
Installation failed: when checking dependencies, libpython2.3.so.1.0 is missing and could'nt be found.

What can I do to get VB working?
sej7278
Volunteer
Posts: 1003
Joined: 5. Sep 2008, 14:40
Primary OS: Debian other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Solaris, Linux, Windows, OS/2, MacOSX, FreeBSD
Contact:

Post by sej7278 »

worked fine for me. try using yum to pull in dependencies, if you used "rpm -Uvh" did it error about missing packages?

Code: Select all

 yum localinstall --nogpgcheck VirtualBox-2.1.0_41146_rhel5-1.i386.rpm 
then after its installed, you have to do "/etc/init.d/vboxdrv setup" as i recall.

you probably need to have kernel-devel and kernel-headers installed as well as gcc etc; oh and not be running a xen kernel.

you really have to give us more info - like error messages or what you mean by "it would never start". don't go installing the rhel4 rpm though.
dixioldie
Posts: 5
Joined: 2. Jan 2009, 16:48
Primary OS: MS Windows 7
VBox Version: OSE other
Guest OSses: WinXP

VirtualBox on Centos 5.2 i286

Post by dixioldie »

After the last step, I got the messages:
[root@CES-14-HPCompaq download]# /etc/init.d/vboxdrv setup
Stopping VirtualBox kernel module [ OK ]
Recompiling VirtualBox kernel module [FAILED]
(Look at /var/log/vbox-install.log to find out what went wrong)
[
The log file looks like:
[root@CES-14-HPCompaq download]# cat /var/log/vbox-install.log
Makefile:143: *** Error: unable to find the sources of your current Linux kernel. Specify KERN_DIR=<directory> and run Make again. Stop.
[
On other places, I got the info, that there are no source files available for Centos5.2
So, what can I do?
sej7278
Volunteer
Posts: 1003
Joined: 5. Sep 2008, 14:40
Primary OS: Debian other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Solaris, Linux, Windows, OS/2, MacOSX, FreeBSD
Contact:

Re: VirtualBox on Centos 5.2 i286

Post by sej7278 »

dixioldie wrote:On other places, I got the info, that there are no source files available for Centos5.2
So, what can I do?
that's rubbish.

Code: Select all

yum install kernel-devel kernel-headers
then try again.
dixioldie
Posts: 5
Joined: 2. Jan 2009, 16:48
Primary OS: MS Windows 7
VBox Version: OSE other
Guest OSses: WinXP

Thanks!

Post by dixioldie »

Thanks a lot for the very precise information.
With your help, it works now.
Post Reply