qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Anand Kumria <wildfire@progsoc.org>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] Re: Using Qemu to install Linux in a Windows XP
Date: Tue, 16 Nov 2004 00:52:35 +1100	[thread overview]
Message-ID: <pan.2004.11.15.13.52.31.423447@progsoc.org> (raw)
In-Reply-To: a107c05f04111413416dfc0f6c@mail.gmail.com

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.

<URL: http://www.insidewindows.info/mksparse.zip>

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!

  parent reply	other threads:[~2004-11-15 13:56 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <5100168789854548368@unknownmsgid>
2004-11-14 21:41 ` [Qemu-devel] Re: Using Qemu to install Linux in a Windows XP Brett Bonfield
2004-11-14 21:46   ` Fabrice Bellard
2004-11-14 15:45     ` [Qemu-devel] SDL compile error Shivkumar Shivaji
2004-11-15  0:20       ` Jim C. Brown
2004-11-15 15:40     ` [Qemu-devel] Re: Using Qemu to install Linux in a Windows XP Brett Bonfield
2004-11-15 16:34       ` Ronald
2004-11-15 21:46         ` Fabrice Bellard
2004-11-16  0:56           ` [Qemu-devel] " Ronald
2004-11-14 23:03   ` [Qemu-devel] " Ronald
2004-11-15 13:52   ` Anand Kumria [this message]
     [not found] <8065327220681899303@unknownmsgid>
2004-11-15 18:04 ` Brett Bonfield
2004-11-15 19:54   ` Ronald
2004-11-15 21:54   ` Fabrice Bellard
     [not found] <-2034955394811227980@unknownmsgid>
2004-11-14  2:57 ` Brett Bonfield
     [not found] <4854949625174207626@unknownmsgid>
2004-11-13  3:18 ` [Qemu-devel] " Brett Bonfield
2004-11-13 12:17   ` [Qemu-devel] " Ronald

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=pan.2004.11.15.13.52.31.423447@progsoc.org \
    --to=wildfire@progsoc.org \
    --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).