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!