Questions and Answers : Unix/Linux : fedora 41 and virtualbox
Message board moderation

To post messages, you must log in.

AuthorMessage
nairb

Send message
Joined: 1 May 07
Posts: 29
Credit: 2,421,077
RAC: 96
Message 51579 - Posted: 20 Feb 2025, 3:13:59 UTC

I have virtualbox installed on fedora 32 and 36. And on 36 lxde (I think). They are working fine.
So I decide to try out the latest version of fedora 41 and 41 lxde.
I installed virtual box like before(I assume) and sudo dnf boinc_client boincmgr.

Boinc now works fine with projects that don't use virtual box, but I get the dreaded......
"Message from server. "Virtual box not installed" .

Virtual box has installed ok i think.
Virtualization is on in the bios. This machine runs fedora 32/36 fine.

Dont suppose anybody else has tried fedora 41 and managed to get vbox working
Ta
Nairb
ID: 51579 · Report as offensive     Reply Quote
computezrmle
Volunteer moderator
Volunteer developer
Volunteer tester
Help desk expert
Avatar

Send message
Joined: 15 Jun 08
Posts: 2631
Credit: 270,474,540
RAC: 115,042
Message 51580 - Posted: 20 Feb 2025, 7:50:37 UTC - in response to Message 51579.  

Your computer details show this:
Virtualization None


Ensure the BOINC user is a member of the virtualbox group.


Ensure you use a recent VirtualBox version that supports the kernel version of your Linux.
See:
https://www.virtualbox.org/wiki/Changelog-7.0
https://www.virtualbox.org/wiki/Changelog-7.1

The Changelogs give additional hints like:
In kernel 6.12, KVM initializes virtualization on module loading by default. This prevents VirtualBox VMs from starting. In order to avoid this, either add "kvm.enable_virt_at_load=0" parameter into kernel command line or unload corresponding kvm_XXX module


Ensure the VirtualBox kernel module is loaded:
lsmod |grep -i vbox
should output something like
vboxnetadp 32768 0
vboxnetflt 40960 0
vboxdrv 688128 2 vboxnetadp,vboxnetflt


Ensure vboxdrv.service is running:
systemctl --no-pager status vboxdrv.service
ID: 51580 · Report as offensive     Reply Quote
nairb

Send message
Joined: 1 May 07
Posts: 29
Credit: 2,421,077
RAC: 96
Message 51596 - Posted: 23 Feb 2025, 0:55:06 UTC - in response to Message 51580.  

[quote]Your computer details show this:
Virtualization None

In kernel 6.12, KVM initializes virtualization on module loading by default. This prevents VirtualBox VMs from starting. In order to avoid this, either add "kvm.enable_virt_at_load=0" parameter into kernel command line or unload corresponding kvm_XXX module
/quote]

Thanks computezrml, its been ages since I had to sort out fc36 and had forgotten much.

The groups were fine
The lsmod |grep -i vbox showed nothing.
Sorting thru the vbox logs showed that it had failed to set up the virtual box. In particular there was a lib or header file missing.
So I did a sudo dnf install kernel-devel kernel-devel-6.11.4-301.fc41.x86_64
which gave the missing info. Followed by a /sbin/vboxconfig to rebuild the thing.

That solved the first problem. The second one was the KVM problem.......(new to me)

Solved by using/adding the blacklist.conf file in /etc/modprobe.d
A couple of lines
blacklist kvm
blacklist kvm-intel

So its switched off even after a re-start.
So vbox now works on fedora 41 lxde and 41 workstation with the dreaded gnome desktop
and the much more useful 41 KDE.
The lxde desktop is ideal for Boinc work and small capacity hard disks.

Thanks for your help
ID: 51596 · Report as offensive     Reply Quote

Questions and Answers : Unix/Linux : fedora 41 and virtualbox


©2025 CERN