From: David Ahern <dsahern@gmail.com>
To: Stefan Hajnoczi <stefanha@gmail.com>
Cc: qemu-devel <qemu-devel@nongnu.org>
Subject: Re: [Qemu-devel] booting Netboot images created by mknbi
Date: Thu, 15 Jul 2010 12:52:15 -0600 [thread overview]
Message-ID: <4C3F58DF.5020709@gmail.com> (raw)
In-Reply-To: <AANLkTilpPkuWseM0rFBSmniilTM0kUkrO4B5Ff2IuiRP@mail.gmail.com>
On 07/15/10 12:26, Stefan Hajnoczi wrote:
> On Thu, Jul 15, 2010 at 5:09 PM, David Ahern <dsahern@gmail.com> wrote:
>> Is it possible to run qemu with a netboot image -- something created by
>> mknbi? If so any notes on how to do that?
>
> Yes, QEMU ships with a gPXE network boot ROM. Previously it shipped
> with a legacy Etherboot boot ROM.
>
> You can use the -boot n command-line option to enable the network bootloader.
I've tried that without success. DHCP is configured, and it gets an IP
address just fine. From there it's not clear what to do.
For pxe boot I tell it to load pxelinux.0. After that it retrieves the
mac addr file. For pxe boots the mac addr file is something like:
label linux
kernel vmlimuz
append initrd=initrd.img
Should the same work for netboot images? If so, is it:
kernel image.nbi?
David
>
> Stefan
next prev parent reply other threads:[~2010-07-15 18:50 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-07-15 16:09 [Qemu-devel] booting Netboot images created by mknbi David Ahern
2010-07-15 18:26 ` Stefan Hajnoczi
2010-07-15 18:52 ` David Ahern [this message]
2010-07-15 19:03 ` [Qemu-devel] " Jan Kiszka
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=4C3F58DF.5020709@gmail.com \
--to=dsahern@gmail.com \
--cc=qemu-devel@nongnu.org \
--cc=stefanha@gmail.com \
/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).