Some problems that Ubuntu may encounter when using virtualbox

Source: Internet
Author: User
Because. net should not be used on the UbuntuLinux platform, I plan to use VirtualBox to install the XP system, but encountered the following two error messages. I am using the Synaptic suite management program to search for virtualbox to install the plug-in. The search will list a large list of related suites. I only install the following two: after virtualbox-ose and virtualbox-ose-dbg are installed, execute virtualbox settings and press start.

Because. net should not be used on the Ubuntu Linux platform, I plan to use VirtualBox to install the XP system, but encountered the following two error messages.

I used the Synaptic suite administrator to search for virtualbox to install the plug-in.

A large list of related suites will be listed in the search

I only install the following two: virtualbox-ose, virtualbox-ose-dbg

After the installation is complete, execute virtualbox settings and press start, but an error message is displayed.

It's almost long.

VirtualBox kernel driver not installed. the vboxdrv kernel module was either not loaded or/dev/vboxdrv was not created for some reason. please install the virtualbox-ose-modules package for your kernel, eg virtualbox-ose-modules-generic ..
VBox status code:-1908 (VERR_VM_DRIVER_NOT_INSTALLED ).

The solution is as follows:

1. Execute the following code:

Sudo apt-get install virtualbox-ose-source

If this error message is displayed: Unable to lock the administration directory

Run the following code to remove lock.

Sudo rm/var/lib/dpkg/lock

2. Run the command again.

Sudo apt-get install virtualbox-ose-source

3. Execute the task after running the task.

Cd/usr/src

4. After the cd directory is enabled, decompress the code

Sudo tar xjvf virtualbox *. bz2
Cd modules/virtualbox-ose
Sudo./build_in_tmp install

5. This part takes a long time and requires code re-compilation. After compilation, enter the following code:

Sudo/etc/init. d/vboxdrv start

End

After this part is completed, I remember that the system will prompt you to log on again, and then start VirtualBox again. It should be successful.

Ps. If the keyboard cannot be used in the virtual machine, install the two apt
Sudo apt-get install scim-bridge-client-q
Sudo apt-get install scim-bridge-client-qt4

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