今天开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