更新了ubuntu,啟動虛擬電腦時(shí)會報(bào)錯(cuò):
1 | NS_ERROR_FAILURE (0x80004005) Machine IMachine {5eaa9319-62fc-4b0a-843c-0cb1940f8a91} |
并且有如下提示:
1 2 3 4 5 6 7 | Kernel driver not installed (rc=-1908) The VirtualBox Linux kernel driver (vboxdrv) is either not loaded or there is a permission problem with /dev/vboxdrv. Please reinstall the kernel module by executing '/etc/init.d/vboxdrv setup' as root. If it is available in your distribution, you should install the DKMS package first. This package keeps track of Linux kernel changes and recompiles the vboxdrv kernel module if necessary. |
大概是說內(nèi)核驅(qū)動沒有安裝,估計(jì)是ubuntu內(nèi)核更新后virtualbox沒有相應(yīng)更新,察看了下ubuntu的內(nèi)核,果然更新了:
1 | 內(nèi)核 Linux 3.2.0-25-generic |
從3.2.0-24更新到了3.2.0-25.
按照提示信息,執(zhí)行
1 | sudo /etc/init.d/vboxdrv setup |
運(yùn)行情況:
1 2 3 4 5 6 | * Stopping VirtualBox kernel modules [ OK ] * Uninstalling old VirtualBox DKMS kernel modules [ OK ] * Trying to register the VirtualBox kernel modules using DKMS * Failed, trying without DKMS * Recompiling VirtualBox kernel modules [ OK ] * Starting VirtualBox kernel modules [ OK ] |
然后就可以啟動虛擬電腦了。