From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FyFFw-000796-V6 for qemu-devel@nongnu.org; Wed, 05 Jul 2006 17:50:00 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FyFFv-000786-9e for qemu-devel@nongnu.org; Wed, 05 Jul 2006 17:50:00 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FyFFv-00077v-30 for qemu-devel@nongnu.org; Wed, 05 Jul 2006 17:49:59 -0400 Received: from [83.148.189.24] (helo=mxbackup.griffin.com) by monty-python.gnu.org with esmtp (Exim 4.52) id 1FyFFx-00064L-Tj for qemu-devel@nongnu.org; Wed, 05 Jul 2006 17:50:02 -0400 Received: from Agape.local (82.151.249.90.adsl.griffin.net.uk [82.151.249.90]) by mxbackup.griffin.com (Postfix) with ESMTP id F08F610E8CFD for ; Wed, 5 Jul 2006 22:49:57 +0100 (BST) From: Daniel Carrera Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-/3Owf/dUXA1KlxtMyIDR" Date: Wed, 05 Jul 2006 22:49:56 +0100 Message-Id: <1152136197.8295.113.camel@Agape-desktop> Mime-Version: 1.0 Subject: [Qemu-devel] Qemu tutorial Reply-To: daniel.carrera@zmsl.com, qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org --=-/3Owf/dUXA1KlxtMyIDR Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Hello all, As promised, here is a tutorial I would recommend to get people started. It's short and sweet: <------------------------- Tutorial: Full system emulation under Linux ------------------------------------------- Alright, you have qemu installed and now you want to run a client OS under qemu. Follow these steps: 1) You need a blank disk image. This is like adding a blank disk to the virtual computer that qemu creates. Use this command to create a 2Gb blank disk image: qemu-img create -f qcow c.img 2G The last argument is the size of the image (2G). For more information on creating a blank image, see 3.6 Disk Images. 2) When you install an OS on a real computer you normall boot an install CD. We'll do the same with the virtual computer. Put the CD (e.g. Windows install CD) on the CD drive. qemu -cdrom /dev/cdrom -hda c.img -m 256 -boot d This boots from the CD ROM (-boot d) using 256MB of RAM (-m 256) using c.img as /dev/hda (-hda c.img). Now you can install the client OS just as you would in a real computer. -------------------------> Cheers, Daniel. --=20 http://opendocumentfellowship.org "The reasonable man adapts himself to the world; the unreasonable man tries to adapt the world to himself. Therefore all progress depends on unreasonable men." -- George Bernard Shaw --=-/3Owf/dUXA1KlxtMyIDR Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (GNU/Linux) iD8DBQBErDQEp0IZBOPRtlQRAgymAKCd4O9xGoIWumtF14SZeLn17WZC5ACgnK7c TXYeim8rC27UO7vEYS5hwsU= =Sqmg -----END PGP SIGNATURE----- --=-/3Owf/dUXA1KlxtMyIDR--