P
P
pixik2015-07-14 09:30:34
linux
pixik, 2015-07-14 09:30:34

How to install VirtualBox 5 on Fedora 22?

Good time!
Today I decided to "quickly" install VirtualBox 5 and ran into a strange problem.
The virtual machine is created, but does not start. There is a recommendation in the error message box, run "/etc/init.d/vboxdrv setup" and you should be fine.
I did it, but there was some kind of error with DRPM and the paths to the kernel headers (as far as I understood).
Here I found tips for installing and treating my problem, but with each new solution, new problems are added. As a result, after everything done, as described in the above article, I get the following message:
[[email protected] yum.repos.d]$ sudo /etc/init.d/vboxdrv setup
[sudo] password for user:
Stopping VirtualBox [ OK ]
Uninstalling old VirtualBox DKMS kernel modules [ OK ]
Trying to register the VirtualBox kernel modules using DKMSError! echo
Your kernel headers for kernel 4.0.6-300.fc22.x86_64 cannot be found at
/lib/modules/4.0.6-300.fc22.x86_64/build or /lib/modules/4.0.6-300.fc22.x86_64 /source.
[FAILED]
(Failed, trying without DKMS)
Recompiling VirtualBox kernel modules [ OK ]
Starting VirtualBox kernel modules [FAILED]
(modprobe vboxdrv failed. Please use 'dmesg' to find out why)
Can anyone come across a similar problem, please tell me how to cure? I'm a little more new to linux, so there's a lot I don't know yet.
Thanks everyone!

Answer the question

In order to leave comments, you need to log in

[[+comments_count]] answer(s)
A
Azazel PW, 2015-07-14
@pixik

Is it necessary to have a virtual box?
There is KVM with virt-manager. Put on a bang. And there are no special problems.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question