From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1CThLQ-00005S-Rt for qemu-devel@nongnu.org; Mon, 15 Nov 2004 08:56:36 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1CThLQ-00004v-9Y for qemu-devel@nongnu.org; Mon, 15 Nov 2004 08:56:36 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CThLQ-00004r-5I for qemu-devel@nongnu.org; Mon, 15 Nov 2004 08:56:36 -0500 Received: from [80.91.229.2] (helo=main.gmane.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1CThBq-0000MH-EX for qemu-devel@nongnu.org; Mon, 15 Nov 2004 08:46:42 -0500 Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1CThBp-0001n0-00 for ; Mon, 15 Nov 2004 14:46:41 +0100 Received: from 203.7.227.188 ([203.7.227.188]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 15 Nov 2004 14:46:41 +0100 Received: from wildfire by 203.7.227.188 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 15 Nov 2004 14:46:41 +0100 From: Anand Kumria Date: Tue, 16 Nov 2004 00:52:35 +1100 Message-ID: References: <5100168789854548368@unknownmsgid> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Sender: news Subject: [Qemu-devel] Re: Using Qemu to install Linux in a Windows XP 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 On Sun, 14 Nov 2004 16:41:42 -0500, Brett Bonfield wrote: > Also, would you consider making QEMUMenu.bat work with "dd for Win32" as > well as it works with Zitu's program. dd for Win32 is available here: > http://uranus.it.swin.edu.au/~jn/linux/rawwrite/dd.htm > > The advantage it has over mkqemuimage.exe is that it can make any size > images, at least so far as I can tell. The logic John Newbigin emailed > goes as follows: > > - - - > > "The requirement is to create a big empty file which can be presented as a > harddisk. Under linux I would do this like this: dd if=/dev/zero > of=myfile.img bs=1024k count=3000 This will give you 3000Meg. > > The file will be 'initialised' with \000s. It is possible to create a > sparse file which is 'hollow' and will be allocated when you write to it. > That can cause problems with some programs though so it is best to avoid > that unless you know it works. > > Windows does not share the philosophy which makes that kind of command > possible. > > Under windows, sparse files are not supported so we can use the dd tool in > a different way. If you write anything to a large offset (say 3Gig) then > all the space before that will be allocated. That isn't true. Under Windows, use the mksparse command. Not all filesystems have to support sparse files but NTFS (and perhaps ext2/ext3 one day under Windows?) does. Cheers, Anand -- linux.conf.au 2005 - http://lca2005.linux.org.au/ - Birthplace of Tux April 18th to 23rd - http://lca2005.linux.org.au/ - LINUX Canberra, Australia - http://lca2005.linux.org.au/ - Get bitten!