From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1CS4qy-0006MA-S7 for qemu-devel@nongnu.org; Wed, 10 Nov 2004 21:38:29 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1CS4qx-0006Le-4R for qemu-devel@nongnu.org; Wed, 10 Nov 2004 21:38:28 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CS4qw-0006LH-VK for qemu-devel@nongnu.org; Wed, 10 Nov 2004 21:38:26 -0500 Received: from [64.233.170.202] (helo=rproxy.gmail.com) by monty-python.gnu.org with esmtp (Exim 4.34) id 1CS4hU-0001Ai-Vg for qemu-devel@nongnu.org; Wed, 10 Nov 2004 21:28:41 -0500 Received: by rproxy.gmail.com with SMTP id y7so67166rne for ; Wed, 10 Nov 2004 18:28:40 -0800 (PST) Message-ID: <2ad73a0411101828527c2559@mail.gmail.com> Date: Thu, 11 Nov 2004 00:28:40 -0200 From: =?ISO-8859-1?Q?Andr=E9_Braga?= Subject: Re: [Qemu-devel] Using Qemu to install Linux in a Windows XP disk image In-Reply-To: Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit References: Reply-To: =?ISO-8859-1?Q?Andr=E9_Braga?= , 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 Well, afaict, your dd command is wrong. It should be something like: dd if=/dev/zero of=hd.img bs=1M count=3000 (for a 3GB image) I know that Cygwin's dd is capable of reading the emulated /dev/zero device, not sure about John Newbigin's version. Anyhow, there are blank images of various sizes available on the internet, whch take very little space (I've seen some as small as 5kb), which you could download and use. Google for them. :) Cheers, A. -- "A year spent in artificial intelligence is enough to make one believe in God" Alan J. Perlis On Wed, 10 Nov 2004 17:45:24 -0500, Brett Bonfield wrote: > Hi, > > Apologies for making an end-user request rather than posing a > developer question or solution, but I'm not sure where else to ask the > following. I'm trying to use Qemu (the latest Windows installer) to > install and run the latest SimplyMEPIS .iso from a disk image so I can > save changes, install software, etc. > > The SimplyMEPIS community has provided excellent guidance > > http://www.mepis.org/node/view/4066 > > but I haven't been able to complete what I think are the last few steps, > in part because I have a very limited understanding of dd (note: I've > been using dd rather than MakeQemuImage because I'd like an image > larger than 2GB and because dd offers more documentation) and how it > would interact with Qemu under Windows XP. > > As near as I can tell, there are three separate branches of dd > available to Windows users (all three are open source: there may be > others, but who cares, right?): > > 1. http://unxutils.sourceforge.net/ > > 2. http://uranus.it.swin.edu.au/~jn/linux/rawwrite/dd.htm > > 3. http://users.erols.com/gmgarner/forensics/ > ( which requires that msvcr70.dll and getopt.dll from the same distro > be in the folder with dd.exe ) > > I've been creating my disk image with the following command: > > dd of=hd.img bs=1024 seek=3000000 count=0 > > The whole point of this exercise is to install SimplyMEPIS under Qemu > without having to partition my hard drive and without damaging my > existing install of WinXP. Is this what dd allows? Does Qemu support > this goal? > > Brett >