Ubuntu 13.10不能启动VirtualBox怎么办

Ubuntu 13.10\u4e0d\u80fd\u542f\u52a8VirtualBox\u600e\u4e48\u529e

\u6211\u4eec\u90fd\u77e5\u9053VirtualBox\u662f\u4e00\u6b3e\u865a\u62df\u673a\uff0c\u80fd\u591f\u5728Ubuntu\u7cfb\u7edf\u4e2d\u8fd0\u884c\uff0c\u4f46\u5728Ubuntu 13.10\u8fd0\u884c\u7684\u65f6\u5019\u63d0\u793a\u9519\u8bef\uff0c\u5bfc\u81f4VirtualBox\u65e0\u6cd5\u542f\u52a8\uff0c\u9047\u5230\u8fd9\u4e2a\u95ee\u9898\u600e\u4e48\u529e\uff1f\u4e0b\u9762\u5c0f\u7f16\u5c31\u7ed9\u5927\u5bb6\u4ecb\u7ecd\u4e0bUbuntu13.10\u4e0d\u80fd\u542f\u52a8VirtualBox\u7684\u89e3\u51b3\u65b9\u6cd5\u3002

\u3000\u3000\u6700\u8fd1\u9700\u8981\u5728\u82e5\u5e72\u865a\u62df\u673a\u8fdb\u884cHadoop\u7684\u8c03\u8bd5\uff0c\u4e8e\u662f\u5c31\u5728Ubuntu\u4e0a\u5b89\u88c5VirtualBox\u865a\u62df\u673a\uff0c\u53ef\u662f\u78b0\u5230\u4e86\u865a\u62df\u673a\u65e0\u6cd5\u542f\u52a8\u7684\u95ee\u9898\uff1a
\u3000\u3000\u754c\u9762\u4e0a\u4f1a\u5f39\u51fa\u4e00\u4e2a\u9519\u8bef\u5bf9\u8bdd\u6846\uff0c\u9519\u8bef\u4fe1\u606f\u5982\u4e0b\uff1a
\u3000\u3000Kernel driver not installed \uff08rc=-1908\uff09
\u3000\u3000The VirtualBox Linux kernel driver \uff08vboxdrv\uff09 is either not loaded or there is a permission problem with /dev/vboxdrv. Re-setup the kernel module by executing
\u3000\u3000\u2018/etc/init.d/vboxdrv setup\u2019
\u3000\u3000as root. Users of Ubuntu\uff0c Fedora or Mandriva should install the DKMS package first. This package keeps track of Linux kernel changes and recompiles the vboxdrv kernel module if necessary.
\u3000\u3000\u9996\u5148\u6c47\u603b\u4e00\u4e0b\u7cfb\u7edf\u73af\u5883\uff1aubuntu desktop 13.10\uff0c virtualbox-4.3\uff0c kernel\uff1a 3.11.0-17
\u3000\u30001. \u6309\u7167\u8fd9\u4e2a\u9519\u8bef\u6307\u793a\uff0c\u6211\u5c31\u5207\u6362\u5230\u547d\u4ee4\u884c\uff0c
\u3000\u3000sudo /etc/init.d/vboxdrv setup
\u3000\u3000\u5f97\u5230\u5982\u4e0b\u7684\u9519\u8bef\u4fe1\u606f\uff1a
\u3000\u3000\u63d0\u793a\u4f9d\u7136\u65e0\u6cd5\u6b63\u5e38\u52a0\u8f7ddkms\uff0c\u800c\u4e14\u597d\u50cf\u9700\u8981\u5f53\u524d\u5185\u6838\u7684\u6e90\u4ee3\u7801\u8fdb\u884c\u7f16\u8bd1\uff0c\u540c\u65f6\uff0c\u63d0\u793a\u67e5\u770b/var/log/vbox-inuntustall.log\u65e5\u5fd7\u3002
\u3000\u30002. \u4e8e\u662f\uff0ccat /var/log/vbox-install\u65e5\u5fd7
\u3000\u3000Uninstalling modules from DKMS
\u3000\u3000removing old DKMS module vboxhost version 4.3.8
\u3000\u3000------------------------------
\u3000\u3000Deleting module version\uff1a 4.3.8
\u3000\u3000completely from the DKMS tree.
\u3000\u3000------------------------------
\u3000\u3000Done.
\u3000\u3000Attempting to install using DKMS
\u3000\u3000Creating symlink /var/lib/dkms/vboxhost/4.3.8/source -\u300b
\u3000\u3000/usr/src/vboxhost-4.3.8
\u3000\u3000DKMS\uff1a add completed.
\u3000\u3000Failed to install using DKMS\uff0c attempting to install without
\u3000\u3000Makefile:183\uff1a *** Error\uff1a unable to find the sources of your current Linux kernel. Specify KERN_DIR=\u300adirectory\u300b and run Make again. Stop.
\u3000\u30003. \u68c0\u67e5dkms\uff0c\u6b63\u5e38\u5b89\u88c5;\u53cd\u590d\u5b89\u88c5virtualbox\uff0c\u786e\u4fdd\u4e0d\u662f\u5b89\u88c5\u4e0d\u5b8c\u6574\u9020\u6210\u7684\u95ee\u9898\u3002
\u3000\u3000sudo apt-get install dkms
\u3000\u3000\u63d0\u793a\u5df2\u7ecf\u5b89\u88c5\u5230\u6700\u65b0\u7248\u672c\uff0c\u8bf4\u660e\u5e94\u8be5\u4e0d\u662fdkms\u7684\u95ee\u9898\u3002
\u3000\u30004. \u67e5\u770b\u5185\u6838\u7248\u672c uname -r\uff0c \u5f97\u5230\u5f53\u524d\u7684kernel\u7248\u672c\uff1a 3.11.0-17-generic.
\u3000\u30005. \u641c\u7d22\u4e86\u4e00\u4e0b\u7f51\u7edc\uff0c\u6709\u4eba\u63d0\u793a\u8bf4\uff0c\u53ef\u80fd\u9700\u8981\u91cd\u65b0\u5b89\u88c5\u4e00\u4e0b\u5185\u6838\u3002
\u3000\u3000sudo apt-get install linux-headers-$\uff08uname -r\uff09
\u3000\u3000\u6ce8\u610f\uff1a ${uname -r}\u7528\u6765\u4ee3\u8868\u5f53\u524d\u5185\u6838\u7684\u7248\u672c\uff0c\u4e0d\u80fd\u76f4\u63a5\u5728\u547d\u4ee4\u4e2d\u4f7f\u7528\u7684\uff0c\u8fd9\u91cc\u6211\u7684\u7248\u672c\u662fstep 4\u4e2d\u7684\u8f93\u51fa\u3002
\u3000\u30006. \u6309\u7167\u4e4b\u524d\u7684\u95ee\u9898\u63d0\u793a\uff0c\u91cd\u65b0\u8fd0\u884c sudo /etc/init.d/vboxdrv setup
\u3000\u3000~$ sudo /etc/init.d/vboxdrv setup
\u3000\u3000Stopping VirtualBox kernel modules \u3002\u3002.done.
\u3000\u3000Uninstalling old VirtualBox DKMS kernel modules \u3002\u3002.done.
\u3000\u3000Trying to register the VirtualBox kernel modules using DKMS \u3002\u3002.done.
\u3000\u3000Starting VirtualBox kernel modules \u3002\u3002.done.
\u3000\u3000\u63d0\u793a\uff1a \u5df2\u7ecf\u6b63\u5e38\u5c06virtualbox\u6a21\u5757\u6ce8\u518c\u5230kernel\u4e2d\u4e86
\u3000\u30007. \u63a5\u4e0b\u6765\u5c31\u53ef\u4ee5\u70b9\u51fbvirtualbox\u7684\u542f\u52a8\u6309\u94ae\uff0c\u6b63\u5e38\u542f\u52a8virtualbox\u4e2d\u7684\u865a\u62df\u673a\u4e86\u3002
\u3000\u30008. \u539f\u56e0\u5206\u6790\uff1a
\u3000\u3000\u6700\u540e\u6211\u5c1d\u8bd5\u5206\u6790\u4e86\u4e00\u4e0b\uff0c\u4ea7\u751f\u8fd9\u4e2a\u9519\u8bef\u7684\u539f\u56e0\uff1a\u4e4b\u524d\u7684virtualbox\u662f\u53ef\u4ee5\u6b63\u5e38\u5de5\u4f5c\u7684\uff0c\u540e\u6765\u5347\u7ea7ubuntu\u548c\u5185\u6838\u7248\u672c\u4e4b\u540e\uff0c\u4f30\u8ba1\u6253\u7834\u4e86virtualbox\u548c\u5185\u6838\u4e4b\u524d\u7684\u6ce8\u518c\u7cfb\u7edf\uff0c\u5c31\u662f\u539f\u6709\u7684\u6ce8\u518c\u5728\u65b0\u7684\u5185\u6838\u4e2d\u5931\u6548\u4e86\uff0c\u540c\u65f6\uff0c\u73b0\u5728\u7684\u5185\u6838\u53ef\u80fd\u5728\u5347\u7ea7\u8fc7\u7a0b\uff0c\u6709\u82e5\u5e72\u7684\u4e0d\u7a33\u5b9a\u60c5\u51b5\u3002 \u6240\u4ee5\uff0c\u9700\u8981\u91cd\u65b0\u8986\u76d6\u5b89\u88c5\u5185\u6838\uff0c\u7136\u540e\uff0c\u518d\u4e00\u6b21\u5c06virtualbox\u5185\u6838\u6ce8\u518c\u5230\u5f53\u524dlinux\u5185\u6838\u4e4b\u4e2d\uff0c\u4ee5\u4e0a\u4ec5\u4e3a\u731c\u6d4b\uff0c\u6b22\u8fce\u5927\u5bb6\u63d0\u51fa\u65b0\u7684\u60f3\u6cd5\u548c\u63a8\u6d4b\u3002
\u3000\u3000\u4e0a\u9762\u5c31\u662fUbuntu 13.10\u4e0d\u80fd\u542f\u52a8VirtualBox\u7684\u89e3\u51b3\u65b9\u6cd5\u7684\u4ecb\u7ecd\u4e86\uff0c\u8be5\u95ee\u9898\u4e3b\u8981\u51fa\u73b0\u5728Ubuntu 13.10\u7248\u672c\u4e2d\uff0c\u4e14\u662f\u5728\u5347\u7ea7\u5185\u6838\u7248\u672c\u6240\u5bfc\u81f4\u3002
\u8fd4\u56de\u7cfb\u7edf\u4e4b\u5bb6\u9996\u9875

\u76f4\u63a5\u8fd0\u884cvirtualbox\u5462 \u51fa\u4ec0\u4e48?

 我们都知道VirtualBox是一款虚拟机,能够在Ubuntu系统中运行,但在Ubuntu 13.10运行的时候提示错误,导致VirtualBox无法启动,遇到这个问题怎么办?下面小编就给大家介绍下Ubuntu13.10不能启动VirtualBox的解决方法。

  最近需要在若干虚拟机进行Hadoop的调试,于是就在Ubuntu上安装VirtualBox虚拟机,可是碰到了虚拟机无法启动的问题:
  界面上会弹出一个错误对话框,错误信息如下:
  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. Re-setup the kernel module by executing
  ‘/etc/init.d/vboxdrv setup’
  as root. Users of Ubuntu, Fedora or Mandriva should install the DKMS package first. This package keeps track of Linux kernel changes and recompiles the vboxdrv kernel module if necessary.
  首先汇总一下系统环境:ubuntu desktop 13.10, virtualbox-4.3, kernel: 3.11.0-17
  1. 按照这个错误指示,我就切换到命令行,
  sudo /etc/init.d/vboxdrv setup
  得到如下的错误信息:
  提示依然无法正常加载dkms,而且好像需要当前内核的源代码进行编译,同时,提示查看/var/log/vbox-inuntustall.log日志。
  2. 于是,cat /var/log/vbox-install日志
  Uninstalling modules from DKMS
  removing old DKMS module vboxhost version 4.3.8
  ------------------------------
  Deleting module version: 4.3.8
  completely from the DKMS tree.
  ------------------------------
  Done.
  Attempting to install using DKMS
  Creating symlink /var/lib/dkms/vboxhost/4.3.8/source -》
  /usr/src/vboxhost-4.3.8
  DKMS: add completed.
  Failed to install using DKMS, attempting to install without
  Makefile:183: *** Error: unable to find the sources of your current Linux kernel. Specify KERN_DIR=《directory》 and run Make again. Stop.
  3. 检查dkms,正常安装;反复安装virtualbox,确保不是安装不完整造成的问题。
  sudo apt-get install dkms
  提示已经安装到最新版本,说明应该不是dkms的问题。
  4. 查看内核版本 uname -r, 得到当前的kernel版本: 3.11.0-17-generic.
  5. 搜索了一下网络,有人提示说,可能需要重新安装一下内核。
  sudo apt-get install linux-headers-$(uname -r)
  注意: ${uname -r}用来代表当前内核的版本,不能直接在命令中使用的,这里我的版本是step 4中的输出。
  6. 按照之前的问题提示,重新运行 sudo /etc/init.d/vboxdrv setup
  ~$ sudo /etc/init.d/vboxdrv setup
  Stopping VirtualBox kernel modules 。。.done.
  Uninstalling old VirtualBox DKMS kernel modules 。。.done.
  Trying to register the VirtualBox kernel modules using DKMS 。。.done.
  Starting VirtualBox kernel modules 。。.done.
  提示: 已经正常将virtualbox模块注册到kernel中了
  7. 接下来就可以点击virtualbox的启动按钮,正常启动virtualbox中的虚拟机了。
  8. 原因分析:
  最后我尝试分析了一下,产生这个错误的原因:之前的virtualbox是可以正常工作的,后来升级ubuntu和内核版本之后,估计打破了virtualbox和内核之前的注册系统,就是原有的注册在新的内核中失效了,同时,现在的内核可能在升级过程,有若干的不稳定情况。 所以,需要重新覆盖安装内核,然后,再一次将virtualbox内核注册到当前linux内核之中,以上仅为猜测,欢迎大家提出新的想法和推测。
  上面就是Ubuntu 13.10不能启动VirtualBox的解决方法的介绍了,该问题主要出现在Ubuntu 13.10版本中,且是在升级内核版本所导致。
返回系统之家首页

提示出什么错误???

扩展阅读:lute苹果手机轻量版 ... ubuntu官网入口 ... ubuntu官网网址 ... ubuntu在线视频软件 ... ubuntu18.04未发现wifi ... ubuntu最新官网 ... windows11 ... ubuntu18.04 手动分区 ... ubuntu18.04破密 ...

本站交流只代表网友个人观点,与本站立场无关
欢迎反馈与建议,请联系电邮
2024© 车视网