virtualbox报错,Please install the virtualbox-ose-dkms package and execute 'modprobe vboxdrv' as root...

今天开vbox,然后启动下里面的xp,报错了.

Please install the virtualbox-ose-dkms package and execute 'modprobe vboxdrv' as root (VERR_SUPDRV_COMPONENT_NOT_FOUND).

dkms模块出问题了,dkms是动态内核模块,vbox靠它来分派物理内存和CPU等的硬件资源, lsmod 发现这个vbox这个模块的没有


解决很简单

重装下dkms 和virtualbox-ose-dkms

#apt-get install --reinstall dkms

#apt-get install --reinstall virtualbox-ose-dkms

#modprobe vboxdrv

root@linux:~# apt-get install --reinstall dkms
Reading package lists... Done
Building dependency tree       
Reading state information... Done
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 0 not upgraded.
Need to get 71.3 kB of archives.
After this operation, 0 B of additional disk space will be used.
Get:1 http://cdn.debian.net/debian/ squeeze/main dkms all 2.1.1.2-5 [71.3 kB]
Fetched 71.3 kB in 0s (152 kB/s)
(Reading database ... 135787 files and directories currently installed.)
Preparing to replace dkms 2.1.1.2-5 (using .../dkms_2.1.1.2-5_all.deb) ...
Unpacking replacement dkms ...
Processing triggers for man-db ...
Setting up dkms (2.1.1.2-5) ...
root@linux:~# apt-get install --reinstall virtualbox-ose-dkms
Reading package lists... Done
Building dependency tree       
Reading state information... Done
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 0 not upgraded.
Need to get 0 B/549 kB of archives.
After this operation, 0 B of additional disk space will be used.
(Reading database ... 135787 files and directories currently installed.)
Preparing to replace virtualbox-ose-dkms 3.2.10-dfsg-1+squeeze1 (using .../virtualbox-ose-dkms_3.2.10-dfsg-1+squeeze1_all.deb) ...

-------- Uninstall Beginning --------
Module:  virtualbox-ose
Version: 3.2.10
Kernel:  2.6.32-5-amd64 (x86_64)
-------------------------------------

Status: Before uninstall, this module version was ACTIVE on this kernel.

vboxdrv.ko:
 - Uninstallation
   - Deleting from: /lib/modules/2.6.32-5-amd64/updates/dkms/
 - Original module
   - No original module was found for this module on this kernel.
   - Use the dkms install command to reinstall any previous module version.


vboxnetadp.ko:
 - Uninstallation
   - Deleting from: /lib/modules/2.6.32-5-amd64/updates/dkms/
 - Original module
   - No original module was found for this module on this kernel.
   - Use the dkms install command to reinstall any previous module version.


vboxnetflt.ko:
 - Uninstallation
   - Deleting from: /lib/modules/2.6.32-5-amd64/updates/dkms/
 - Original module
   - No original module was found for this module on this kernel.
   - Use the dkms install command to reinstall any previous module version.

depmod....

DKMS: uninstall Completed.

------------------------------
Deleting module version: 3.2.10
completely from the DKMS tree.
------------------------------
Done.
Unpacking replacement virtualbox-ose-dkms ...
Setting up virtualbox-ose-dkms (3.2.10-dfsg-1+squeeze1) ...
Loading new virtualbox-ose-3.2.10 DKMS files...
Building only for 2.6.32-5-amd64
Building initial module for 2.6.32-5-amd64
Done.

vboxdrv.ko:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/2.6.32-5-amd64/updates/dkms/

vboxnetadp.ko:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/2.6.32-5-amd64/updates/dkms/

vboxnetflt.ko:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/2.6.32-5-amd64/updates/dkms/

depmod....

DKMS: install Completed.
Stopping VirtualBox kernel modules.
Starting VirtualBox kernel modules.
root@linux:~# modprobe vboxdrv

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值