# HG changeset patch # User Oleksandr Gavenko # Date 1472921143 -10800 # Node ID 78b985d034bc3c338f1ad062ec9ad56896077ecc # Parent 72b82c17801860cb6536b671090d30e913317180 Install OS in QEMU. diff -r 72b82c178018 -r 78b985d034bc qemu.rst --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/qemu.rst Sat Sep 03 19:45:43 2016 +0300 @@ -0,0 +1,24 @@ +.. -*- 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 +