如何更正VirtualBox安装 [英] How to correct virtualbox installation
问题描述
这是从终端运行virtualbox
时错误输出的方式.怎么纠正呢?我在Ubuntu 12.10 64位计算机上.
Here is how the error output is if I run virtualbox
from the terminal. How to correct it? I am on a Ubuntu 12.10 64bit machine.
virtualbox
WARNING: The character device /dev/vboxdrv does not exist.
Please install the virtualbox-ose-dkms package and the appropriate
headers, most likely linux-headers-generic.
You will not be able to start VMs until this problem is fixed.
我同时拥有最新的linux-headers-generic
和virtualbox-ose-dkms
软件包
I have both the latest linux-headers-generic
and virtualbox-ose-dkms
packages
推荐答案
在尝试运行此程序之前,请确保已在系统上安装了当前正在运行的Kernel标头.如果不这样做,您将收到一条错误消息,指示您需要安装它们或使用--kernelsource选项指向上述标头.
Before attempting to run this be sure that the current running Kernel headers are installed on your system. If you don't you will receive an error indicating that you need to install them or use the --kernelsource option to point to said headers.
按照此博客帖子帮助了我.基本上,在安装了这两个软件包之后,您还需要重新配置:
Following the directions on this blog post helped me. Basically after you install those two packages you also need to do the reconfiguration:
sudo dpkg-reconfigure virtualbox-dkms
sudo dpkg-reconfigure virtualbox
这篇关于如何更正VirtualBox安装的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!