So I had to manually sign kernel modules in order for secure boot to not block Virtual Box from running. I did this by following instructions from here: https://stackoverflow.com/questions/61248315/sign-virtual-box-modules-vboxdrv-vboxnetflt-vboxnetadp-vboxpci-centos-8
This seems to be successfull becuase I can now run Virtual Box without getting errors related to the kernels. I thought I’d mention this just incase it relates somehow to the new issue I’m having.
I added a new vm in Virtual Box but when I launch the vm to run the installation it aborts with error:
AMD-V is being used by another hypervisor (VERR_SVM_IN_USE).
VirtualBox can’t enable the AMD-V extension. Please disable the KVM kernel extension, recompile your kernel and reboot (VERR_SVM_IN_USE).
Result Code: NS_ERROR_FAILURE (0x80004005)
Component: ConsoleWrap
Interface: Console {6ac83d89-6ee7-4e33-8ae6-b257b2e81be8}
I did some digging and found this: https://askubuntu.com/questions/403591/amd-v-is-being-used-by-another-hypervisor-verr-svm-in-use
It says I need to remove one of the kernel modules so they don’t conflict with eachother. I’m afraid if I remove the virtbox modules then VirtualBox will fail to function and I’m afraid that if I delete the kvm and kvm_amd modules then something else in my system might break. I’m not quite sure if it’s safe to remove either of these modules. I ran some commands below to get the modules that are currently on my system.
sudo lsmod | grep vbox (VirtualBox module)
vboxdrv 696320 0
sudo lsmod| grep kvm (other modules on my system)
kvm_amd 241664 0
kvm 1396736 1 kvm_amd
irqbypass 12288 1 kvm
ccp 180224 1 kvm_amd
As you can see kvm and kvm_amd is being used by ccp and irqbypass. I checked with an LLM and it seems to think that I have the potential to cause system instability or other issues if I delete the kvm and kvm_amd modules.
I need some clarification on how to proceed with this. Is it safe to delete kvm and kvm_amd? Maybe I should disable them instead of deleting them? Maybe there is another way forward?
Please keep in mind that I have no backup system in place so I need to be very careful with how I proceed. Thanks in advanced for anyone who may know the way forward on this. =)
In the meantime I’m going to continue to read up on this while I wait for a response.