qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] Qemu tutorial
@ 2006-07-05 21:49 Daniel Carrera
  2006-07-05 22:13 ` Daniel Carrera
  0 siblings, 1 reply; 3+ messages in thread
From: Daniel Carrera @ 2006-07-05 21:49 UTC (permalink / raw)
  To: qemu-devel

[-- Attachment #1: Type: text/plain, Size: 1381 bytes --]

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 <a href="#SEC15">3.6 Disk Images</a>.

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.
-- 
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

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 191 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2006-07-05 22:17 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-07-05 21:49 [Qemu-devel] Qemu tutorial Daniel Carrera
2006-07-05 22:13 ` Daniel Carrera
2006-07-05 22:17   ` Larry Brigman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).