VirtualBox 6.0 on Fedora 31/30, CentOS/RHEL 8.0/7.7 - Comment Page: 24
Oracle VirtualBox is a powerful x86 and AMD64/Intel64 virtualization product for enterprise as well as home use. VirtualBox is a general-purpose full virtualizer for x86 hardware. Targeted at server, desktop and embedded use, it is now the only professional-quality virtualization solution that is also Open Source Software.
VirtualBox supports a large number of guest operating systems:
[inttf_post_ad1]
Windows 3.x
Windows NT 4.0
Windows 2000
Windows XP
Windows Server 2003
Windows Server 2008
Windows Vista
Windows 7
Windows 8
Windows 8.1
Windows 10
DOS
Linux (Kernel 2.4, 2.6, 3.0, 3.2, 3.4, 3.10, 3.16, 3.18, 4.1, 4.4, 4.7, 4.8, 4.9, 4.10, 4.11,...
Gracias, funciono perfecto
Excellent, very good Jr works very well in Fedora 29.
Thanks a lot. Your post saved me quite some time.
Hello,
After following the above steps for Fedora 29 got the following:
ARNING: The vboxdrv kernel module is not loaded. Either there is no module
available for the current kernel (4.19.15-300.fc29.x86_64) or it failed to
load. Please recompile the kernel module and install it by
sudo /sbin/vboxconfig
You will not be able to start VMs until this problem is fixed.
[[email protected] ~]$ sudo /sbin/vboxconfig
vboxdrv.sh: Stopping VirtualBox services.
vboxdrv.sh: Starting VirtualBox services.
vboxdrv.sh: Building VirtualBox kernel modules.
vboxdrv.sh: failed: modprobe vboxdrv failed. Please use ‘dmesg’ to find out why.
There were problems setting up VirtualBox. To re-start the set-up process, run
/sbin/vboxconfig
as root.
The results of uname -r and rpm -qa | grep -i kernel-devel have shown both are the same version.
Please, help out to resolve this.
Best,
Hello sean,
Could you post output of following command:
/sbin/vboxconfig
is a wrong command, it should be/usr/lib/virtualbox/vboxdrv.sh setup
.I’m having the same exact issue, and the output for dnf list installed |grep -i virtualbox is:
VirtualBox-6.0.x86_64 6.0.4_128413_fedora29_1 @virtualbox
virtualbox-guest-additions.x86_64 5.2.24-1.fc29 @updates
any help would be greatly appreciated!
Hi JL,
What problem you mean exactly? I don’t know why you are running /sbin/vboxconfig command? Right command is
/usr/lib/virtualbox/vboxdrv.sh setup
.he JR
i have the same problem and i have fedora 30
i tried the last command like below
# /usr/lib/virtualbox/vboxdrv.sh setup
vboxdrv.sh: Stopping VirtualBox services.
vboxdrv.sh: Starting VirtualBox services.
vboxdrv.sh: Building VirtualBox kernel modules.
This system is currently not set up to build kernel modules.
Please install the Linux kernel “header” files matching the current kernel
for adding new hardware support to the system.
The distribution packages containing the headers are probably:
kernel-devel kernel-devel-5.0.9-301.fc30.x86_64
I’ve followed the steps however as a Root i get the following:
# /usr/lib/virtualbox/vboxdrv.sh setup
vboxdrv.sh: Stopping VirtualBox services.
vboxdrv.sh: Starting VirtualBox services.
vboxdrv.sh: Building VirtualBox kernel modules.
vboxdrv.sh: failed: modprobe vboxdrv failed. Please use ‘dmesg’ to find out why.
Any idea?
Hi Carrol,
Could you post output of
dmesg
command when you run/usr/lib/virtualbox/vboxdrv.sh setup
?Do you need whole file? I tried dmesg | grep vbox but return nothing… if you need whole file let me know. Thanks!
Muito obrigado pela ajuda.
[[email protected] ~]# dnf install VirtualBox-6.0
[BFedora 29 [=== ] — B/s | 0 B –:– Fedora 29 – i386 – Virtua 0.0 B/s | 0 B 00:33
Failed to synchronize cache for repo ‘virtualbox’, ignoring this repo.
Last metadata expiration check: 0:02:18 ago on Thu 07 Feb 2019 01:36:51 GMT.
No match for argument: VirtualBox-6.0
Error: Unable to find a match
Hello emma,
Do you have working Internet connection? Or maybe Oracle’s site was down.
when ever i try to install virtualBox-6.0 i keep giving me [email protected] yum.repos.d]# dnf install VirtualBox-6.0
Last metadata expiration check: 0:24:59 ago on Sun 10 Feb 2019 03:23:38 GMT.
No match for argument: VirtualBox-6.0
Error: Unable to find a match
Hi emm,
Did you downloaded repo file on step 2.?
Could you post output of following command:
On my Fedora 28, I had to export the KERN_VER instead of KERN_DIR.
export KERN_VER=4.20.11-100.fc28.x86_64
Thank you for this article, straight to the point.
icon missing on desktop
Thanks, all quite straightforward even for a casual user.
It doesn’t work on fedora 30, because drivers must be signed.
Hi soho,
It works, but you should disable secure boot from UEFI/BIOS.
Thanks a lot. replace command worked for me
vb extpack install –replace Downloads/Oracle_VM_VirtualBox_Extension_Pack-6.0.10.vbox-extpack
Oracle_VM_VirtualBox_Extension_Pack-6.0.12.vbox-extpack
VirtualBox Extension Pack Personal Use and Evaluation License (PUEL)
License version 10, 20 July 2017
PLEASE READ THE FOLLOWING ORACLE VM VIRTUALBOX EXTENSION PACK PERSONAL
USE AND EVALUATION LICENSE CAREFULLY BEFORE DOWNLOADING OR USING THE
ORACLE SOFTWARE. THESE TERMS AND CONDITIONS CONSTITUTE A LEGAL AGREEMENT
BETWEEN YOU AND ORACLE.
Do you agree to these license terms and conditions (y/n)? y
License accepted. For batch installation add
–accept-license=56be48f9xxx
to the VBoxManage command line.
0%…10%…20%…30%…40%…50%…60%…70%…80%…90%…100%
Successfully installed “Oracle VM VirtualBox Extension Pack”.
Hi, running this command works for me:
yum install gcc
Thanks.
Hi Arnel,
Check step 4. gcc is installed as dependency on there.