LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Virtualization and Cloud
User Name
Password
Linux - Virtualization and Cloud This forum is for the discussion of all topics relating to Linux Virtualization and Linux Cloud platforms. Xen, KVM, OpenVZ, VirtualBox, VMware, Linux-VServer and all other Linux Virtualization platforms are welcome. OpenStack, CloudStack, ownCloud, Cloud Foundry, Eucalyptus, Nimbus, OpenNebula and all other Linux Cloud platforms are welcome. Note that questions relating solely to non-Linux OS's should be asked in the General forum.

Notices


Reply
  Search this Thread
Old 08-04-2011, 08:53 AM   #1
wang
Member
 
Registered: Dec 2010
Distribution: ubuntu 10.04
Posts: 43

Rep: Reputation: 0
virtualbox install error ----No suitabale module. ..........


i just begin using virtualbox,but get errors as following:
Code:
nuli@nuli-laptop:~$ sudo apt-get install virtualbox-ose
[sudo] password for nuli: 
 ....
 ....
setting  virtualbox-ose (3.1.6-dfsg-2ubuntu2) ...
 * Stopping VirtualBox kernel modules                                    [ OK ] 
 * Starting VirtualBox kernel modules                                            
* No suitable module for running kernel found
                                                                         [fail]
invoke-rc.d: initscript virtualbox-ose, action "restart" failed.
then
Code:
nuli@nuli-laptop:~$ VBoxManage createvm --name "WM" --register
WARNING: The character device /dev/vboxdrv does not exist.
	 Please install the virtualbox-ose-dkms package and the appropriate
	 headers, most likely linux-headers-generic.

	 You will not be able to start VMs until this problem is fixed.
Sun VirtualBox Command Line Management Interface Version 3.1.6_OSE
(C) 2005-2010 Sun Microsystems, Inc.
All rights reserved.

Virtual machine 'WM' is created and registered.
UUID: d800d020-af89-4125-b783-21628f65fc7f
Settings file: '/home/nuli/.VirtualBox/Machines/WM/WM.xml'
then
Code:
nuli@nuli-laptop:~$ vboxmanage -v
WARNING: The character device /dev/vboxdrv does not exist.
	 Please install the virtualbox-ose-dkms package and the appropriate
	 headers, most likely linux-headers-generic.

	 You will not be able to start VMs until this problem is fixed.
3.1.6_OSEr59338

Code:
nuli@nuli-laptop:~$ uname -a
Linux nuli-laptop 2.6.38-10-generic #46~lucid1-Ubuntu SMP Fri Jul 8 16:58:33 UTC 2011 i686 GNU/Linux
somehow my kernel virsion upgrades to 2.6.38-10,it seems not stable and the problem is just caused by this,but i do not know what to do.besides,maybe the vbox virsion is not suitable,and looks different from others,or anyone please help how to install another virsion?

thanks for any help!

Last edited by wang; 08-04-2011 at 08:55 AM.
 
Old 08-07-2011, 11:55 AM   #2
headrift
Member
 
Registered: Sep 2005
Distribution: Gentoo, Sabayon, Puppy, Arch
Posts: 165

Rep: Reputation: 29
The error messages are telling you that the "vboxdrv" kernel module isn't loaded.

Once you install it (I think "dkms" is the package you want) the init script should run.

Also, make sure your user is in the right group... look for the "vboxusers" group.
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Can't Build VirtualBox Kernel Module in 13.1 Woodsman Slackware 2 04-26-2011 10:52 PM
[SOLVED] VirtualBox & The New 2.6.37.3 Kernel. (Solution: DKMS Required To Install VB Kernel Module) cwizardone Slackware 49 03-17-2011 06:42 PM
[SOLVED] VirtualBox < 3.1.4 module build fails on 2.6.33 kernel rpedrica Slackware 12 03-29-2010 07:23 AM
[SOLVED] VirtualBox Install Error MTK358 Linux - Software 3 03-08-2010 02:49 PM
CPAN module install error ilnli Programming 1 04-06-2008 02:18 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Virtualization and Cloud

All times are GMT -5. The time now is 04:39 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