Ask Your Question
0

Virtual box 4.1.1.18 Installation on fedora 17

asked 2012-08-13 13:01:27 -0600

ceh2324 gravatar image

updated 2012-08-13 20:49:32 -0600

FranciscoD_ gravatar image

Hi,

The following is the error I am getting:

#rpm -ivh VirtualBox-4.1-4.1.18_78361_fedora17-1.x86_64.rpm

warning: VirtualBox-4.1-4.1.18_78361_fedora17-1.x86_64.rpm: Header V4 DSA/SHA1 Signature, key ID 98ab5139: NOKEY
Preparing...                ########################################### [100%]
   1:VirtualBox-4.1         ########################################### [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.

Stopping VirtualBox kernel modules                         [  OK  ]
Uninstalling old VirtualBox DKMS kernel modules            [  OK  ]
Trying to register the VirtualBox kernel modules using DKMSError! echo
Your kernel headers for kernel 3.3.4-5.fc17.x86_64 cannot be found at
/lib/modules/3.3.4-5.fc17.x86_64/build or /lib/modules/3.3.4-5.fc17.x86_64/source.
                                                           [FAILED]
  (Failed, trying without DKMS)
Recompiling VirtualBox kernel modules                      [FAILED]
  (Look at /var/log/vbox-install.log to find out what went wrong)

# more /var/log/vbox-install.log

Uninstalling modules from DKMS
Attempting to install using DKMS

Creating symlink /var/lib/dkms/vboxhost/4.1.18/source ->
                 /usr/src/vboxhost-4.1.18

DKMS: add completed.
Failed to install using DKMS, attempting to install without
Makefile:172: *** Error: unable to find the sources of your current Linux kernel
. Specify KERN_DIR=<directory> and run Make again.  Stop.

Please help me on how to install virtual box successfully...

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
2

answered 2012-08-13 20:48:40 -0600

FranciscoD_ gravatar image

I'd suggest you use VirtualBox from Rpmfusion

  1. Set up the rpmfusion repositories: http://fedorasolved.org/post-install-solutions/yum-config/

  2. In a terminal, run:

    su -c 'yum clean all && yum install VirtualBox -y'
edit flag offensive delete link more
0

answered 2012-08-14 11:37:21 -0600

ZenDark gravatar image

I switched from RPMfusion VirtualBox packages to Oracle packages. They have a yum repository and I get the updates as soon as they are out.

Import the signing key

wget -q http://download.virtualbox.org/virtualbox/debian/oracle_vbox.asc -O- | rpm --import -

Download the repo file in /etc/yum.repos.d/

http://download.virtualbox.org/virtualbox/rpm/fedora/virtualbox.repo

Install the packages

yum install VirtualBox-4.1

Each time I install a new kernel the VirtualBox drivers get automagically recompiled without any need to update a kmod package.

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2012-08-13 13:01:27 -0600

Seen: 9,397 times

Last updated: Aug 14 '12