booting Netboot images created by mknbi
Is it possible to run qemu with a netboot image -- something created by mknbi? If so any notes on how to do that?
David
Quoted 2 lines · David Ahern
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
Quoted 8 lines · Stefan Hajnoczi
Quoted 2 lines · David Ahern
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
Quoted 2 lines
Stefan
Quoted 16 lines · David Ahern
Quoted 7 lines · Stefan Hajnoczi
Quoted 2 lines · David Ahern
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:
Quoted 8 lines
label linux
kernel vmlimuz
append initrd=initrd.imgShould 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