virtualbox虚拟机启动不了

系统:ubuntu 12.10
开启虚拟机提示使用"/etc/init.d/vboxdrv setup"
* Stopping VirtualBox kernel module * done.
* Recompiling VirtualBox kernel module
* Look at /var/log/vbox-install.log to find out what went wrong
查看"/var/log/vbox-install.log"日志:
Makefile:127: *** Error: unable to find the sources of your current Linux kernel. Specify KERN_DIR=<directory> and run Make again. Stop.

解决:
安装内核头文件
# sudo apt-get install linux-headers-`uname -r`

重启服务
# /etc/init.d/vboxdrv setup


来自为知笔记(Wiz)


你可能感兴趣的:(virtualbox虚拟机启动不了)