David Ahern wrote: > > On 07/15/10 12:26, Stefan Hajnoczi wrote: >> On Thu, Jul 15, 2010 at 5:09 PM, David Ahern <dsah...@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
signature.asc
Description: OpenPGP digital signature