Path to custom LAN boot ROM
Posted: 30. Jun 2014, 22:23
I have been playing with iPXE to create a custom LAN boot ROM to allow me to do "creative" stuff in a network where running a PXE server is not possible.
Have a look at github - nielsbasjes - ipxe-boot-rom (Sorry, I cannot post the link)
Now I have two questions:
For some reason I have only been able to let the VM see my custom ROM image if I specify the full path to this ROM file.
I would like to store this ROM with the VM and then refer to it via a relative path.
When I do that I get an error like this in the log:
00:00:00.604989 DevPcBios: Failed to open LAN boot ROM file '8086100e.rom', rc=VERR_FILE_NOT_FOUND!
I found that a relative path does work when attaching an ISO file. The path is stored (and used) relative to the VM directory if the file is located there.
How do I do this for a LAN boot ROM?
When my VM is finished I want to be able to distribute the VM with the ROM and the correct setting to other people.
I have been looking at exporting it as an OVA.
When I do that I see that the .ovf file (inside the OVA) contains the setting I put in
<ExtraDataItem name="VBoxInternal/Devices/pcbios/0/Config/LanBootRom" value="8086100e.rom"/>
However the ROM file itself is not inside the OVA.
How do I package additional files into an OVA export?
Have a look at github - nielsbasjes - ipxe-boot-rom (Sorry, I cannot post the link)
Now I have two questions:
For some reason I have only been able to let the VM see my custom ROM image if I specify the full path to this ROM file.
I would like to store this ROM with the VM and then refer to it via a relative path.
When I do that I get an error like this in the log:
00:00:00.604989 DevPcBios: Failed to open LAN boot ROM file '8086100e.rom', rc=VERR_FILE_NOT_FOUND!
I found that a relative path does work when attaching an ISO file. The path is stored (and used) relative to the VM directory if the file is located there.
How do I do this for a LAN boot ROM?
When my VM is finished I want to be able to distribute the VM with the ROM and the correct setting to other people.
I have been looking at exporting it as an OVA.
When I do that I see that the .ovf file (inside the OVA) contains the setting I put in
<ExtraDataItem name="VBoxInternal/Devices/pcbios/0/Config/LanBootRom" value="8086100e.rom"/>
However the ROM file itself is not inside the OVA.
How do I package additional files into an OVA export?