Install Qemu under Ubuntu

Source: Internet
Author: User

Reprint please indicate the source of the original, http://www.cnblogs.com/flyingcloude/p/6992388.html

QEMU is a good virtual machine, the following nonsense does not say, directly said the installation process.

(1) Installing QEMU

Simulation arm needs to use Qemu-system-arm, install simulator

sudo apt-get install QEMU-KVM Qemu-kvm-extras

(2) Download kernel image. The following name is called Ubuntu.iso

(3) Create a virtual disk

sudo qemu-img create-f qcow2/opt/vm/ubuntu1010.img 10G

(4) Installing the virtual machine operating system

sudo qemu-system-x86_64-hda/opt/vm/ubuntu1010.img-cdrom/opt/iso/ubuntu.iso-boot d-m 1024-no-acpi

-HDA Specifies which virtual disk the hard disk is, with the ubuntu1010.img you just created

-cdrom specify CDROM is which, can use the ISO file, ye can use the machine optical drive, we choose to use the ISO file.

-BOOT specifies when booting from disk, hard drive, optical drive or network boot, we install the time choose to boot from the optical drive, so use D

-M virtual machine using the memory size, in megabytes, the default is 128MB, this 1024

-NO-ACPI because QEMU support is not good cause the system is very slow, so temporarily banned.

The installation Wizard will be installed after you enter.

(5) Start the virtual machine

sudo qemu-system-x86_64/opt/vm/ubuntu1010.img-m 1024

Reprint please indicate the source of the original, http://www.cnblogs.com/flyingcloude/p/6992388.html

Install Qemu under Ubuntu

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.