All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Richard W.M. Jones" <rjones@redhat.com>
To: Peter Lieven <pl@kamp.de>
Cc: "qemu-devel@nongnu.org" <qemu-devel@nongnu.org>
Subject: Re: [Qemu-devel] Qemu Booting a PC without an MBR?
Date: Mon, 2 Sep 2013 14:00:29 +0100	[thread overview]
Message-ID: <20130902130029.GC18409@redhat.com> (raw)
In-Reply-To: <52203B8D.5030507@kamp.de>

Actually assuming it's a Linux guest, a third option would be:

(3) Use an external kernel + initrd:

guestfish -a disk.img -i
><fs> download /boot/vmlinuz-... /tmp/kernel
><fs> download /boot/initrd-... /tmp/initrd

qemu -kernel /tmp/kernel -initrd /tmp/initrd -hda disk.img ...

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
virt-p2v converts physical machines to virtual machines.  Boot with a
live CD or over the network (PXE) and turn machines into KVM guests.
http://libguestfs.org/virt-v2v

      parent reply	other threads:[~2013-09-02 13:00 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-08-30  6:28 [Qemu-devel] Qemu Booting a PC without an MBR? Peter Lieven
2013-08-30  6:37 ` Paolo Bonzini
2013-08-30  6:43   ` Peter Lieven
2013-08-30 11:01     ` Fam Zheng
2013-09-02 12:59 ` Richard W.M. Jones
2013-09-02 13:00 ` Richard W.M. Jones [this message]

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=20130902130029.GC18409@redhat.com \
    --to=rjones@redhat.com \
    --cc=pl@kamp.de \
    --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.