From: "Daniel P. Berrange" <berrange@redhat.com>
To: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] disk images & driver geometry
Date: Fri, 31 Aug 2007 20:07:04 +0100 [thread overview]
Message-ID: <20070831190704.GC7881@redhat.com> (raw)
In-Reply-To: <46D8675F.1050300@visible-assets.com>
On Fri, Aug 31, 2007 at 03:09:19PM -0400, Christopher Friedt wrote:
> 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
That scenario works just fine for me when I try it with either RHEL-5
or Fedora Core 6 / 7. QEMU reads the MBR from the disk I pass with -hda,
whether that's backed by a physical device, or a file backed disk & will
succesfully boot the OS. I just followed the recommended partitioning
scheme that RHEL-5 installer suggests making no changes.
Dan.
--
|=- Red Hat, Engineering, Emerging Technologies, Boston. +1 978 392 2496 -=|
|=- Perl modules: http://search.cpan.org/~danberr/ -=|
|=- Projects: http://freshmeat.net/~danielpb/ -=|
|=- GnuPG: 7D3B9505 F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 -=|
next prev parent reply other threads:[~2007-08-31 19:07 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
2007-08-31 19:07 ` Daniel P. Berrange [this message]
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=20070831190704.GC7881@redhat.com \
--to=berrange@redhat.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.