From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=45175 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OZTVV-0002Zm-9B for qemu-devel@nongnu.org; Thu, 15 Jul 2010 14:50:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OZTVU-0007kT-3O for qemu-devel@nongnu.org; Thu, 15 Jul 2010 14:50:05 -0400 Received: from mail-px0-f173.google.com ([209.85.212.173]:51859) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OZTVT-0007kJ-VR for qemu-devel@nongnu.org; Thu, 15 Jul 2010 14:50:04 -0400 Received: by pxi18 with SMTP id 18so567421pxi.4 for ; Thu, 15 Jul 2010 11:49:53 -0700 (PDT) Message-ID: <4C3F58DF.5020709@gmail.com> Date: Thu, 15 Jul 2010 12:52:15 -0600 From: David Ahern MIME-Version: 1.0 Subject: Re: [Qemu-devel] booting Netboot images created by mknbi References: <4C3F32AB.6070501@gmail.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , 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 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