作者共发了3篇帖子。 内容转换:不转换▼
 
点击 回复
831 2
【解决方案】Fedora24下安装VirtualBox5.1.4后无法启动虚拟机的解决办法
一派护法 十九级
1楼 发表于:2016-8-27 09:16
【情况】
$ sudo /sbin/vboxconfig
vboxdrv.sh: Building VirtualBox kernel modules.
This system is not currently set up to build kernel modules (system extensions).
Running the following commands should set the system up correctly:

  yum install kernel-core-devel-4.6.7-300.fc24.x86_64
(The last command may fail if your system is not fully updated.)
  yum install kernel-core-devel
vboxdrv.sh: failed: Look at /var/log/vbox-install.log to find out what went wrong.
This system is not currently set up to build kernel modules (system extensions).
Running the following commands should set the system up correctly:

  yum install kernel-core-devel-4.6.7-300.fc24.x86_64
(The last command may fail if your system is not fully updated.)
  yum install kernel-core-devel

There were problems setting up VirtualBox.  To re-start the set-up process, run
  /sbin/vboxconfig
as root.
一派护法 十九级
2楼 发表于:2016-8-27 09:17
【解决方案】
1.临时关闭SELinux:
$ sudo setenforce 0
2.安装kernel-devel:
$ sudo dnf install kernel-devel
Last metadata expiration check: 2:18:31 ago on Sat Aug 27 06:48:41 2016.
Dependencies resolved.
================================================================================
 Package             Arch          Version                 Repository      Size
================================================================================
Installing:
 kernel-devel        x86_64        4.6.7-300.fc24          updates         10 M

Transaction Summary
================================================================================
Install  1 Package

Total download size: 10 M
Installed size: 39 M
Is this ok [y/N]: y
Downloading Packages:
kernel-devel-4.6.7-300.fc24.x86_64.rpm          131 kB/s |  10 MB     01:22   
--------------------------------------------------------------------------------
Total                                           127 kB/s |  10 MB     01:24    
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Installing  : kernel-devel-4.6.7-300.fc24.x86_64                          1/1
  Verifying   : kernel-devel-4.6.7-300.fc24.x86_64                          1/1

Installed:
  kernel-devel.x86_64 4.6.7-300.fc24                                           

Complete!

3.重新配置
$ sudo /sbin/vboxconfig
vboxdrv.sh: Building VirtualBox kernel modules.
vboxdrv.sh: Starting VirtualBox services.
一派护法 十九级
3楼 发表于:2016-8-27 09:20

回复帖子

内容:
用户名: 您目前是匿名发表
验证码:
(快捷键:Ctrl+Enter)
 

本帖信息

点击数:831 回复数:2
评论数: ?
作者:巨大八爪鱼
最后回复:巨大八爪鱼
最后回复时间:2016-8-27 09:20
 
©2010-2024 Arslanbar Ver2.0
除非另有声明,本站采用知识共享署名-相同方式共享 3.0 Unported许可协议进行许可。