VirtualBox installation broke my fedora computer

Hello, I use Fedora as my desktop computer, I installed VirtualBox, after rebooting my computer, it broke my wifi (I can’t have wifi anymore), I don’t have bluetooth also, text is also very zoomed out and the cursor is very slow, USB thetering also doesn’t seem to work.

I used this guide: VirtualBox 7.2 on Fedora 42/41/40: A Full Installation Guide

Undo-ing the dnf installs is probably impossible since I don’t have internet.

Are you using Secure Boot? That guide doesn’t include the steps to sign the kernel modules, so I wonder if that is related to the problem.

Your symptoms do sound like various kernel drivers aren’t loading properly.

Virtualbox installs its own network adapters (virtual bridge etc) but it should not break network connectivity.

Just a question: Do you really need Virtualbox?

Did you know you have KVM virtualization that is part of the linux kernel and is much more efficient than software-based virtualbox? You can install GUI for it and enjoy native virtualization (in this case uninstall virtualbox first):

sudo dnf group install @virtualization

then start Virtual Machine Manager gui and enjoy.

I don’t. does it have some other name, as I can’t see anything even remotely close when listing all of the groups.

┌─🎩 lurcher ~
├─
└─➜ sudo dnf group install @virtualization                                                                                                                                                                                   19:21 Mon 24-Nov
Updating and loading repositories:
Repositories loaded.
Failed to resolve the transaction:
No match for argument: @virtualization

then just directly run

sudo dnf install qemu-kvm libvirt virt-install virt-manager bridge-utils libvirt-daemon-config-network virt-viewer libguestfs-tools
sudo systemctl start libvirtd
sudo systemctl enable libvirtd
sudo usermod -a -G libvirt $(whoami)
newgrp libvirt

Think it should be either:

sudo dnf group install virtualization

without the @

or:

sudo dnf install @virtualization

thanks!
I use these commands once a year after major reinstall and then forget them (((

This is probably what broke things.
The safest way to be sure that VB will work on fedora is to install it from the rpmfusion repo and not directly from oracle.

I have never had a problem installing VB from rpmfusion but have seen several threads about problems when installed directly from oracle.

I suggest that you remove your current version of VirtualBox then disable that repo and reinstall it from rpmfusion.

sudo dnf remove VirtualBox should remove it for you.

Remove the file /etc/yum.repos.d/virtualbox.repo that you created

reboot should restore the internet. If not then ask specifically for assistance with that.

Then follow the instructions at rpmfusion to enable the rpmfusion-free repos, following which you can install VirtualBox from rpmfusion.
sudo dnf install VirtualBox should now pull it from the rpmfusion-free-updates repo.

1 Like

I don’t have internet in the computer.

I just want to delete it without modifiying the system more. Meaning, I prefer if the system is reset to the state before the installation.

sudo dnf remove VirtualBox-7.2

I actually did a rollback, I got help from the Discord server in which I ran this command, it did not solve the issues.

Should I disable Secure boot then?

I know the topic is slightly different, but I have to ask:

Is VirtualBox available as a flatpak? With kernel modules separately packaged for the distro? As was discussed somewhere a few months ago?

VirtualBox installation broke my fedora computer - #12 by schola.
Installation of Virtualbox was rolled back but the internet hasn’t returned.

No need to disable secure boot.

See Making sure you're not a bot!

But you need to install virtualbox from rpmfusion, not oracle repo.

Better would be to use the Linux native hypervisor KVM/QEMU through Virtual Machine Manager (virt-manager) or Gnome Boxes

I would try booting without Secure Boot, to see if it fixes your apparent issues with kernel drivers (including wifi).

When VirtualBox is properly installed from rpmfusion, it can be made to work fine with Secure Boot. But obviously getting your internet access back is a prerequisite before you can achieve that.

I don’t have internet in the computer.

According to your first post apparently you did have internet and something broke it when you installed VirtualBox.
This should be addressed in a new thread, and users here can probably assist in recovery

Try booting the previous kernel from GRUB.

1 Like