Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FyEwW-00046v-U3 for qemu-devel@nongnu.org; Wed, 05 Jul 2006 17:29:56 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FyEwU-000436-8z for qemu-devel@nongnu.org; Wed, 05 Jul 2006 17:29:55 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FyEwU-00042m-32 for qemu-devel@nongnu.org; Wed, 05 Jul 2006 17:29:54 -0400 Received: from [32.97.182.141] (helo=e1.ny.us.ibm.com) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1FyEwW-0004T9-UM for qemu-devel@nongnu.org; Wed, 05 Jul 2006 17:29:57 -0400 Received: from d01relay04.pok.ibm.com (d01relay04.pok.ibm.com [9.56.227.236]) by e1.ny.us.ibm.com (8.12.11.20060308/8.12.11) with ESMTP id k65LTr9X003906 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL) for ; Wed, 5 Jul 2006 17:29:53 -0400 Received: from d01av02.pok.ibm.com (d01av02.pok.ibm.com [9.56.224.216]) by d01relay04.pok.ibm.com (8.13.6/NCO/VER7.0) with ESMTP id k65LTq5c281822 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Wed, 5 Jul 2006 17:29:53 -0400 Received: from d01av02.pok.ibm.com (loopback [127.0.0.1]) by d01av02.pok.ibm.com (8.12.11.20060308/8.13.3) with ESMTP id k65LTqp3024957 for ; Wed, 5 Jul 2006 17:29:52 -0400 Received: from wecm-9-67-93-53.wecm.ibm.com (wecm-9-67-93-53.wecm.ibm.com [9.67.93.53]) by d01av02.pok.ibm.com (8.12.11.20060308/8.12.11) with ESMTP id k65LTpKG024884 for ; Wed, 5 Jul 2006 17:29:51 -0400 Subject: Re: [Qemu-devel] No useful documentation. From: Nathaniel McCallum In-Reply-To: <1152134363.8295.94.camel@Agape-desktop> References: <1152133046.8295.85.camel@Agape-desktop> <1152133925.27974.4.camel@localhost.localdomain> <1152134363.8295.94.camel@Agape-desktop> Content-Type: text/plain Date: Wed, 05 Jul 2006 17:29:53 -0400 Message-Id: <1152134993.27974.10.camel@localhost.localdomain> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Reply-To: 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 To create an empty Hard Drive image do: qemu-img create for example: qemu-img create windows.img 2G You can also use the preferred ("qcow") image format by doing: qemu-img create -f qcow windows.img 2G That gives you the ability to save snapshots, encrypt the image, etc. Now we'll use this image: qemu -hda windows.img -cdrom /dev/cdrom -m 256 -boot d That says: "-hda windows.img" == Use the file windows.img for the first disk "-cdrom /dev/cdrom" == Use /dev/cdrom for the CDROM "-m 256" == Use 256MB of memory "-boot d" == "Boot off of drive 'd', aka the cdrom" Nathaniel On Wed, 2006-07-05 at 22:19 +0100, Daniel Carrera wrote: > On Wed, 2006-05-07 at 17:12 -0400, Nathaniel McCallum wrote: > > A person who is in your position (frustrated for lack of documentation) > > is actually the most qualified person to write documentation. Feel free > > to ask any questions you have on this list. > > I would be happy to contribute a section. First I need to learn how qemu > works though. Just the basics. On another list someone told me that the > way qemu works is by first creating a blank image, then booting a CD > from the virtual machine and installing. > > At this point I know how to make a blank image, and I know how to boot a > CD: > > qemu -cdrom /dev/cdrom > > Now I need to figure out how to put these together so that if this CD > can install an operating system, qemu will know to use the blank image I > made (call it c.img) as a hard drive for its virtual machine. > > Could someone tell me how to do that? > > I'll be happy to write an intro tutorial for new users with the > knowledge I gain. > > Cheers, > Daniel. > _______________________________________________ > Qemu-devel mailing list > Qemu-devel@nongnu.org > http://lists.nongnu.org/mailman/listinfo/qemu-devel