qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Jan Kiszka <jan.kiszka@web.de>
To: David Ahern <dsahern@gmail.com>
Cc: Stefan Hajnoczi <stefanha@gmail.com>, qemu-devel <qemu-devel@nongnu.org>
Subject: [Qemu-devel] Re: booting Netboot images created by mknbi
Date: Thu, 15 Jul 2010 21:03:16 +0200	[thread overview]
Message-ID: <4C3F5B74.4000803@web.de> (raw)
In-Reply-To: <4C3F58DF.5020709@gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1050 bytes --]

David Ahern wrote:
> 
> 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?
> 

-net user,bootfile=yourimage,tftp=/path/

or set up your own (real) dhcp and tftp servers when using bridged
networking.

Jan


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 257 bytes --]

      reply	other threads:[~2010-07-15 19:03 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
2010-07-15 19:03     ` Jan Kiszka [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=4C3F5B74.4000803@web.de \
    --to=jan.kiszka@web.de \
    --cc=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).