[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] Re: booting Netboot images created by mknbi
From: |
Jan Kiszka |
Subject: |
[Qemu-devel] Re: booting Netboot images created by mknbi |
Date: |
Thu, 15 Jul 2010 21:03:16 +0200 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686 (x86_64); de; rv:1.8.1.12) Gecko/20080226 SUSE/2.0.0.12-1.1 Thunderbird/2.0.0.12 Mnenhy/0.7.5.666 |
David Ahern wrote:
>
> On 07/15/10 12:26, Stefan Hajnoczi wrote:
>> On Thu, Jul 15, 2010 at 5:09 PM, David Ahern <address@hidden> 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
signature.asc
Description: OpenPGP digital signature