From: Brett Bonfield <pacella@gmail.com>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] Re: Using Qemu to install Linux in a Windows XP
Date: Sun, 14 Nov 2004 16:41:42 -0500 [thread overview]
Message-ID: <a107c05f04111413416dfc0f6c@mail.gmail.com> (raw)
In-Reply-To: <5100168789854548368@unknownmsgid>
> Date: Sat, 13 Nov 2004 15:13:55 -0500
> From: Garth Dahlstrom <ironstorm@gmail.com >
> Subject: Re: [Qemu-devel] Using Qemu to install Linux in a Windows XP
> To: qemu-devel@nongnu.org
> Message-ID: <76bfb9d204111312131fc5c31e@mail.gmail.com >
> Content-Type: text/plain; charset=US-ASCII
>
> > Brett Bonfield wrote:
> > With QemuInstall-20041111 I get:
> >
> > qemu: could not load PC bios './bios.bin'
>
> If the windows QEMU doesn't run that is undoubtly my bad, as I'm wrote
> the menu for it...
>
> It seems after some investigation that there were a number of bugs...
>
> I just made a new version (v20041113) of QEMUMenu available at my site
> http://stacktrace.org/
How will we know when the new version has been incorporated into
QemuInstall-2004xxxx.exe?
> Fixed:
> * -L parameter had a trailing slash, which caused QEMU to fail silently
> * -L parameter was not quoted meaning default location in \Program
> files\ would not be passed as a single parameter, so QEMU would fail
> * Preferences were not being retrieved correctly because working
> directory was being changed .bat file location after preferences were
> retrieved but before they were saved
>
> Enhancements:
> * Added search for *.dat as additional image files so QEMUMenu
> picks up Zitu's make-a-file program images
>
> Drop it into C:\Program Files\Qemu (or where ever you installed to)
>
> Let me know if that fixes everything up...
I ask the above just because I figure someone else may have beaten me to it :^)
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.
Pick a file which you can read and is larger than 1024 bytes and try
this command:
dd if=filethatalreadyexists of=newfile.img bs=1k seek=3071999 count=1
here seek is the offset into the newfile to start the writing. The
number I am using = 1024 * 3000 - 1 which will give you 3000Meg again."
- - -
Thanks,
Brett
next parent reply other threads:[~2004-11-14 21:51 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <5100168789854548368@unknownmsgid>
2004-11-14 21:41 ` Brett Bonfield [this message]
2004-11-14 21:46 ` [Qemu-devel] Re: Using Qemu to install Linux in a Windows XP 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
[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=a107c05f04111413416dfc0f6c@mail.gmail.com \
--to=pacella@gmail.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).