你電腦 BIOS 的設定有把 VM 功能打開?
BIOS 裡的 Intel® Virtualization Technology 預設是 Disable
安裝完virtualbox之後, 必須安裝核心驅動程式vboxdrv, 請開啟終端機下指令:
$ sudo /etc/init.d/vboxdrv setup
就可以了.
* Stopping VirtualBox kernel modules [ OK ]
* Uninstalling old VirtualBox DKMS kernel modules [ OK ]
* Trying to register the VirtualBox kernel modules using DKMS Error! Your kernel headers for kernel 3.5.0-17-generic cannot be found.
Please install the linux-headers-3.5.0-17-generic package,
or use the --kernelsourcedir option to tell DKMS where it's located
* Failed, trying without DKMS
* Recompiling VirtualBox kernel modules
* Look at /var/log/vbox-install.log to find out what went wrong
zzw3129提到:
Your kernel headers for kernel 3.5.0-17-generic cannot be found.
試著先安裝header files:
$ sudo apt-get install linux-headers-$(uname -r)
也裝裝build-essential吧:
$ sudo apt-get install build-essential
然後重啟, 再
$ sudo /etc/init.d/vboxdrv setup
如果還有錯: 請貼上/var/log/vbox-install.log中錯誤的地方.