From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=33647 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OZTi5-0005kL-4e for qemu-devel@nongnu.org; Thu, 15 Jul 2010 15:03:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OZTi3-0001fG-UF for qemu-devel@nongnu.org; Thu, 15 Jul 2010 15:03:04 -0400 Received: from fmmailgate01.web.de ([217.72.192.221]:49907) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OZTi3-0001ee-Hn for qemu-devel@nongnu.org; Thu, 15 Jul 2010 15:03:03 -0400 Message-ID: <4C3F5B74.4000803@web.de> Date: Thu, 15 Jul 2010 21:03:16 +0200 From: Jan Kiszka MIME-Version: 1.0 References: <4C3F32AB.6070501@gmail.com> <4C3F58DF.5020709@gmail.com> In-Reply-To: <4C3F58DF.5020709@gmail.com> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig836DEC6451E70694F983C0B3" Sender: jan.kiszka@web.de Subject: [Qemu-devel] Re: booting Netboot images created by mknbi List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: David Ahern Cc: Stefan Hajnoczi , qemu-devel This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig836DEC6451E70694F983C0B3 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable David Ahern wrote: >=20 > 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 boot= loader. >=20 > 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. >=20 > 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: >=20 > label linux > kernel vmlimuz > append initrd=3Dinitrd.img >=20 > Should the same work for netboot images? If so, is it: >=20 > kernel image.nbi? >=20 -net user,bootfile=3Dyourimage,tftp=3D/path/ or set up your own (real) dhcp and tftp servers when using bridged networking. Jan --------------enig836DEC6451E70694F983C0B3 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org iEUEARECAAYFAkw/W3cACgkQitSsb3rl5xTkRgCYsEJibbx5dUhsPl61VeWEmPjG zgCfZ7ZbLSq5fRwDelKKPTvOVN+tyCY= =WB+k -----END PGP SIGNATURE----- --------------enig836DEC6451E70694F983C0B3--