Looking around various places, I see posts mentioning Secure Boot as possibly the problem but I checked the bios to see if Secure Boot was enabled and it says disabled. I'm running a dual boot with W10.
Maybe going back to an earlier kernel would work?
Here's the error message when installing...
Setting up virtualbox-6.1 (6.1.0-135406~Ubuntu~bionic) ...
addgroup: The group `vboxusers' already exists as a system group. Exiting.
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
If your system is using EFI Secure Boot you may need to sign the
kernel modules (vboxdrv, vboxnetflt, vboxnetadp, vboxpci) before you can load
them. Please see your Linux system's documentation for more information.
Here's the error when trying to run it...
Here's the screenshot of the bios...
Here's the error lines at the end of the log...
“scripts/Makefile.build:265: recipe for target '/tmp/vbox.0/linux/SUPDrv-linux.o' failed
make: *** [/tmp/vbox.0/linux/SUPDrv-linux.o] Error 1
Makefile recipe for target '/tmp/vbox.0' failed
make: *** [/tmp/vbox.0] Error 2
/tmp/vbox.0/Makefile-footer.gmk:114: recipe for target 'vboxdrv' failed
make: *** [vboxdrv] Error 2”