如何更正VirtualBox安装 [英] How to correct virtualbox installation

查看:229
本文介绍了如何更正VirtualBox安装的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这是从终端运行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-genericvirtualbox-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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆