ubuntu vbox虛擬機啓動錯誤

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.網絡

可是運行/etc/init.d/vboxdrv setup 時候沒有出現vboxdrv這個模塊,緣由是dkms沒有安裝。接口

#更新源
sudo apt-get update
#安裝module-assistant
sudo apt-get install module-assistant
#從新編譯對應模塊
sudo module-assistant auto-install virtualbox-ose
#列出已經加載了的模塊
lsmod | grep vbox
#卸載舊的vboxdrv模塊
sudo modprobe -r vboxdrv
#加載新的vboxdrv模塊
sudo modprobe vboxdrv

這個時候發現我原先設置的橋接模式不能使用了提示:
Failed to open/create the internal network 'HostInterfaceNetworking-tap0' (VERR_SUPDRV_COMPONENT_NOT_FOUND). Unknown error creating VM (VERR_SUPDRV_COMPONENT_NOT_FOUND).
提示沒法使用個人tap0接口(tap0是我設置的虛擬網絡鏈接)

使用以下命令加載另外一個模塊:
sudo modprobe vboxnetflt。get

相關文章
相關標籤/搜索