Ask Your Question

How to run Virtual Box?

asked 2016-02-20 12:49:43 -0500

alsoijw gravatar image

updated 2016-02-20 12:55:37 -0500

mether gravatar image

uname -r 4.3.5-300.fc23.x86_64 kmod-VirtualBox-4.3.5-300.fc23.x86_64.x86_64 is installed, I try run dnf install akmod-VirtualBox kernel-devel-$(uname -r); akmods but it don't work too. I reboot my computer after all this action.

edit retag flag offensive close merge delete



As as alternative, if you have Fedora Workstation, try pressing the windows key, typing 'boxes' then pressingt 'enter'. You already have a thing to do virtual machines :)

randomuser gravatar imagerandomuser ( 2016-02-20 14:02:21 -0500 )edit

Can I use virtual HDD from VB? I don't want to reinstall software because is too long.

alsoijw gravatar imagealsoijw ( 2016-02-20 14:41:17 -0500 )edit

I think qemu-img can convert a VirtualBox VHD to a compatible format like qcow2 or raw that you can import. I haven't tried it, so I can't give you exact steps I know to work, but I suspect the obvious 'load from file' functionality should work after conversion.

randomuser gravatar imagerandomuser ( 2016-02-21 00:17:02 -0500 )edit

2 Answers

Sort by ยป oldest newest most voted

answered 2016-02-20 14:02:59 -0500

fcomida gravatar image

check for errors in '/var/cache/akmods/akmods.log'

edit flag offensive delete link more


alsoijw gravatar imagealsoijw ( 2016-02-20 15:41:44 -0500 )edit

it seems modules are correctly compiled, do you have 'systemd-modules-load.service' enabled? (sudo systemctl enable systemd-modules-load.service)

fcomida gravatar imagefcomida ( 2016-02-20 15:56:40 -0500 )edit

systemctl enable systemd-modules-load.service

The unit files have no [Install] section. They are not meant to be enabled using systemctl. Possible reasons for having this kind of units are: 1) A unit may be statically enabled by being symlinked from another unit's .wants/ or .requires/ directory. 2) A unit's purpose may be to act as a helper for some other unit which has a requirement dependency on it. 3) A unit may be started when needed via activation (socket, path, timer, D-Bus, udev, scripted systemctl call, ...).

alsoijw gravatar imagealsoijw ( 2016-02-20 16:30:02 -0500 )edit

my fault, installing vbox should enable systemd-modules-load.service, 'sudo systemctl restart systemd-modules-load.service' will load vbox modules. Check it with 'sudo systemctl status systemd-modules-load.service' and 'lsmod'.

fcomida gravatar imagefcomida ( 2016-02-20 16:40:20 -0500 )edit
alsoijw gravatar imagealsoijw ( 2016-02-21 11:55:38 -0500 )edit

You are using secure boot, new VirtualBox modules must be signed with Fedora keys. Have a look at:

fcomida gravatar imagefcomida ( 2016-02-21 12:46:55 -0500 )edit

answered 2016-02-20 22:10:39 -0500

sergiomb gravatar image

updated 2016-02-21 15:54:18 -0500

Sorry, now rpmfusuion just use akmods , please install kernel-devel to akmods run correctly

  dnf install VirtualBox kernel-devel-$(uname -r) akmod-VirtualBox
  akmods --force
  systemctl restart systemd-modules-load.service

sorry is not enable is restart

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.

About yours 2nd pastin , rpmfusion package don't have vboxautostart neither balloonctrl , and web-service is not enable by default , so you need clean your system , of course it easy clean rpm packages with dnf remove ... , maybe the better is clean all packages and sources , a reinstall again .

edit flag offensive delete link more


alsoijw gravatar imagealsoijw ( 2016-02-21 11:52:37 -0500 )edit
alsoijw gravatar imagealsoijw ( 2016-02-21 14:31:55 -0500 )edit

How can I clear my system?

alsoijw gravatar imagealsoijw ( 2016-02-22 08:35:45 -0500 )edit

Question Tools

1 follower


Asked: 2016-02-20 12:49:43 -0500

Seen: 468 times

Last updated: Feb 21 '16