DebianAMD64 virtualbox-ose-modules Installation

Source: Internet
Author: User
DebianAMD64 virtualbox-ose-modules installation-Linux Release Technology-Debian information, the following is a detailed description. The kernel module in amd64 has been fixed before. Now I have to update the kernel again and remember it again. So I decided to write it down. I forgot to check it later. By the way, other friends can also refer to it.

The source of Debian amd64 provides the virtualbox-ose and virtualbox-ose-guest-utils Binary packages, but does not provide virtualbox-ose-modules, that is, the VirtualBox OSE kernel module. VirtualBox cannot run without the kernel module. Although Debian does not provide kernel modules for the amd64 version, we can compile it by ourselves.

We can use virtualbox-ose-source to compile the kernel module. View/usr/share/doc/virtualbox-ose-source/README. Debian, which says:

The Debian virtualbox-ose-source package can be used in several ways,

-Using module-assistant (1) commands provided by the module-assistant Debian

# Module-assistant prepare virtualbox-ose
# Module-assistant auto-install virtualbox-ose

-Using the make-kpkg (1) command provided by the kernel-package Debian
Package. See the "modules_image" section of the make-kpkg (1) man page.

-Unpacking/usr/src/virtualbox-* .tar.bz2 and installing the module on your own.

The above string of E indicates that virtualbox-ose-source has three usage methods. We use the first method to compile the kernel module, because this method is the simplest. The method is the two commands above. It's okay to list them separately:

# Module-assistant prepare virtualbox-ose
# Module-assistant auto-install virtualbox-ose

Of course, you must first install virtualbox-ose. After these two commands, the corresponding version of the kernel module deb package will be generated in the kernel source code directory, named virtualbox-ose-modules-kernel version _ amd64.deb. It should be the kernel source code directory, because I use a self-compiled kernel. The deb package I generated is under the directory I used to store the kernel source code. If you use the kernel in the source, I don't know where the deb package is. But it doesn't matter. After compilation, it will be installed directly, so you don't need to know the specific location of the deb package.

To use VirtualBox OSE, first load the kernel module: # modprobe vboxdrv, and then use it.
Related Article

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: 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.