VirtualBox

Changeset 77196 in vbox for trunk/src/VBox/VMM/VMMR3


Ignore:
Timestamp:
Feb 7, 2019 1:33:50 PM (6 years ago)
Author:
vboxsync
Message:

Help text: explain about EFI Secure Boot and signing.
ticketref:18312: Unable to build Virtualbox 6.0 on Fedora 29
When a user tries to use VirtualBox on a Linux system with EFI Secure Boot
enabled, it sometimes fails in a non-obvious way due to unsigned kernel
modules. As it is rather tricky to detect this properly, mention it in the
help text which is shown when there are problems with the modules.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMR3/VM.cpp

    r76553 r77196  
    273273                case VERR_SUPDRV_COMPONENT_NOT_FOUND:
    274274                    pszError = N_("One of the kernel modules was not successfully loaded. Make sure "
    275                                   "that no kernel modules from an older version of VirtualBox exist. "
    276                                   "Then try to recompile and reload the kernel modules by executing "
     275                                  "that VirtualBox is correctly installed, and if you are using EFI "
     276                                  "Secure Boot that the modules are signed if necessary in the right "
     277                                  "way for your host system.  Then try to recompile and reload the "
     278                                  "kernel modules by executing "
    277279                                  "'/sbin/vboxconfig' as root");
    278280                    break;
     
    339341#ifdef RT_OS_LINUX
    340342                    pszError = N_("VirtualBox kernel driver not loaded. The vboxdrv kernel module "
    341                                   "was either not loaded or /dev/vboxdrv is not set up properly. "
    342                                   "Re-setup the kernel module by executing "
     343                                  "was either not loaded, /dev/vboxdrv is not set up properly, "
     344                                  "or you are using EFI Secure Boot and the module is not signed "
     345                                  "in the right way for your system.  If necessary, try setting up "
     346                                  "the kernel module again by executing "
    343347                                  "'/sbin/vboxconfig' as root");
    344348#else
     
    380384                case VERR_VM_DRIVER_NOT_INSTALLED:
    381385#ifdef RT_OS_LINUX
    382                     pszError = N_("VirtualBox kernel driver not installed. The vboxdrv kernel module "
    383                                   "was either not loaded or /dev/vboxdrv was not created for some "
    384                                   "reason. Re-setup the kernel module by executing "
     386                    pszError = N_("VirtualBox kernel driver not Installed. The vboxdrv kernel module "
     387                                  "was either not loaded, /dev/vboxdrv is not set up properly, "
     388                                  "or you are using EFI Secure Boot and the module is not signed "
     389                                  "in the right way for your system.  If necessary, try setting up "
     390                                  "the kernel module again by executing "
    385391                                  "'/sbin/vboxconfig' as root");
    386392#else
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette