Installing VirtualBox in RHEL5

Dustin Larmeir dustin at larmeir.com
Mon Sep 6 11:30:00 UTC 2010


Install these two packages and you should be good to go:

kernel-devel  - Necessary
kernel-headers - Good to have just in case

What it is looking for in this is the kernel-devel package which is required
for virtual box to build it's custom kernel modules. - Dustin

On Mon, Sep 6, 2010 at 5:34 AM, Haridas, Rijeshk (NSN - IN/Bangalore) <
rijeshk.haridas at nsn.com> wrote:

> Hello,
>
> We have an usecase to install virtualbox on our RHEL5 server.
> I downloaded the latest 64 bit binary ie,
> VirtualBox-3.2-3.2.8_64453_rhel5-1.x86_64.rpm and did rpm -ivh <rpm name>.
>
> Its showing the below error .Can anyone help me out.it seems some library
> is missing.
>
>
> [root at pythagoras vmware]# rpm -ivh
> VirtualBox-3.2-3.2.8_64453_rhel5-1.x86_64.rpm
> warning: VirtualBox-3.2-3.2.8_64453_rhel5-1.x86_64.rpm: Header V4 DSA
> signature: NOKEY, key ID 98ab5139
> Preparing...                ###########################################
> [100%]
>   1:VirtualBox-3.2         ###########################################
> [100%]
>
> Creating group 'vboxusers'. VM users must be member of that group!
>
> No precompiled module for this kernel found -- trying to build one.
> Messages
> emitted during module compilation will be logged to
> /var/log/vbox-install.log.
>
> Compilation of the kernel module FAILED! VirtualBox will not start until
> this
> problem is fixed. Please consult /var/log/vbox-install.log to find out why
> the
> kernel module does not compile. Most probably the kernel sources are not
> found.
> Install them and execute
>       /etc/init.d/vboxdrv setup
> as root.
>
> The /var/log/vbox-install.log shows the below error:
>
> ** Compiling vboxdrv
> Makefile:159: *** Error: unable to find the sources of your current Linux
> kernel. Specify KERN_DIR=<directory> and run Make again.  Stop.
>
> Is it looking for kernel-devel rpm??
>
>
> Regards,
> Rijesh
>
>
> --
> redhat-list mailing list
> unsubscribe mailto:redhat-list-request at redhat.com?subject=unsubscribe
> https://www.redhat.com/mailman/listinfo/redhat-list
>



More information about the redhat-list mailing list