Cannot boot a virtual mahine on virtual box !!

asked 2017-09-20 08:35:02 -0500

LinuxEnthusiast gravatar image

Greetings every body, I'm already aware that there are threads and queries regarding this issue all over the internet, but trust me I have read most of them and failed to resolve this issue. The problem is that whenever I attempt too boot up a VMachine, this error pops up.


Kernel driver not installed (rc=-1908) The VirtualBox Linux kernel driver (vboxdrv) is either not loaded or there is a permission problem with /dev/vboxdrv. Please reinstall the kernel module by executing '/sbin/vboxconfig' as root. where: suplibOsInit what: 3 VERRVMDRIVERNOTINSTALLED (-1908) - The support driver is not installed. On linux, open returned ENOENT.*


I have tried issuing the proposed command in the terminal, here is the output:


Created symlink /etc/systemd/system/multi-user.target.wants/vboxdrv.service → /usr/lib/systemd/system/vboxdrv.service. Created symlink /etc/systemd/system/multi-user.target.wants/vboxballoonctrl-service.service → /usr/lib/systemd/system/vboxballoonctrl-service.service. Created symlink /etc/systemd/system/multi-user.target.wants/vboxautostart-service.service → /usr/lib/systemd/system/vboxautostart-service.service. Created symlink /etc/systemd/system/multi-user.target.wants/vboxweb-service.service → /usr/lib/systemd/system/vboxweb-service.service. vboxdrv.sh: Stopping VirtualBox services. vboxdrv.sh: Building VirtualBox kernel modules. This system is not currently set up to build kernel modules (system extensions). Running the following commands should set the system up correctly:

yum install kernel-core-devel-4.8.6-300.fc25.x86_64 (The last command may fail if your system is not fully updated.) yum install kernel-core-devel vboxdrv.sh: failed: Look at /var/log/vbox-install.log to find out what went wrong. This system is not currently set up to build kernel modules (system extensions). Running the following commands should set the system up correctly:

yum install kernel-core-devel-4.8.6-300.fc25.x86_64 (The last command may fail if your system is not fully updated.) yum install kernel-core-devel

There were problems setting up VirtualBox. To re-start the set-up process, run /sbin/vboxconfig as root.


So I tried to update kernel-devel and kernel-core to the latest release version, but that didn't seem to be of any help. I consider myself a complete novice in the world of linux, hence I am clueless of what to do next as my knowledge in this area is quite superficial. There is one more thing I would like to add, it might not be directly relevant to this problem, but it has something to do with kernels. Upon booting my host machine, on the booting page 3 different kernel versions appear, out of which only one (4.8.6-300.fc25.x8664) functions and the other two crash and fail to boot up in the successive steps of the booting process. I really do not know whether this could be any helpful, but I have to acknowledge that those non-working kernel versions at the booting page are either close or same as the version of the kernel-devel verison (kernel-4.12.11-200.fc25.x8664).

That's all the info that drew my attention, hopefully someone could help me out here ...

(more)
edit retag flag offensive close merge delete

Comments

Hi

Virtual box can be a pain to set up on a system with secure boot. My solution was to install:

  • VirtualBox-5.1.26
  • akmod-VirtualBox

I think it is installed from the RPM fusion repository, not downloaded from VirtualBox. Lately it has just worked. If not follow the instructions in this thread to sign for your self. It is a bit cumbersome as parts has to be done every time the kernel is updated. https://www.systutorials.com/qa/1549/virtualbox-report-kernel-driver-not-installed-on-fedora-21

derdoktor gravatar imagederdoktor ( 2017-09-21 14:55:33 -0500 )edit

Is there any reason to use virtualbox instead of kvm/qemu plus libvirtd?

villykruse gravatar imagevillykruse ( 2017-09-22 01:19:58 -0500 )edit

@derdoktor, I have checked the thread but still cannot get around the problem. I also searched for VirtualBox-5.1.26 in my repos, but couldn't find any match for it. any other suggestions ?

LinuxEnthusiast gravatar imageLinuxEnthusiast ( 2017-09-23 13:44:10 -0500 )edit

@villykruse, to be frank I do not posses sufficient experience regarding those virtualization utilities. In fact it is the first time that I am learning about their existence. If you don't mind, I would like to get more details about them, and why do they stand out compared to VBox.

LinuxEnthusiast gravatar imageLinuxEnthusiast ( 2017-09-23 13:49:43 -0500 )edit
1

One thing is that libvirt and qemu are fully integrated into the fedora project, Therefore there is no need to install special device drivers,

Here is some fedora docs

villykruse gravatar imagevillykruse ( 2017-09-23 15:04:15 -0500 )edit