VirtualBox 6.1.28 / 6.1.29 on Fedora 35/34/33, CentOS/RHEL 8/7 - Comment Page: 8
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.
Check video guide howto install VirtualBox 6.1.28/6.1.29 on Fedora 35/34/33 using .run installer:
Check video guide howto install VirtualBox 6.1.28 on Fedora 34/33 using Oracle's own dnf repo:
Watch More Videos and Subscribe to if-not-true-then-false.com Youtube Channel
VirtualBox supports a large number of guest operating...
Excelent!!! Thanks a lot!!
hi,
i am geting this error
WARNING: The vboxdrv kernel module is not loaded. Either there is no module
available for the current kernel (3.1.0-7.fc16.x86_64) or it failed to
load. Please recompile the kernel module and install it by
sudo /etc/init.d/vboxdrv setup
You will not be able to start VMs until this problem is fixed.
help please!
Hi naviga18,
Could you post output of following commands:
Hi JR,
I have followed almost all tutorials above but still getting this error:
[[email protected] tracker]# /etc/init.d/vboxdrv setup
Stopping VirtualBox kernel modules [ OK ]
Uninstalling old VirtualBox DKMS kernel modules [ OK ]
Trying to register the VirtualBox kernel modules using DKMSError! echo
Your kernel headers for kernel 3.2.9-2.fc16.x86_64 cannot be found at
/lib/modules/3.2.9-2.fc16.x86_64/build or /lib/modules/3.2.9-2.fc16.x86_64/source.
[FAILED]
(Failed, trying without DKMS)
Recompiling VirtualBox kernel modules [FAILED]
(Look at /var/log/vbox-install.log to find out what went wrong)
then I ran
rpm -qa binutils gcc make patch libgomp glibc\* kernel\* dkms |sort
binutils-2.21.53.0.1-6.fc16.x86_64
dkms-2.2.0.3-1.fc16.noarch
gcc-4.6.2-1.fc16.x86_64
glibc-2.14.90-24.fc16.6.x86_64
glibc-common-2.14.90-24.fc16.6.x86_64
glibc-devel-2.14.90-24.fc16.6.x86_64
glibc-headers-2.14.90-24.fc16.6.x86_64
kernel-3.2.3-2.fc16.x86_64
kernel-3.2.5-3.fc16.x86_64
kernel-3.2.9-2.fc16.x86_64
kernel-devel-3.2.10-3.fc16.x86_64
kernel-headers-3.2.10-3.fc16.x86_64
libgomp-4.6.2-1.fc16.x86_64
make-3.82-8.fc16.x86_64
rpm -qa kernel* |sort gives me
kernel-3.2.3-2.fc16.x86_64
kernel-3.2.5-3.fc16.x86_64
kernel-3.2.9-2.fc16.x86_64
kernel-devel-3.2.10-3.fc16.x86_64
kernel-headers-3.2.10-3.fc16.x86_64
Could you help me plz.
Hi Tracker,
Your kernel headers for kernel 3.2.9-2.fc16.x86_64 cannot be found at
/lib/modules/3.2.9-2.fc16.x86_64/build or /lib/modules/3.2.9-2.fc16.x86_64/source
So looks like, that you are running currently 3.2.9-2.fc16.x86_64 kernel and you have 3.2.10-3.fc16.x86_64 kernel headers installed, so you need to just boot your machine with 3.2.10-3.fc16.x86_64 kernel and try installation again. It should fix your problem, please let me know do you get it working… :)
Worked like a charm! Bookmarked for future reference.
Hey JR
Thanks for your support, I updated the kernel to 3.3 and compiled the drivers with /etc/init.d/vboxdrv setup and all went fine! thanks a lot!
Hello Tracker,
You are welcome! Excellent to hear that you got it working! :D
i can’t use “wget” command on my fedora 16. why…?
Hi abu,
Install it with:
Then try again… :)
Trying to register the VirtualBox kernel modules using DKMSError! Bad return status for module build on kernel: 3.3.0-8.fc16.x86_64 (x86_64)
=(
Anyone has some good ideas?
Hi Dandoloo,
Please post output of following commands:
i got this for my kernel not working response. i am a different person than who u were originally talking to.
kernel-3.3.4-5.fc17.x86_64
kernel-3.5.4-2.fc17.x86_64
kernel-headers-3.5.4-2.fc17.x86_64
[[email protected] yum.repos.d]# uname -a
Linux linuxmob 3.3.4-5.fc17.x86_64 #1 SMP Mon May 7 17:29:34 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux
[[email protected] yum.repos.d]#
Hi linuxman,
Just reboot and select 3.5.4 kernel in Grub menu.
Then try again. Please let me know if you any other problems?
Thank you, i did not realize that when i reboot i needed to select that kernal version! it worked, i really appreciate the time you took to write this tutorial, and the fact that you helped with my issue. Thank you very much my friend!
Excellent! You are very welcome sergis!
Thanks so much, vmware was working my nerves. Maybe you can do a tut for installing vmware on fedora 16 also. If you have one, link me there please. Thanks again
Please help me out with this, hope all info is enough for Solution.
[[email protected] kernels]# VirtualBox
WARNING: The vboxdrv kernel module is not loaded. Either there is no module
available for the current kernel (3.1.0-7.fc16.x86_64) or it failed to
load. Please recompile the kernel module and install it by
sudo /etc/init.d/vboxdrv setup
You will not be able to start VMs until this problem is fixed.
#service vboxdrv setup
Stopping VirtualBox kernel modules [ OK ]
Uninstalling old VirtualBox DKMS kernel modules [ OK ]
Trying to register the VirtualBox kernel modules using DKMSError! echo
Your kernel headers for kernel 3.1.0-7.fc16.x86_64 cannot be found at
/lib/modules/3.1.0-7.fc16.x86_64/build or /lib/modules/3.1.0-7.fc16.x86_64/source.
[FAILED]
(Failed, trying without DKMS)
Recompiling VirtualBox kernel modules [FAILED]
###/var/log/vbox-install.log
Uninstalling modules from DKMS
removing old DKMS module vboxhost version 4.1.12
——————————
Deleting module version: 4.1.12
completely from the DKMS tree.
——————————
Done.
Attempting to install using DKMS
Creating symlink /var/lib/dkms/vboxhost/4.1.12/source ->
/usr/src/vboxhost-4.1.12
DKMS: add completed.
Failed to install using DKMS, attempting to install without
Makefile:172: *** Error: unable to find the sources of your current Linux kernel. Specify KERN_DIR= and run Make again. Stop.
i tried with this but this doesn’t help me out, i think Kernel version is the issue, Kindly help me out with it..
[[email protected] kernels]# KERN_DIR=/usr/src/kernels/3.3.1-3.fc16.x86_64/
[[email protected] kernels]# ls -al /usr/src/kernels
total 12
drwxr-xr-x. 3 root root 4096 Apr 12 06:45 .
drwxr-xr-x. 4 root root 4096 Apr 12 06:36 ..
drwxr-xr-x 22 root root 4096 Apr 12 06:45 3.3.1-3.fc16.x86_64
[[email protected] kernels]# rpm -qa | grep kernel | sort
abrt-addon-kerneloops-2.0.7-2.fc16.x86_64
kernel-3.1.0-7.fc16.x86_64
kernel-3.3.1-3.fc16.x86_64
kernel-devel-3.3.1-3.fc16.x86_64
libreport-plugin-kerneloops-2.0.8-4.fc16.x86_64
Hi Jawad,
Almost everything needed info and everything looks good, but you didn’t tell which kernel you are currently running?
I guess that the just reboot is enough to get it working… ;)
Ok, perfect! It works! :o) tks
Thanks a lot.
Greetings.
Excellent guide – use it alot.
Gracias, fue de gran ayuda…!!
THanks a lot for the info.
Greetings
Thanks, I love it. But a get two warnings. Is this a problem?
[[email protected] yum.repos.d]# VirtualBox
Qt WARNING: QGtkStyle was unable to detect the current GTK+ theme.
Qt WARNING: Qt: Session management error: None of the authentication protocols specified are supported
[[email protected] yum.repos.d]#
Hi silvana,
What system you are using?