QEMU – machine emulator and virtualizer Setup in Ubuntu

Sponsored Link
QEMU is a generic and open source machine emulator and virtualizer.When used as a machine emulator, QEMU can run OSes and programs made for one machine (e.g. an ARM board) on a different machine (e.g. your own PC). By using dynamic translation, it achieves very good performances.

When used as a virtualizer, QEMU achieves near native performances by executing the guest code directly on the host CPU. A host driver called the QEMU accelerator (also known as KQEMU) is needed in this case. The virtualizer mode requires that both the host and guest machine use x86 compatible processors.

QEMU Front End GUI

Currently there are two GUIs for QEMU

qemu-launcher

GTK+ front-end to QEMU computer emulator Qemu Launcher provides a graphical front-end to all basic, and many advanced QEMU computer emulator options. It allows you to create, save, and run multiple virtual machine configurations, create and convert disk images.

Qemu Launcher utilizes the full system emulation mode of QEMU that allows you to run unmodified operating system on virtual hardware.

qemulator

a solution for easy setup and management of qemuQemulator is a full featured emulation suite for the qemu virtual engine, with on demand job control written in python GTK/Glade2. It provides an easy and fast to use image and device management, a "My machines" list and interactive job control. It comes with a list of all running jobs from where you can open the contol panel for each job and performing on demand action. Full interaction for mounted volumes, usb devices, keyboard and mouse interaction, screenshots, wave capture and save/restore machine state and open vnc viewer is provided

Install QEMU in ubuntu

sudo aptitude install qemu qemulator

If you want qemu-launcher install with the following command

sudo aptitude install qemu-launcher

This will complete the instalaltion

Configuring Virtual Machines

Configuring virtual machines in qemu you need to use qemulatoropen this from Applications--->Accessories--->Qemulator

Qemulator is Loading

First you need to configure qemulator for this go to Settings--->Preferences

The first and most important step is the selection of the path, where your qemu images are currently stored or will be stored. The content of this folder will be shown in the main window of Qemulator.If you want to use the real physical cdromdrives of your PC, add them to the list. Enter a name of your choice and the path to the device (not to the mount point!).Add all qemu apps for the different emulation-plattforms with the paths of the application to the list for using them in Qemulator. The default settings should fit for most common systems.

In the tab "Main window" you can specify the behavior of the GUI.

The Control monitor tab provides setup options for the behaviour of the control monitor.

External applications tab

Virtual machine setup

Click the + button in the main toolbar or select "System -> Create new image" from main menu. Give a name for the new machine.

Here you need to filled all the information as per your requirements and click ok

You can see your configured new virtual machine if you want to start this click on green arrow mark on the top right corner

If you have some bootable images in your main images directory, change to the "Main images folder" tab and select one of your bootable images, eg. an iso image from a live CD.If you selected a bootable image from the images list before, the image type should have been autodetected by Qemulator and the boot settings should be set to fitting values. If not, select your required boot image in the section "Boot from image". After this All volume and boot options should be autodetected and set up also.

Select physical Drives

Sponsored Link

You may also like...

5 Responses

  1. Jithin says:

    i just wanted to ask a general question… all your tutorials can be done in kubuntu with minor modifications,rite?

  2. admin says:

    yes you can

  3. adil says:

    what is differnce bettwin qemu and vertual box

  4. KVPSN says:

    How to boot linux with “Direct linux Boot” option.

    Thanks.

  5. Nishant says:

    so far i have come to know is in qemu you can run os of different architecture but this feature isn’t there in virtual box or vmware..suppose

Leave a Reply

Your email address will not be published. Required fields are marked *