Robin Smidsr?d <<a href="mailto:robin@smidsrod.no">robin@smidsrod.no</a>> wrote:<br>><br>>On 11.06.2012 19:40, Klaus Espenlaub wrote:<br>>> So if iPXE wants to replace both Etherboot (which is also broken in this<br>
>> respect) and Intel PXE in VirtualBox this apparently otherwise unused<br>>> feature will have to be resurrected. We're aware that this means kicking<br>>> out any feature which isn't vital, and that's not a concern since in the<br>
>> worst case the people who need a more feature rich iPXE build can<br>>> replace the ROM image, or use the simple one to bootstrap a build over<br>>> the network which has everything enabled.<br>><br>
>I was actually trying to replace the ROM image in VirtualBox (Windows 7<br>>x64 host), but I've not been successful with the paravirtualized or<br>>intel-emulated adapters. Only the AMD pcnet network adapter seems to<br>
>work with an iPXE ROM. That is kinda boring, since I want an emulated<br>>gigabit adapter, and not just 100Mbit.<br><br><div><br></div><div>I got iPXE to work with VBox's virtio driver.  Used a git fetch from 24 January, 2012; followed the instructions on iPXE's website; used a console.h file that has:<div>
<br></div><div>#undef CONSOLE_SERIAL</div><div><br></div><div>and a general.h file that has:</div><div><br></div><div>/* Virtualbox BIOS needs this for iPXE to work correctly */</div><div>#define NONPNP_HOOK_INT19</div><div>
<br></div><div>/* Not using PXE menus since they are limited to TFTP-only */</div><div>#undef PXE_MENU</div><div><br></div><div>/* Dump Fibre Channel and Inifiniband functionality */</div><div>#undef FCMGMT_CMD</div><div>
#undef NET_PROTO_FCOE</div><div>#undef SANBOOT_PROTO_FCP</div><div>#undef SANBOOT_PROTO_IB_SRB</div><div><br></div><div>/* No need for SAN boot functionality */</div><div>/* Virtualbox has its own iSCSI initiator */</div>
<div>#undef SANBOOT_PCBIOS</div><div>#undef SANBOOT_PROTO_ISCSI</div><div>#undef SANBOOT_PROTO_AOE</div><div><br></div><div>/* Unwanted download protocols */</div><div>#undef DOWNLOAD_PROTO_HTTPS</div><div><div>#undef DOWNLOAD_PROTO_FTP</div>
</div><div><div>#undef DOWNLOAD_PROTO_TFTM</div></div><div><div>#undef DOWNLOAD_PROTO_SLAM</div></div><div><br></div><div>/* Unwanted image type support */</div><div>#undef IMAGE_MULTIBOOT</div><div>#undef IMAGE_COMBOOT</div>
<div>#undef IMAGE_AOUT</div><div>#undef IMAGE_WINCE</div><div><br></div><div>and built for virtio-net.</div><div><br></div><div>Obviously I had to cut out quite a bit of stuff to get the ROM size down to where Virtualbox would load it....</div>
<div><br></div></div><div>Regards,</div>