Bug 3888

Summary: /sbin/vboxconfig doen't exist
Product: Fedora Reporter: Lorenzo <lorenzofsutton>
Component: VirtualBoxAssignee: Sérgio Basto <sergio>
Status: RESOLVED EXPIRED    
Severity: minor    
Priority: P5    
Version: 23   
Hardware: x86_64   
OS: GNU/Linux   
namespace:

Description Lorenzo 2015-12-03 10:09:32 CET
If trying to launch VirtualBox with a custom kernel (in my case 4.1.12-300.rt13.1.fc23.ccrma.x86_64+rt provided by Planet CCRMA) I get the usual warning:

WARNING: The vboxdrv kernel module is not loaded. Either there is no module
         available for the current kernel (4.1.12-300.rt13.1.fc23.ccrma.x86_64+rt) or it failed to
         load. Please recompile the kernel module and install it by

           sudo /sbin/vboxconfig

However /sbin/vboxconfig is not present.
Comment 1 Sérgio Basto 2015-12-03 13:29:09 CET
The message is not correct, should be one custom message of RPMFusion .
Please try: 

dnf install akmod-VirtualBox kernel-devel-$(uname -r)   
akmods
Comment 2 Sérgio Basto 2015-12-22 20:23:14 CET
no reply from  Lorenzo
Comment 3 Lorenzo 2015-12-24 11:46:06 CET
Hi.

In this case there doesn't seem to be a kernel-devel package, so can't test. Hoever I see that the initial message was wrong.

Lorenzo.
Comment 4 Sérgio Basto 2015-12-24 15:20:50 CET
# /sbin/vboxconfig
-bash: /sbin/vboxconfig: No such file or directory

/sbin/vboxconfig is not part of VirtualBox-5.0.12-1.fc23.x86_64 , 

https://ask.fedoraproject.org/en/question/79262/virtualbox-will-not-start-in-fedora23/?answer=79286#post-id-79286

If enable RPMFusion repos , uninstall all other VirtualBox stuff and do: 

in host system :

    dnf install VirtualBox kernel-devel-$(uname -r)

in guest system:

    dnf install VirtualBox-guest kernel-devel-$(uname -r)

after that:

     akmods 
     systemctl restart systemd-modules-load.service

in dmesg you should see kernel modules loaded:

    dmesg | grep -i vbox
    [ 2870.556703] vboxdrv: module verification failed: signature and/or required key missing - tainting kernel
    [ 2870.565213] vboxdrv: Found 2 processor cores
    [ 2870.571315] vboxdrv: fAsync=0 offMin=0x1c2 offMax=0xa5f
    [ 2870.671515] vboxdrv: TSC mode is Synchronous, tentative frequency 3000795689 Hz
    [ 2870.671519] vboxdrv: Successfully loaded version 5.0.6_ (interface 0x00240000)
    [ 2870.671946] VBoxNetFlt: Successfully started.
    [ 2870.672227] VBoxNetAdp: Successfully started.


You also have an early access of RPMFusion packages for F23 or builds for F22 and F21 (is where I test the builds) check in : https://copr.fedoraproject.org/coprs/sergiomb/vboxfor23/

Description: VirtualBox 5.0.12 in testings

Installation Instructions:

    dnf copr enable sergiomb/vboxfor23
Comment 5 Lorenzo 2015-12-24 15:59:14 CET
Ok thanks Sergio. Will look into this. Still the guest is a Windows XP OS. Anyway I what I meant is that I guess the bug should just relate to the wrong message?
Lorenzo.
Comment 6 Sérgio Basto 2015-12-24 18:00:56 CET
(In reply to comment #5)
> Ok thanks Sergio. Will look into this. Still the guest is a Windows XP OS.
> Anyway I what I meant is that I guess the bug should just relate to the wrong
> message?
> Lorenzo.

In windows guest (slave system), you should install Windows Guest Additions from Oracle site .