Quantcast
Channel: Active questions tagged 22.04 - Ask Ubuntu
Viewing all articles
Browse latest Browse all 4446

Trouble getting virtualbox to work on Ubuntu 22.04. vxboxdrv kernel module is not loaded

$
0
0

I am very new to Linux and recently started using it (dual boot with Windows). I am trying to run Ansible which does not support Windows and thus here I am!

Currently using:

  • Ubuntu 22.04
  • VirtualBox 7.0.10 from official site
  • Kernel (uname -r): 6.2.0-33-generic

Problem:

  1. Running VBoxManage --version in terminal gives a warning message:
WARNING: The vboxdrv kernel module is not loaded. Either there is no module         available for the current kernel (6.2.0-33-generic) 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.7.0.10r158379
  1. Running sudo /sbin/vboxconfig gives this error message:
vboxdrv.sh: Stopping VirtualBox services.vboxdrv.sh: Starting VirtualBox services.vboxdrv.sh: Building VirtualBox kernel modules.vboxdrv.sh: failed: Look at /var/log/vbox-setup.log to find out what went wrong.There were problems setting up VirtualBox.  To re-start the set-up process, run  /sbin/vboxconfigas root.  If your system is using EFI Secure Boot you may need to sign thekernel modules (vboxdrv, vboxnetflt, vboxnetadp, vboxpci) before you can loadthem. Please see your Linux system's documentation for more information.

What I have tried:Solutions offered here, I tried disabling secure boot and doing the mokutil package. The error message still persists afterwards.

Thank you for your time! Really appreciate it :D

P.S. I am trying to learn Ansible with Vagrant and VirtualBox. Ansible do not support Windows and VirtualBox does not support Mac with Apple Silicon. So I am really hoping I can make it work with Linux.


Viewing all articles
Browse latest Browse all 4446

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>