This is an old revision of the document!
====== Burning gPXE into ROM ====== {{ nic.jpeg?237x222|A network card}} For a permanent deployment of gPXE, you can burn it into your network card's ROM. This will replace any legacy PXE ROM code provided by your network card vendor. The gPXE ROM will show up as a boot device in the BIOS boot menu. Some BIOSes do not show specific devices, but you will still be able to boot from the gPXE ROM using the generic "Boot from LAN" setting. The gPXE ROM will become a permanent fixture of your network card; if you move the card to another machine then the gPXE ROM will be available in the new machine. Network card Original Equipment Manufacturers (OEMs) can burn gPXE into their cards at the point of manufacture. There are no licensing fees for providing cards containing gPXE ROMs, but please be aware that you must comply with gPXE's GPL [[licensing|license terms]]. ===== Determining the PCI ID ===== To build a ROM image for your network card, you need to know the PCI vendor and device IDs for your card. The BIOS may check the PCI IDs embedded within the ROM image against the PCI IDs of the card; if they do not match then some BIOSes will ignore the ROM. You can identify your card's PCI IDs using a tool such as //lspci//: [root@localhost]# lspci 00:00.0 Host bridge: Intel Corporation 82865G/PE/P DRAM Controller/Host-Hub Interface (rev 02) 00:01.0 PCI bridge: Intel Corporation 82865G/PE/P PCI to AGP Controller (rev 02) 00:1d.0 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #1 (rev 02) 00:1d.1 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #2 (rev 02) 00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev c2) 01:00.0 VGA compatible controller: ATI Technologies Inc Radeon RV100 QY [Radeon 7000/VE] 02:00.0 Ethernet controller: D-Link System Inc DGE-528T Gigabit Ethernet Adapter (rev 10) In this example, the network card is the last line of output: 02:00.0 Ethernet controller: D-Link System Inc DGE-528T Gigabit Ethernet Adapter (rev 10) To find the numerical IDs,