LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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 05-26-2009, 02:16 PM   #1
anika.ella
Member
 
Registered: Dec 2007
Distribution: Fedora 8
Posts: 64

Rep: Reputation: 15
sun virtual box problems


I have fedora 10 on an AMD X64 desktop. I installed sunvirtualbox on it, in the intention to install windows . After define the virtual hdd in the virtual box, when i give start, I receive error asying that the source for the kernel cannot be find and the virtualbox cannot be configured. Practically, the virtualbox kernel module refuse to load.
I use virtualbox version 222 r46594.
Any ideas ? Help !
 
Old 05-26-2009, 05:53 PM   #2
colucix
LQ Guru
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509

Rep: Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983
Install the kernel sources. Package names are kernel-devel and kernel-headers.
Code:
# yum install kernel-devel kernel-headers
Be sure the installed version matches the currently installed kernel.
 
Old 05-27-2009, 01:09 AM   #3
anika.ella
Member
 
Registered: Dec 2007
Distribution: Fedora 8
Posts: 64

Original Poster
Rep: Reputation: 15
When I give the command
yum install kernel-devel kernel-headers

I receive the error
rpmdb open failed
 
Old 05-27-2009, 01:38 AM   #4
saavik
Member
 
Registered: Nov 2001
Location: NRW, Germany
Distribution: SLES / FC/ OES / CentOS
Posts: 614

Rep: Reputation: 32
for yum you will need an internet-connection.

Do you have one ?

Maybe try

ping linux.com
 
Old 05-27-2009, 02:47 AM   #5
colucix
LQ Guru
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509

Rep: Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983
Quote:
Originally Posted by anika.ella View Post
When I give the command
yum install kernel-devel kernel-headers

I receive the error
rpmdb open failed
Have you tried from Applications --> Add/Remove Software? Did you get the same error? If yes you can try to rebuild the rpm database using
Code:
rpm --rebuilddb
 
Old 05-27-2009, 03:32 AM   #6
anika.ella
Member
 
Registered: Dec 2007
Distribution: Fedora 8
Posts: 64

Original Poster
Rep: Reputation: 15
I installed virtualbox, then when I tried to uninstall with the add-remove i received the same error thet I mentioned. I will try what you sugessted and I will tell you what happend.
 
Old 05-27-2009, 06:14 AM   #7
anika.ella
Member
 
Registered: Dec 2007
Distribution: Fedora 8
Posts: 64

Original Poster
Rep: Reputation: 15
I give the following commands with the following effects:

rpm --rebuilddb
and it works.

yum install kernel-devel kernel-headers
and it works

yum groupinstall 'Development Tools'
and it works

rpm -ivh VirtualBox-2.2.2_46594_fedora9-1.x86_64.rpm
and it works

/etc/init.d/vboxdrv setup
and i obtained the following:

/etc/init.d/vboxdrv setup
Stopping VirtualBox kernel module [ OK ]
Removing old VirtualBox netflt kernel module [ OK ]
Removing old VirtualBox kernel module [ OK ]
Recompiling VirtualBox kernel module [ OK ]
Starting VirtualBox kernel module [FAILED]
(Cannot create device /dev/vboxdrv with major 10 and minor 59)

Now what ?????
 
Old 05-27-2009, 07:44 AM   #8
colucix
LQ Guru
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509

Rep: Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983
What kernel is the system running? Can you post the exact output of uname -a?
 
Old 05-27-2009, 08:27 AM   #9
anika.ella
Member
 
Registered: Dec 2007
Distribution: Fedora 8
Posts: 64

Original Poster
Rep: Reputation: 15
Linux localhost.localdomain 2.6.27.24-170.2.68.fc10.x86_64 #1 SMP Wed May 20 22:47:23 EDT 2009 x86_64 x86_64 x86_64 GNU/Linux
 
Old 05-27-2009, 08:38 AM   #10
colucix
LQ Guru
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509

Rep: Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983
Ok, thanks. No problem with the kernel version. Does the character device /dev/vboxdrv already exist? If yes try to remove it
Code:
rm /dev/vboxdrv
then run "/etc/init.d/vboxdrv setup" again.
 
Old 05-28-2009, 05:12 AM   #11
anika.ella
Member
 
Registered: Dec 2007
Distribution: Fedora 8
Posts: 64

Original Poster
Rep: Reputation: 15
Finally I just start the VB from the menu and it seem to work ! It recognise the DVD, it tried to install XP, but from some reason, the installation was cancelled. I will try to set different the virtual unit that was created with VB.
Thank you all !
 
  


Reply



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
Sun xVM Virtual Box error with ubuntu 8.10? tysonmax20042003 Linux - General 5 02-01-2009 12:13 PM
Running virtual pc files in a virtual machine in linux ... preferably virtual box biharibong Linux - Software 4 01-21-2009 01:04 PM
Sun Virtual Box and unzip doracle Linux - Software 1 12-29-2008 05:20 PM
Virtual Box. Removing a shared folder inside virtual xp. glore2002 Linux - Software 2 05-20-2007 11:12 AM
Understanding SSH (Sun box to Linux box) oswald21 Linux - Newbie 2 07-08-2006 02:06 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:34 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration