myspaghetti / macos-virtualbox

Push-button installer of macOS Catalina, Mojave, and High Sierra guests in Virtualbox on x86 CPUs for Windows, Linux, and macOS
GNU General Public License v2.0
13.46k stars 1.11k forks source link

VirtualBox not detected on Fedora #534

Closed ilippert closed 2 years ago

ilippert commented 2 years ago

re version 0.99.1.2

I have installed VirtualBox 6.1 on Fedora. VBoxManage is available in the PATH. But the script reports I should install VirtualBox.

ilippert commented 2 years ago

Ok, got it.

Solution was to run VBoxManage -v in the shell.

I then got the message:

         available for the current kernel (5.13.19-200.fc34.x86_64) or it failed to
         load. Please try load the kernel module by executing as root

           dnf install akmod-VirtualBox kernel-devel-5.13.19-200.fc34.x86_64
           akmods --kernels 5.13.19-200.fc34.x86_64 && systemctl restart vboxdrv.service

         You will not be able to start VMs until this problem is fixed.

I implemented the instructions, and the issue was solved.

I keep this issue here open as a suggestion to probe for this kind of error within the script.