* [Qemu-devel] booting Netboot images created by mknbi
@ 2010-07-15 16:09 David Ahern
2010-07-15 18:26 ` Stefan Hajnoczi
0 siblings, 1 reply; 4+ messages in thread
From: David Ahern @ 2010-07-15 16:09 UTC (permalink / raw)
To: qemu-devel
Is it possible to run qemu with a netboot image -- something created by
mknbi? If so any notes on how to do that?
David
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Qemu-devel] booting Netboot images created by mknbi
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
0 siblings, 1 reply; 4+ messages in thread
From: Stefan Hajnoczi @ 2010-07-15 18:26 UTC (permalink / raw)
To: David Ahern; +Cc: qemu-devel
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.
Stefan
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Qemu-devel] booting Netboot images created by mknbi
2010-07-15 18:26 ` Stefan Hajnoczi
@ 2010-07-15 18:52 ` David Ahern
2010-07-15 19:03 ` [Qemu-devel] " Jan Kiszka
0 siblings, 1 reply; 4+ messages in thread
From: David Ahern @ 2010-07-15 18:52 UTC (permalink / raw)
To: Stefan Hajnoczi; +Cc: qemu-devel
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Qemu-devel] Re: booting Netboot images created by mknbi
2010-07-15 18:52 ` David Ahern
@ 2010-07-15 19:03 ` Jan Kiszka
0 siblings, 0 replies; 4+ messages in thread
From: Jan Kiszka @ 2010-07-15 19:03 UTC (permalink / raw)
To: David Ahern; +Cc: Stefan Hajnoczi, qemu-devel
[-- 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 --]
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2010-07-15 19:03 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 ` [Qemu-devel] " Jan Kiszka
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).