qemu.rst
author Oleksandr Gavenko <gavenkoa@gmail.com>
Sat, 10 Feb 2018 01:36:16 +0200
changeset 2229 1a0b6597e594
parent 2024 78b985d034bc
permissions -rw-r--r--
Mark block quot in HTMLe.

.. -*- coding: utf-8; -*-

======
 QEMU
======
.. contents::
   :local:

Install OS in QEMU
==================

Create image in QEMU::

  $ qemu-img create -f qcow2  $NAME.img 8G

Install or run with ISO image attached::

  $ qemu-system-i386 -hda $NAME.img -cdrom $DISTRO.iso -boot d -net nic -usb

Best way to add mouse support via ``-usbdevice tablet`` because tablet device
does not need to constantly grab mouse position::

  $ qemu-system-i386 -hda $NAME.img -boot d -net nic -usb -usbdevice tablet