From: Daniel Carrera <daniel.carrera@zmsl.com>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] Qemu tutorial
Date: Wed, 05 Jul 2006 22:49:56 +0100 [thread overview]
Message-ID: <1152136197.8295.113.camel@Agape-desktop> (raw)
[-- 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 --]
next reply other threads:[~2006-07-05 21:50 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-07-05 21:49 Daniel Carrera [this message]
2006-07-05 22:13 ` [Qemu-devel] Qemu tutorial Daniel Carrera
2006-07-05 22:17 ` Larry Brigman
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1152136197.8295.113.camel@Agape-desktop \
--to=daniel.carrera@zmsl.com \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).