I have a system very similar to CentOs 6, oracle linux 6.5
I installed VirtualBox for my system when I run the machine created in him getting an error
Failed to open a session for the virtual machine bazaczeresnia.
The virtual machine 'bazaczeresnia' has terminated unexpectedly during startup with exit code 1 (0x1).
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
'/etc/init.d/vboxdrv setup'
as root. If it is available in your distribution, You should install the DKMS package first. This package keeps track of Linux kernel changes and recompiles the vboxdrv kernel module if Necessary.
under the command executes /etc/init.d/vboxdrv setup command in the terminal as root
result /etc/init.d/vboxdrv setup
Stopping VirtualBox kernel modules [OK]
Recompiling VirtualBox kernel modules [FAILED]
(Look at /var/log/vbox-install.log to find out what went wrong)
/var/log/vbox-install.log
Makefile: 183: *** Error: unable to find the sources of your current Linux kernel. Specify KERN_DIR = <directory> and run Make again. Stop.
Makefile: 183: *** Error: unable to find the sources of your current Linux kernel. Specify KERN_DIR = <directory> and run Make again. Stop.
Makefile: 183: *** Error: unable to find the sources of your current Linux kernel. Specify KERN_DIR = <directory> and run Make again. Stop.
Makefile: 183: *** Error: unable to find the sources of your current Linux kernel. Specify KERN_DIR = <directory> and run Make again. Stop.
What to do?
VirtualBox - Kernel driver not installed (rc=-1908)
Re: VirtualBox - Kernel driver not installed (rc=-1908)
Last time I looked, this forum wasn't an Oracle support forum. You should probably ask Oracle about your problem. They use a slightly different kernel than CentOS, among other changes.
-
- Posts: 10
- Joined: 2018/02/03 18:07:00
Re: VirtualBox - Kernel driver not installed (rc=-1908)
I had this issue also, but then I moved to Linux Boxes and the VDI i wasnt able to use worked fine there.robert412 wrote:I have a system very similar to CentOs 6, oracle linux 6.5
I installed VirtualBox for my system when I run the machine created in him getting an error
Failed to open a session for the virtual machine bazaczeresnia.
The virtual machine 'bazaczeresnia' has terminated unexpectedly during startup with exit code 1 (0x1).
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
'/etc/init.d/vboxdrv setup'
as root. If it is available in your distribution, You should install the DKMS package first. This package keeps track of Linux kernel changes and recompiles the vboxdrv kernel module if Necessary.
under the command executes /etc/init.d/vboxdrv setup command in the terminal as root
result /etc/init.d/vboxdrv setup
Stopping VirtualBox kernel modules [OK]
Recompiling VirtualBox kernel modules [FAILED]
(Look at /var/log/vbox-install.log to find out what went wrong)
/var/log/vbox-install.log
Makefile: 183: *** Error: unable to find the sources of your current Linux kernel. Specify KERN_DIR = <directory> and run Make again. Stop.
Makefile: 183: *** Error: unable to find the sources of your current Linux kernel. Specify KERN_DIR = <directory> and run Make again. Stop.
Makefile: 183: *** Error: unable to find the sources of your current Linux kernel. Specify KERN_DIR = <directory> and run Make again. Stop.
Makefile: 183: *** Error: unable to find the sources of your current Linux kernel. Specify KERN_DIR = <directory> and run Make again. Stop.
What to do?
regards
-
- Posts: 1522
- Joined: 2014/05/21 20:16:00
- Location: Central New York, USA
Re: VirtualBox - Kernel driver not installed (rc=-1908)
As the errors suggest - try the install as root (not sudo). There's a step in the installation that doesn't "inherit root permissions" from sudo.
Hope this helps.
Hope this helps.
Re: VirtualBox - Kernel driver not installed (rc=-1908)
Oracle Linux 6.5 is more than three years old, the general advice is to update to 6.9.
Re: VirtualBox - Kernel driver not installed (rc=-1908)
OEL is not CentOS. I would suggest that you ask Oracle. Good luck with that.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke