qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Christopher Friedt <cfriedt@visible-assets.com>
To: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] disk images & driver geometry
Date: Fri, 31 Aug 2007 15:09:19 -0400	[thread overview]
Message-ID: <46D8675F.1050300@visible-assets.com> (raw)
In-Reply-To: <46BB7E37.7050609@codemonkey.ws>

Anthony Liguori wrote:
> I have no idea what you're talking about.  QEMU doesn't care whether you 
> use a physical disk or a file.  It handles geometry the same way.
> 
> Is there a concrete example that doesn't work that you think should?

Yes, a simple example is running CentOS after a typical install from a 
hard disk image.

If Qemu is started with the installation cdrom (-cdrom CentOS-1of4*.iso) 
the installation creates several partitions on the virtual disk, 
including /boot, and a logical disk containing /. The first 512 Bytes of 
the disk image are assumed to be the MBR of the disk, which is where the 
installation will write the boot loader.

After installation, qemu is started with

qemu -hda centos.img -boot c

and it hangs after saying 'booting from hard disk'

If anyone knows a way to work around this, please don't hesitate to 
offer a suggestion.

~/Chris

  reply	other threads:[~2007-08-31 18:59 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-08-09 20:42 [Qemu-devel] disk images & driver geometry Christopher Friedt
2007-08-09 20:51 ` Anthony Liguori
2007-08-31 19:09   ` Christopher Friedt [this message]
2007-08-31 19:07     ` Daniel P. Berrange
2007-08-31 19:18     ` Anthony Liguori
2007-08-09 20:52 ` Christopher Friedt

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=46D8675F.1050300@visible-assets.com \
    --to=cfriedt@visible-assets.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).