qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: "Jim C. Brown" <jma5@umd.edu>
To: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] harddrives and QEMU
Date: Fri, 7 Oct 2005 13:43:55 -0400	[thread overview]
Message-ID: <20051007174355.GA11705@jbrown.mylinuxbox.org> (raw)
In-Reply-To: <cd8ecdef0510060501h54822ecfh4f41751049a791a6@mail.gmail.com>

On Thu, Oct 06, 2005 at 08:01:31AM -0400, Karl Magdsick wrote:
> 
> I hope someone else will chime in, but my guess is that the problem
> lies in that an MS Windows "drive" is really a partition, not the entire
> drive. Under Windows you're specifying the equivalent of
> the Linux /dev/hda1 , /dev/hda2, /dev/hdb1, /dev/hdb5 and not
> actually /dev/hda or /dev/hdb.

Ah. If that's true, that would perfectly explain the errors.

> In order to pass the "D drive" to qemu, and actually give QEMU access
> to the entire raw HD, the "D drive" partition would have to fill the entire
> HD, and MS Windows would have to make the MBR available as part
> of the first (only, in this case) partition on the HD.
> 
> I'm not sure if MS Windows includes the MBR in the first drive on the disk.
> 

If it doesn't then there's no way to boot from the first drive. Although
I was under the impression that Windows did in fact provide support for that,
the scheme may not work for USB drives.

> Presumably, you'd like QEMU to make up a fake partition table/MBR
> to present to the guest OS so that the guest OS sees a self-consistent
> disk.
> 
> -Karl
> 

That will become a must if Windows provides no way to access the full hard
disk drive.

-- 
Infinite complexity begets infinite beauty.
Infinite precision begets infinite perfection.

  parent reply	other threads:[~2005-10-07 17:44 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-10-05 18:22 [Qemu-devel] harddrives and QEMU Brett (Mare) Henley
2005-10-05 21:34 ` Jim C. Brown
2005-10-05 23:15   ` Brett Henley
2005-10-06 12:01     ` Karl Magdsick
2005-10-06 12:50       ` Karl Magdsick
2005-10-06 15:14         ` Thomas Steffen
2005-10-06 16:58           ` Brett (Mare) Henley
2005-10-07 17:43       ` Jim C. Brown [this message]
2005-10-06 12:03     ` Jim C. Brown

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=20051007174355.GA11705@jbrown.mylinuxbox.org \
    --to=jma5@umd.edu \
    --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).