VirtualBox virtual machine run Ubuntu how Not card (reprint)

Source: Internet
Author: User

Reprinted from Http://www.xuzefeng.com/post/85.html

On the performance side, running the system on a virtual machine is always weaker than running on this computer, but the virtual machine has its convenience. Sometimes, obviously the computer hardware configuration is enough, but on the virtual machine run Ubuntu when it is a little card. For example, I observed the phenomenon is that Ubuntu interface is very lag. This behavior is most likely a setup problem.

I use the computer in this article, CPU for the Intel Notebook i5 third generation, the memory size is 4GB.

1. Turn on the hardware virtualization function of CPU

Today's CPUs almost all support hardware virtualization capabilities that Intel calls Vt-x technology, which AMD calls AMD-V technology. Search your notebook model or motherboard model + turn on virtualization in Baidu to find the appropriate way to open it. Typically boot into the BIOS and then find the Virtualization Technology option to change the disabled to Enabled. As far as I know, with Intel CPUs, the option name for virtualization technology probably contains the word "Virtualization technology".

After the BIOS is successfully turned on, hardware acceleration is enabled in the settings of the virtual machine.

When you successfully turn on hardware virtualization, there is a blue v icon in the lower right corner of the virtual machine's window, and the mouse cursor will prompt you to open it successfully.

2. Allocate enough memory to the virtual machine

Since the machine has 4GB of memory, you can allocate 1GB for Ubuntu on the virtual machine. Memory size depends on the needs of the virtual machine system, if you run XP, then allocate 512MB is enough.

3. Turn on 3D acceleration to allocate enough video memory

I think the original Ubuntu interface is likely to be related to the graphics card settings. The 3D acceleration was switched on, and 32MB of video memory was allocated to VirtualBox. Performance improvements are obvious.

4, install VirtualBox enhancement function

Start the virtual machine. Click Devices > Install enhancements in the Virtual machines menu, or press the shortcut key to Host+d. The host key is the key that appears at the bottom right of the virtual machine window, and the default is right CTRL, which is the CTRL key on the right. The system will then load the virtual disc where the enhancements are located. Click Run, follow the prompts to complete the installation, and restart the virtual machine.

After the setup of the four steps above, have you ever felt that your virtual Ubuntu has become a little smoother?

VirtualBox virtual machine run Ubuntu how Not card (reprint)

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.