目前共有3篇帖子。
【解決方案】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

回復帖子

內容:
用戶名: 您目前是匿名發表
驗證碼:
 
 
©2010-2024 Arslanbar [手機版] [桌面版]
除非另有聲明,本站採用創用CC姓名標示-相同方式分享 3.0 Unported許可協議進行許可。