Description: Change error messages for vboxdrv failure, according to virtualbox-dkms. Author: Daniel Hahler Index: virtualbox/src/VBox/VMM/VMMR3/VM.cpp =================================================================== --- virtualbox.orig/src/VBox/VMM/VMMR3/VM.cpp 2013-11-19 03:40:56.013475569 -0500 +++ virtualbox/src/VBox/VMM/VMMR3/VM.cpp 2013-11-19 03:40:56.013475569 -0500 @@ -310,10 +310,8 @@ #ifdef RT_OS_LINUX case VERR_SUPDRV_COMPONENT_NOT_FOUND: - pszError = N_("One of the kernel modules was not successfully loaded. Make sure " - "that no kernel modules from an older version of VirtualBox exist. " - "Then try to recompile and reload the kernel modules by executing " - "'/etc/init.d/vboxdrv setup' as root"); + pszError = N_("Please install the virtualbox-dkms package " + "and execute 'modprobe vboxdrv' as root"); break; #endif @@ -376,10 +374,8 @@ { case VERR_VM_DRIVER_LOAD_ERROR: #ifdef RT_OS_LINUX - pszError = N_("VirtualBox kernel driver not loaded. The vboxdrv kernel module " - "was either not loaded or /dev/vboxdrv is not set up properly. " - "Re-setup the kernel module by executing " - "'/etc/init.d/vboxdrv setup' as root"); + pszError = N_("Please install the virtualbox-dkms package " + "and execute 'modprobe vboxdrv' as root"); #else pszError = N_("VirtualBox kernel driver not loaded"); #endif @@ -418,10 +414,8 @@ case VERR_INVALID_HANDLE: /** @todo track down and fix this error. */ case VERR_VM_DRIVER_NOT_INSTALLED: #ifdef RT_OS_LINUX - pszError = N_("VirtualBox kernel driver not installed. The vboxdrv kernel module " - "was either not loaded or /dev/vboxdrv was not created for some " - "reason. Re-setup the kernel module by executing " - "'/etc/init.d/vboxdrv setup' as root"); + pszError = N_("Please install the virtualbox-dkms package " + "and execute 'modprobe vboxdrv' as root"); #else pszError = N_("VirtualBox kernel driver not installed"); #endif