VirtualBox: Pastikan secure boot off

From OnnoWiki
Jump to navigation Jump to search

Ada error

Starting VirtualBox kernel modules ...failed!
  (modprobe vboxdrv failed. Please use 'dmesg' to find out why)


It also was caused by UEFI boot. The solution is quite simple:

   Reboot your machine and enter the BIOS Menu (In my case pressing F2)
   Search for Secure Boot and change to Legacy
   In an ASUS motherboard:
       Go to the Advanced Mode (F7)
       Go in the Secure Boot option under the Boot section
       Change "Windows UEFI mode" with "Other OS"
       Save and restart to apply settings (F10)
   After restarting make sure drivers are loaded

Type:

sudo /sbin/rcvboxdrv setup

And you should get

Stopping VirtualBox kernel modules ...done.
Uninstalling old VirtualBox DKMS kernel modules ...done.
Trying to register the VirtualBox kernel modules using DKMS ...done.
Starting VirtualBox kernel modules ...done.