Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

What if there is an error when Ubuntu13.10 starts VirtualBox

2025-03-31 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/01 Report--

The main content of this article is to explain "Ubuntu13.10 starts VirtualBox prompt error how to do", interested friends may wish to have a look. The method introduced in this paper is simple, fast and practical. Next let the editor to take you to learn "Ubuntu13.10 startup VirtualBox prompt error how to do" it!

Recently, we need to debug Hadoop on several virtual machines, so we install the VirtualBox virtual machine on Ubuntu, but we encounter the problem that the virtual machine cannot be started:

An error dialog box pops up with the following error message:

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. Re-setup the kernel module by executing

'/ etc/init.d/vboxdrv setup'

As root. Users of Ubuntu, Fedora or Mandriva should install the DKMS package first. This package keeps track of Linux kernel changes and recompiles the vboxdrv kernel module if necessary.

First, summarize the system environment: ubuntu desktop 13.10, virtualbox-4.3, kernel: 3.11.0-17

1. Following this error instruction, I switched to the command line

Sudo / etc/init.d/vboxdrv setup

Get the following error message:

The prompt still fails to load dkms properly and seems to need to be compiled from the source code of the current kernel. At the same time, you are prompted to check the / var/log/vbox-inuntustall.log log.

two。 Therefore, the cat / var/log/vbox-install log

Uninstalling modules from DKMS

Removing old DKMS module vboxhost version 4.3.8

--

Deleting module version: 4.3.8

Completely from the DKMS tree.

--

Done.

Attempting to install using DKMS

Creating symlink / var/lib/dkms/vboxhost/4.3.8/source-"

/ usr/src/vboxhost-4.3.8

DKMS: add completed.

Failed to install using DKMS, attempting to install without

Makefile:183: * Error: unable to find the sources of your current Linux kernel. Specify KERN_DIR= "directory" and run Make again. Stop.

3. Check dkms and install normally; install virtualbox repeatedly to make sure it is not caused by incomplete installation.

Sudo apt-get install dkms

The prompt has been installed to the latest version, indicating that it should not be a problem with dkms.

4. Check the kernel version uname-r and get the current kernel version: 3.11.0-17-generic.

5. After searching the network, it was suggested that the kernel might need to be reinstalled.

Sudo apt-get install linux-headers-$ (uname-r)

Note: ${uname-r} is used to represent the current version of the kernel and cannot be used directly in the command. Here my version is the output from step 4.

6. Rerun sudo / etc/init.d/vboxdrv setup as prompted by the previous question

~ $sudo / etc/init.d/vboxdrv setup

Stopping VirtualBox kernel modules . . .done.

Uninstalling old VirtualBox DKMS kernel modules . . .done.

Trying to register the VirtualBox kernel modules using DKMS . . .done.

Starting VirtualBox kernel modules . . .done.

Tip: the virtualbox module has been registered with kernel normally

7. Next, you can click the start button of virtualbox to start the virtual machine in virtualbox normally.

At this point, I believe that everyone on the "Ubuntu13.10 start VirtualBox prompt error how to do" have a deeper understanding, might as well to the actual operation of it! Here is the website, more related content can enter the relevant channels to inquire, follow us, continue to learn!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report