I installed virtualbox for virtualization and face an error about signing. How can I solve that?
vboxdrv.sh: Stopping VirtualBox services.
vboxdrv.sh: Starting VirtualBox services.
vboxdrv.sh: You must sign these kernel modules before using VirtualBox:
vboxdrv vboxnetflt vboxnetadp vboxpci
Hello @carnoxen and welcome! A little more info is needed:
- What version of Rocky Linux are you using?
- Do you have secure boot enabled?
If you are able (and want) to disable secure boot, then I think the error will go away on its own. However, if you can’t do that for security reasons, you need to sign those modules using solution 2 found here: linux - Sign virtual box modules (vboxdrv, vboxnetflt, vboxnetadp, vboxpci) Centos 8 - Stack Overflow
I do not have a secure boot system to test this on, so I can’t verify one way or the other whether this procedure works. Perhaps someone else here will know for sure. Good Luck!