Virtualbox is not running on CentOS 7

Hafiz Muhammad Shafiq

I have installed virtualbox 4.3 (also version 5.x). There is no problem in installation. But When I run it via terminal. It gives following warning

WARNING: The vboxdrv kernel module is not loaded. Either there is no module
         available for the current kernel (3.10.0-229.11.1.el7.x86_64) or it failed to
         load. Please recompile the kernel module and install it by

           sudo /etc/init.d/vboxdrv setup

         You will not be able to start VMs until this problem is fixed.

When virtual machine starts and I select a VM, It gives following error.

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.

When I run follwoing commad

sudo /etc/init.d/vboxdrv setup

This error appears

Stopping VirtualBox kernel modules                         [  OK  ]
Uninstalling old VirtualBox DKMS kernel modulesError! There are no instances of module: vboxhost
4.3.30 located in the DKMS tree.
Error! There are no instances of module: vboxhost
4.3.30 located in the DKMS tree.
Error! There are no instances of module: vboxhost
4.3.30 located in the DKMS tree.
Error! There are no instances of module: vboxhost
4.3.30 located in the DKMS tree.
                                                           [  OK  ]
Trying to register the VirtualBox kernel modules using DKMS[  OK  ]
Starting VirtualBox kernel modules                         [FAILED]
  (modprobe vboxdrv failed. Please use 'dmesg' to find out why)

And according to above guide, I run dmesg command and it shows following results at tail.

[   77.790816] tun: (C) 1999-2004 Max Krasnyansky <[email protected]>
[   77.826151] device virbr0-nic entered promiscuous mode
[   77.916096] virbr0: port 1(virbr0-nic) entered listening state
[   77.916105] virbr0: port 1(virbr0-nic) entered listening state
[   77.916153] IPv6: ADDRCONF(NETDEV_UP): virbr0: link is not ready
[   78.170824] virbr0: port 1(virbr0-nic) entered disabled state
[   96.372599] fuse init (API version 7.22)
[  116.798026] TCP: lp registered
[  840.569814] warning: `VirtualBox' uses 32-bit capabilities (legacy support in use)

What is the problem, I am tring to solve it for about two months but nothing solve my problem. Please guide and answer to the point as I am not an expert in such things.

Hafiz Muhammad Shafiq

I think, in BIOS setting, you should disable secure boots option is boot setting. It may solve your problem.

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

Virtualbox is not running on CentOS 7

From Dev

Accessing a CentOS 7 (minimal) server running on VirtualBox from outside

From Dev

CentOS 7 VirtualBox no internet access

From Dev

Windows 7 and VirtualBox (centos 7) DNS not working

From Dev

install virtualbox through kickstart centos 7

From Dev

Cannot access apache on Centos 7 virtualbox machine

From Dev

Centos 7 in virtualbox - SSH: connection refused

From Dev

Uninstall the VirtualBox guest addition on CentOS 7?

From Dev

CentOS 7 and VirtualBox bridged network issues

From Dev

Centos7 Kickstart on VirtualBox/VMware Workstation

From Dev

Centos7 firewall not running

From Dev

BSOD in Windows 7 on Virtualbox when running RDP

From Dev

Running Windows 7 Virtualbox on Ubuntu command Line

From Dev

How to properly set up 2 network interfaces in CentOS (running in VirtualBox)?

From Dev

How to properly set up 2 network interfaces in CentOS (running in VirtualBox)?

From Dev

Unable to connect to mongodb running in virtualbox (host: Mac OS, guest: CentOS)

From Dev

VirtualBox - Centos

From Dev

SElinux prevent cron from running Centos 7

From Dev

User permissions running a LAMP stack on CentOS 7

From Dev

Recover centos 7 machine running zfs

From Dev

Enable ssh host to guest & guest Internet on CentOS 7 guest with VirtualBox

From Dev

VirtualBox with Centos 7 minimal install, cannot connect to network

From Dev

How do I install VirtualBox guest additions for CentOS 7?

From Dev

Bridge two ethernet interfaces in virtualbox. CentOS 7

From Dev

Troubles with putty to connect to VM CentOS 7 (Vagrant / Virtualbox)

From Dev

VirtualBox CentOS 7 installation- why just command line, no desktop?

From Dev

Want to install VirtualBox Guest Additions on CentOS 7 but get a header mismatch

From Dev

Connecting from Windows 7 to MySQL docker container on VirtualBox CentOs

From Dev

Windows 7 running in VirtualBox cannot see shared folders

Related Related

  1. 1

    Virtualbox is not running on CentOS 7

  2. 2

    Accessing a CentOS 7 (minimal) server running on VirtualBox from outside

  3. 3

    CentOS 7 VirtualBox no internet access

  4. 4

    Windows 7 and VirtualBox (centos 7) DNS not working

  5. 5

    install virtualbox through kickstart centos 7

  6. 6

    Cannot access apache on Centos 7 virtualbox machine

  7. 7

    Centos 7 in virtualbox - SSH: connection refused

  8. 8

    Uninstall the VirtualBox guest addition on CentOS 7?

  9. 9

    CentOS 7 and VirtualBox bridged network issues

  10. 10

    Centos7 Kickstart on VirtualBox/VMware Workstation

  11. 11

    Centos7 firewall not running

  12. 12

    BSOD in Windows 7 on Virtualbox when running RDP

  13. 13

    Running Windows 7 Virtualbox on Ubuntu command Line

  14. 14

    How to properly set up 2 network interfaces in CentOS (running in VirtualBox)?

  15. 15

    How to properly set up 2 network interfaces in CentOS (running in VirtualBox)?

  16. 16

    Unable to connect to mongodb running in virtualbox (host: Mac OS, guest: CentOS)

  17. 17

    VirtualBox - Centos

  18. 18

    SElinux prevent cron from running Centos 7

  19. 19

    User permissions running a LAMP stack on CentOS 7

  20. 20

    Recover centos 7 machine running zfs

  21. 21

    Enable ssh host to guest & guest Internet on CentOS 7 guest with VirtualBox

  22. 22

    VirtualBox with Centos 7 minimal install, cannot connect to network

  23. 23

    How do I install VirtualBox guest additions for CentOS 7?

  24. 24

    Bridge two ethernet interfaces in virtualbox. CentOS 7

  25. 25

    Troubles with putty to connect to VM CentOS 7 (Vagrant / Virtualbox)

  26. 26

    VirtualBox CentOS 7 installation- why just command line, no desktop?

  27. 27

    Want to install VirtualBox Guest Additions on CentOS 7 but get a header mismatch

  28. 28

    Connecting from Windows 7 to MySQL docker container on VirtualBox CentOs

  29. 29

    Windows 7 running in VirtualBox cannot see shared folders

HotTag

Archive