LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 02-04-2012, 07:45 PM   #1
TroN-0074
Senior Member
 
Registered: Dec 2011
Location: Michigan USA
Distribution: OpenSUSE 13.1 64bit-Gnome 3.10 on ASUS U52F
Posts: 1,425

Rep: Reputation: 339Reputation: 339Reputation: 339Reputation: 339
Installing VirtualBox


I am trying to install Virtualbox so I can test non Linux guest, such as Minix, OpenIndiana, NetBSD, etc.

Howerver when I start VB I keep getting and error that it cant find the modules in the kernel to run VB Here is a link to the other thread I had started on a sub forum http://www.linuxquestions.org/questi...12-1-a-927266/

I took a look to the vbox-install.log file and this is how it looks like

Quote:
Uninstalling modules from DKMS
removing old DKMS module vboxhost version 4.1.8

------------------------------
Deleting module version: 4.1.8
completely from the DKMS tree.
------------------------------
Done.
Attempting to install using DKMS

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

DKMS: add Completed.
You can use the --kernelsourcedir option to tell DKMS where it's located.
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.
Kernel I am using is 3.1.9-1.4-desktop
I will appreciate any advice, thank you!
 
Old 02-04-2012, 08:01 PM   #2
Knightron
Senior Member
 
Registered: Jan 2011
Location: Planet Earth
Distribution: Slackware.
Posts: 1,337
Blog Entries: 7

Rep: Reputation: 158Reputation: 158
You need to tell us what distrobution you are using. You need dkms installed, and compiling tools too, they can be named differently depending on what distro you're using.
 
Old 02-04-2012, 08:20 PM   #3
TroN-0074
Senior Member
 
Registered: Dec 2011
Location: Michigan USA
Distribution: OpenSUSE 13.1 64bit-Gnome 3.10 on ASUS U52F
Posts: 1,425

Original Poster
Rep: Reputation: 339Reputation: 339Reputation: 339Reputation: 339
Thank you this is in OpenSuSE 12.1/Gnome 3.x I alredy installed DKMS and I have gcc as well.
I will appreciate all advices
 
Old 02-04-2012, 08:29 PM   #4
frankbell
Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Mageia, Mint
Posts: 7,919

Rep: Reputation: 1494Reputation: 1494Reputation: 1494Reputation: 1494Reputation: 1494Reputation: 1494Reputation: 1494Reputation: 1494Reputation: 1494Reputation: 1494
Quote:
Makefile:172: *** Error: unable to find the sources of your current Linux kernel. Specify KERN_DIR=<directory> and run Make again.
It sounds as if DKMS is complaining that the kernel source code is not present. Many distros do not install kernel sources by default.

Edit: You should be able to find them in the repos. The command uname -r will tell you which kernel version you have.

Last edited by frankbell; 02-04-2012 at 08:31 PM.
 
Old 02-04-2012, 08:35 PM   #5
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 5,847

Rep: Reputation: 529Reputation: 529Reputation: 529Reputation: 529Reputation: 529Reputation: 529
How many kernels do you have, because you sad you installed kernel headers.
 
Old 02-04-2012, 09:01 PM   #6
TroN-0074
Senior Member
 
Registered: Dec 2011
Location: Michigan USA
Distribution: OpenSUSE 13.1 64bit-Gnome 3.10 on ASUS U52F
Posts: 1,425

Original Poster
Rep: Reputation: 339Reputation: 339Reputation: 339Reputation: 339
Quote:
Originally Posted by TroN-0074 View Post
Kernel I am using is 3.1.9-1.4-desktop
As far as I know that is the only kernel I have.

Thank you for replaying, I appreciate all advices
 
Old 02-04-2012, 09:08 PM   #7
Knightron
Senior Member
 
Registered: Jan 2011
Location: Planet Earth
Distribution: Slackware.
Posts: 1,337
Blog Entries: 7

Rep: Reputation: 158Reputation: 158
Hey, i've just realized what you're doing. You're trying to install virtual box from the opensuse repo aren't you? I've never had any success from the official repos. I highly sugest you use the virtual box repo, it is so much easier, and you get the newest updates. When i was running opensuse 12.1 not long ago, i did this with no problems, but before that i couldn't get the official repo version to work either.
 
  


Reply

Tags
kernel headers, opensuse, virtual box


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
need help installing virtualbox baronobeefdip Linux - Software 2 05-18-2011 05:52 PM
[SOLVED] Installing 13.37 on the VirtualBox from an ISO TheIndependentAquarius Slackware 4 05-02-2011 06:39 AM
[SOLVED] Installing apps in VirtualBox newbeeman Linux - Virtualization and Cloud 3 12-03-2010 11:15 PM
installing ose virtualbox Fred Caro Linux - Newbie 3 06-20-2008 06:21 PM
Help installing VirtualBox 449 Linux - Software 1 02-15-2008 09:58 AM


All times are GMT -5. The time now is 04:08 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration