Install VirtualBox Virtual Machine in Ubuntu

Source: Internet
Author: User
After I decided to install Vmware as a virtual machine system, I soon found a problem: that is to say, using Vmware cannot directly use physical hard disk partitions as virtual machine disks. However, after starting Vmware using sudoVmware on the command line, I can directly use physical partitions as virtual disks. However, the situation is not good. The previously installed Windows cannot be started normally, and a blue screen crash occurs. This is also true. The hardware driver on the physical machine cannot adapt to Vmware Virtual Hardware. If

After I decided to install Vmware as a virtual machine system, I soon found a problem: that is to say, using Vmware cannot directly use physical hard disk partitions as virtual machine disks.

However, after starting Vmware using sudo Vmware on the command line, I can directly use physical partitions as virtual disks. However, the situation is not quite good. The previously installed windows 2003 cannot be started normally, and a blue screen crash occurs. This is also true. The hardware driver on the physical machine cannot adapt to Vmware Virtual Hardware. If you delete the hardware driver on the physical machine, it may be possible to start it. However, if windows has the memory hardware function and most of the hardware is replaced, windows will think that you are pirated and will not start it.

I have considered that there is no need to use physical partitions as Virtual Disks and directly use disk files as Virtual Disks. Although the performance has declined, it is negligible. But there is a huge advantage: first, it will not change the windows system that has been installed on the physical machine. Second, the virtual disk in the form of disk files can be copied back and forth for backup. In this case, I decided to discard using physical partitions as virtual disks.

Next, I found the second problem: My current Vmware must use sudo Vmware to start it under the command line, and it will no longer be able to start Vmware from the application menu. I can't reinstall Vmware. I Can't uninstall it and reinstall it. Forget it. Since physical partitions are not considered, I should use Virtualbox!

Virtualbox has two versions. One is the ose open-source version, which is completely free to use. The other is the binary version which has complete functions but is not open-source. In Ubuntu, the ose version is provided. However, I would like to use a fully functional non-open-source version.

Here we will briefly introduce the concept of the source in Ubuntu. Ubuntu is network-based, that is, Ubuntu provides a huge software repository on the network, allowing you to access the software repository through the Ubuntu Installation Management Program to install or uninstall the software. At the same time, the Ubuntu Installation Management program can automatically detect released updates over the Internet. This update feature is more powerful than windows updates, because the updates it provides are not only for the operating system, in addition, you can update the software installed through the software warehouse, so that you can update almost all the software on your computer. Amazing?

To speed up network access, Ubuntu and Ubuntu fans have set up image servers around the world. You can set up servers as needed. If you select an official software source, you can directly set the source server or detection speed through "System Management-software source. However, you can also use unofficial sources, which may be faster.

In addition, software that is not included in the software warehouse can be separately added to the source.

Therefore, Virtualbox can be added to its own source. However, you must manually modify the source configuration file. The source configuration file is in the/etc/apt/sources. list file. You can use your favorite editor to open it in sudo mode.

What is the sudo mode? It is a security mechanism inside Ubuntu that allows the current user to temporarily obtain administrator permissions. This is very useful for modifying system settings and installing software.

To add Virtualbox to the source, add a line in sources. list:

Deb http://www.Virtualbox.org/debian gutsy non-free

In addition, use the following command to download the source Certificate and install the source certificate:

Wget http://www.Virtualbox.org/debian/innotek.asc

Sudo apt-key add innotek. asc

Next, you can update the source data through the refresh function of system management-New Software Package Manager. Click the search button, enter Virtualbox, select the search location as the name, and click OK. The search result is displayed.

Right-click Virtualbox (note not Virtualbox-ose), select "mark for installation", and click Application on the toolbar of the new software package manager, the system automatically downloads and installs Virtualbox. If you need to install the software, you can use this method to install the software. You can also click the "Group" button on the left side of the new product to find the desired Software category for installation by Software category. The new software package manager is so convenient.

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.