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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
05-26-2009, 02:16 PM
|
#1
|
|
Member
Registered: Dec 2007
Distribution: Fedora 8
Posts: 64
Rep:
|
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 !
|
|
|
|
05-26-2009, 05:53 PM
|
#2
|
|
Moderator
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.4 OpenSuSE 12.2
Posts: 9,899
|
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.
|
|
|
|
05-27-2009, 01:09 AM
|
#3
|
|
Member
Registered: Dec 2007
Distribution: Fedora 8
Posts: 64
Original Poster
Rep:
|
When I give the command
yum install kernel-devel kernel-headers
I receive the error
rpmdb open failed
|
|
|
|
05-27-2009, 01:38 AM
|
#4
|
|
Member
Registered: Nov 2001
Location: NRW, Germany
Distribution: SLES11 / FC17/ OES / CentOS
Posts: 583
Rep:
|
for yum you will need an internet-connection.
Do you have one ?
Maybe try
ping linux.com
|
|
|
|
05-27-2009, 02:47 AM
|
#5
|
|
Moderator
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.4 OpenSuSE 12.2
Posts: 9,899
|
Quote:
Originally Posted by anika.ella
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
|
|
|
|
05-27-2009, 03:32 AM
|
#6
|
|
Member
Registered: Dec 2007
Distribution: Fedora 8
Posts: 64
Original Poster
Rep:
|
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.
|
|
|
|
05-27-2009, 06:14 AM
|
#7
|
|
Member
Registered: Dec 2007
Distribution: Fedora 8
Posts: 64
Original Poster
Rep:
|
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 ?????
|
|
|
|
05-27-2009, 07:44 AM
|
#8
|
|
Moderator
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.4 OpenSuSE 12.2
Posts: 9,899
|
What kernel is the system running? Can you post the exact output of uname -a?
|
|
|
|
05-27-2009, 08:27 AM
|
#9
|
|
Member
Registered: Dec 2007
Distribution: Fedora 8
Posts: 64
Original Poster
Rep:
|
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
|
|
|
|
05-27-2009, 08:38 AM
|
#10
|
|
Moderator
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.4 OpenSuSE 12.2
Posts: 9,899
|
Ok, thanks. No problem with the kernel version. Does the character device /dev/vboxdrv already exist? If yes try to remove it
then run "/etc/init.d/vboxdrv setup" again.
|
|
|
|
05-28-2009, 05:12 AM
|
#11
|
|
Member
Registered: Dec 2007
Distribution: Fedora 8
Posts: 64
Original Poster
Rep:
|
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 !
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 04:27 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|