[ipxe-devel] Testing for sanboot feature on DHCP server

Oliver Rath oliver at greenunit.de
Wed Jun 12 18:46:03 UTC 2019


Hi Johannes!

I see 3 possibilities:

 1. You can chainload an ipxe variant, which supports. You can build an
    undionly.kpxe or (for uefi)  ipxe.efi image with the needed code.
    The ipxe code of virtualbox is made as much as possible to work like
    pxe, so the dhcp filename option (for tftp load) should work
 2. You could try to replace the ipxe code of virtual box, but there
    seems to be a size issue
 3. You can change to qemu (qemu-system-x86_64). Qemu has already an
    ipxe version on board, which supports http-boot.

Hth,

Oliver


Am 12.06.19 um 18:31 schrieb Johannes Thoma:
> Dear iPXE list,
>
> I am using VirtualBox in order to boot diskless clients via WinDRBD
> (www.github.com/LINBIT/WinDRBD). Virtual box has a built in iPXE
> variant which does not support sanboot. We need sanboot in order
> to boot and load Windows drivers until WinDRBD takes over. This
> is currently done via http and a small cgi script on the server that
> basically does a dd (disk dump) to stdout.
>
> Is there a way to test if a iPXE variant supports sanboot?: what I would
> like to do is something like (in /etc/dhcpd.conf):
>
> if exists ipxe.sanboot-feature {
> # sanboot enabled iPXE already running
>         filename "";
>         option root-path "http://192.168.56.102/cgi-bin/drbd.cgi";
> } else {
> # sanboot enabled iPXE not running yet, load it via boot command
>         filename "http://192.168.56.102/~johannes/ipxe/ipxework.pxe";
> }
>
> However all features I've tried are either disabled on both iPXE builds
> or enabled in both iPXE builds, thereby I can't distinguish between
> them.
>
> I am using isc-dhcp-server on Linux. The DHCP server that comes with
> VirtualBox is disabled.
>
> Thanks for any insights,
>
> Kind regards,
>
> - Johannes
>
> _______________________________________________
> ipxe-devel mailing list
> ipxe-devel at lists.ipxe.org
> https://lists.ipxe.org/mailman/listinfo.cgi/ipxe-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ipxe.org/pipermail/ipxe-devel/attachments/20190612/12a35ca4/attachment.htm>


More information about the ipxe-devel mailing list