You are not logged in.

#1 2020-09-11 12:30:05

ilak
Member
Registered: 2020-09-11
Posts: 8

[SOLVED] Virtualbox failed to open virtual machine

Hi,
I was trying to run my virtual machine on oracle virtualbox but

"The VirtualBox Linux kernel driver is either not loaded or not set up correctly. Please try setting it up again by executing

'/sbin/vboxconfig'

as root.

If your system has EFI Secure Boot enabled you may also need to sign the kernel modules (vboxdrv, vboxnetflt, vboxnetadp, vboxpci) before you can load them. Please see your Linux system's documentation for more information.

where: suplibOsInit what: 3 VERR_VM_DRIVER_NOT_INSTALLED (-1908) - The support driver is not installed. On linux, open returned ENOENT. "

this appeared. I have run sudo /sbin/vboxconfig but the output is
"sudo: /sbin/vboxconfig: command not found"

Then I tried to load the module manually using "sudo modprobe vboxdrv". But the output is "modprobe: FATAL: Module vboxdrv not found in directory /lib/modules/5.8.7-arch1-1"

N.B: I never enabled secure boot mode. Thank you.

Last edited by ilak (2020-09-11 18:00:15)

Offline

#2 2020-09-11 12:35:00

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,923

Re: [SOLVED] Virtualbox failed to open virtual machine

What from the instructions in https://wiki.archlinux.org/index.php/VirtualBox is unclear?

Offline

#3 2020-09-11 12:35:19

d_fajardo
Member
Registered: 2017-07-28
Posts: 1,583

Re: [SOLVED] Virtualbox failed to open virtual machine

FATAL: Module vboxdrv not found in directory /lib/modules/5.8.7-arch1-1"

Which virtualbox version are you using? It looks like you need to a good system upgrade.
And don't forget to reboot.

Offline

#4 2020-09-11 12:35:47

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,648
Website

Re: [SOLVED] Virtualbox failed to open virtual machine

Please edit your title to be informative about the issue you're having.

Then post the output of each of the following:

pacman -Qs linux
uname -a

"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Online

#5 2020-09-11 13:03:29

ilak
Member
Registered: 2020-09-11
Posts: 8

Re: [SOLVED] Virtualbox failed to open virtual machine

Output of pacman -Qs linux is:

local/alsa-lib 1.2.3.2-1
    An alternative implementation of Linux sound support
local/archlinux-appstream-data 20200720-1
    Arch Linux application database for AppStream-based software centers
local/archlinux-keyring 20200820-1
    Arch Linux PGP keyring
local/avahi 0.8+15+ge8a3dd0-1
    Service Discovery for Linux using mDNS/DNS-SD -- compatible with Bonjour
local/base 2-2
    Minimal package set to define a basic Arch Linux installation
local/efibootmgr 17-2
    Linux user-space application to modify the EFI Boot Manager
local/filesystem 2020.08.21-1
    Base Arch Linux files
local/ibus 1.5.22+8+gf591381e-1
    Next Generation Input Bus for Linux
local/iptables 1:1.8.5-2
    Linux kernel packet control tool (using legacy interface)
local/kdenlive 20.04.3-1 (kde-applications kde-multimedia)
    A non-linear video editor for Linux using the MLT video framework
local/keyutils 1.6.3-1
    Linux Key Management Utilities
local/kmod 27-2
    Linux kernel module management tools and library
local/libaio 0.3.112-2
    The Linux-native asynchronous I/O facility (aio) library
local/libiec61883 1.2.0-6
    A higher level API for streaming DV, MPEG-2 and audio over Linux IEEE 1394
local/libimobiledevice 1.3.0-1
    Library that talks the protocols to support iPhone and iPod Touch devices on
    Linux
local/libraw1394 2.1.2-3
    Provides an API to the Linux IEEE1394 (FireWire) driver
local/libutil-linux 2.36-3
    util-linux runtime libraries
local/libva 2.8.0-1
    Video Acceleration (VA) API for Linux
local/libxshmfence 1.3-2
    a library that exposes a event API on top of Linux futexes
local/linux 5.8.8.arch1-1
    The Linux kernel and modules
local/linux-api-headers 5.8-1
    Kernel headers sanitized for use in userspace
local/linux-firmware 20200817.7a30af1-1
    Firmware files for Linux
local/man-pages 5.08-1
    Linux man pages
local/mdadm 4.1-2
    A tool for managing/monitoring Linux md device arrays, also known as Software
    RAID
local/ndctl 69-1
    Utility library for managing the libnvdimm (non-volatile memory device)
    sub-system in the Linux kernel
local/pacman-mirrorlist 20200801-1
    Arch Linux mirror list for use by pacman
local/torbrowser-launcher 0.3.2-2
    Securely and easily download, verify, install, and launch Tor Browser in Linux
local/util-linux 2.36-3
    Miscellaneous system utilities for Linux
local/v4l-utils 1.20.0-1
    Userspace tools and conversion library for Video 4 Linux 

and uanme -a is:

 5.8.8-arch1-1 #1 SMP PREEMPT Wed, 09 Sep 2020 18:59:45 +0000 x86_64 GNU/Linux 

N. B: I have just upgrade using pacman -Syu

Last edited by ilak (2020-09-11 13:10:41)

Offline

#6 2020-09-11 13:05:22

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,648
Website

Re: [SOLVED] Virtualbox failed to open virtual machine

Please edit your last post to wrap that output in [ code ] tags.

I gather that this output was after you updated and rebooted.  You should be able to follow the wiki now and load any needed modules.


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Online

#7 2020-09-11 13:13:54

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,923

Re: [SOLVED] Virtualbox failed to open virtual machine

You shouldn't use the spaces between [ code ] yourself, we just use that to illustrate what you need to do. if you drop the spaces the output should be more readable.

Offline

#8 2020-09-11 13:17:21

ilak
Member
Registered: 2020-09-11
Posts: 8

Re: [SOLVED] Virtualbox failed to open virtual machine

Trilby wrote:

Please edit your last post to wrap that output in [ code ] tags.

I gather that this output was after you updated and rebooted.  You should be able to follow the wiki now and load any needed modules.

I rebooted after upgradation. Then run modprobe vboxdrv. But the problem persists.

 modprobe: FATAL: Module vboxdrv not found in directory /lib/modules/5.8.8-arch1-1 

Offline

#9 2020-09-11 13:18:40

ilak
Member
Registered: 2020-09-11
Posts: 8

Re: [SOLVED] Virtualbox failed to open virtual machine

V1del wrote:

You shouldn't use the spaces between [ code ] yourself, we just use that to illustrate what you need to do. if you drop the spaces the output should be more readable.

Sorry for that and thank you.

Offline

#10 2020-09-11 13:25:59

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,923

Re: [SOLVED] Virtualbox failed to open virtual machine

which is normal and expected if you didn't install the virtualbox host modules yet, read the link I posted

Offline

#11 2020-09-11 13:28:09

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,648
Website

Re: [SOLVED] Virtualbox failed to open virtual machine

Which host-modules package have you installed?  virtualbox-host-modules-arch, or virtualbox-host-dkms?

EDIT: cross posted with the above - if you have not actually followed any of the wiki instructions for installing and configuring virtualbox, you should not be asking for help here.  Follow the instructions first, if you still have problems, then follow up here.  If simply following the instructions is sufficient, then come back and mark the thread as [SOLVED].

Last edited by Trilby (2020-09-11 13:29:41)


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Online

#12 2020-09-11 13:37:46

ilak
Member
Registered: 2020-09-11
Posts: 8

Re: [SOLVED] Virtualbox failed to open virtual machine

Trilby wrote:

Which host-modules package have you installed?  virtualbox-host-modules-arch, or virtualbox-host-dkms?

EDIT: cross posted with the above - if you have not actually followed any of the wiki instructions for installing and configuring virtualbox, you should not be asking for help here.  Follow the instructions first, if you still have problems, then follow up here.  If simply following the instructions is sufficient, then come back and mark the thread as [SOLVED].

I've read archwiki. I have reinstalled virtualbox-hostmodule-arch

warning: virtualbox-host-modules-arch-6.1.12-8 is up to date -- reinstalling
resolving dependencies...
looking for conflicting packages...

Packages (1) virtualbox-host-modules-arch-6.1.12-8

Total Installed Size:  0.15 MiB
Net Upgrade Size:      0.00 MiB

:: Proceed with installation? [Y/n] 
(1/1) checking keys in keyring                      [##########################] 100%
(1/1) checking package integrity                    [##########################] 100%
(1/1) loading package files                         [##########################] 100%
(1/1) checking for file conflicts                   [##########################] 100%
(1/1) checking available disk space                 [##########################] 100%
:: Processing package changes...
(1/1) reinstalling virtualbox-host-modules-arch     [##########################] 100%
:: Running post-transaction hooks...
(1/2) Arming ConditionNeedsUpdate...
(2/2) Updating module dependencies...

Offline

#13 2020-09-11 13:40:11

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,648
Website

Re: [SOLVED] Virtualbox failed to open virtual machine

That is not the current version of virtualbox-host-modules.  Either you are doing partial upgrades, or you have a very broken mirror - given that you must have resynced your databases to get the new kernel, a broken mirror seems more likely.

Last edited by Trilby (2020-09-11 13:40:55)


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Online

#14 2020-09-11 14:19:34

ilak
Member
Registered: 2020-09-11
Posts: 8

Re: [SOLVED] Virtualbox failed to open virtual machine

Trilby wrote:

That is not the current version of virtualbox-host-modules.  Either you are doing partial upgrades, or you have a very broken mirror - given that you must have resynced your databases to get the new kernel, a broken mirror seems more likely.

Thanks bro. I've found a mirror issue. I have regenerated my mirrorslist using reflactor. Then I found thousands of packages to be upgraded. Then I've noticed the most updated version is

virtualbox-host-modules-arch-6.1.14-2

I think this upgradation will solve my problem. Then I will mark the thread as [SOLVED]
Thanks.... smile

Last edited by ilak (2020-09-11 14:20:39)

Offline

#15 2020-09-11 17:59:50

ilak
Member
Registered: 2020-09-11
Posts: 8

Re: [SOLVED] Virtualbox failed to open virtual machine

Hey after upgrading from different mirror, my problem solved. Thank you  all.. smile

Offline

Board footer

Powered by FluxBB