How to handle the virtualbox startup error message: the vboxdrv kernel module is not loaded

Source: Internet
Author: User

When I started minikube, I encountered the following error message:

Starting local kubernetes v1.10.0 cluster...

Starting VM...

E1010 03:27:37. 920050 4827 start. Go: 174] error starting HOST: Error creating HOST: Error executing step: Running precreate checks.

: We support virtualbox starting with version 5. your virtualbox install is "Warning: The vboxdrv kernel module is not loaded. either there is no module available for the current kernel (3.10.0-862.11.6.el7.x86 _ 64) or it failed to load. please recompile the kernel module and install it by sudo/sbin/vboxconfig you will not be able to start VMS until this problem is fixed. 5.2.18r124319 ". please upgrade at https://www.virtualbox.org.

Retrying.

E1010 03:27:37. 921090 4827 start. Go: 180] error starting HOST: Error creating HOST: Error executing step: Running precreate checks.

: We support virtualbox starting with version 5. your virtualbox install is "Warning: The vboxdrv kernel module is not loaded. either there is no module available for the current kernel (3.10.0-862.11.6.el7.x86 _ 64) or it failed to load. please recompile the kernel module and install it by sudo/sbin/vboxconfig you will not be able to start VMS until this problem is fixed. 5.2.18r124319 ". please upgrade at https://www.virtualbox.org

The core error is:

The vboxdrv kernel module is not loaded.

Execute the command line:

Rcvboxdrv setup

Result:

Vboxdrv. sh: Stopping virtualbox services.

Vboxdrv. sh: Starting virtualbox services.

Vboxdrv. sh: Building virtualbox kernel modules.

This system is currently not set up to build kernel modules.

Please install the GCC make Perl packages from your distribution.

Please install the Linux kernel "Header" files matching the current Kernel

For adding new hardware support to the system.

The distribution packages containing the headers are probably:

Kernel-devel kernel-devel-3.10.0-862.11.6.el7.x86_64

Solution:

1. Follow the instructions in this article to install GCC make Perl package:

2. Install the kernel header file. Refer:

3. Execute the command line:

Rcvboxdrv setup

Make sure the message is displayed:

Vboxdrv. sh: Building virtualbox kernel modules.

The role of this vboxdrv is clearly written in the help documentation of virtualbox:

In order to run other operating systems in virtual machines alongside your main operating system, virtualbox needs to integrate very tightly into the system. to do this it installa "driver" module called vboxdrv which does a lot of that work into the system kernel, which is the part of the operating system which controls your processor and physical hardware. without this kernel module, you can still use the virtualbox manager to configure virtual machines, but they will not start.

A simple translation:

To run other types of Operating Systems in the host machine, virtualbox needs to interact with the kernel of the host machine's operating system. The Interaction module is called the vboxdrv driver, it is also part of the operating system and is responsible for controlling the CPU and other hardware resources of the operating system. Without the vboxdrv driver, although we can still use virtualbox manager to manage virtual machines, these virtual machines cannot be started on the host system.

Solve the problem after rcvboxdrv setup is executed.

For more original Jerry articles, follow the Public Account "Wang zixi ":

How to handle the virtualbox startup error message: the vboxdrv kernel module is not loaded

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.