Change TFTP to HTTP or HTTPS for PXE Boot

If a device PXE ROM does not support TFTP you can enable http or https as an alternative.

Certain devices have an issue with PXE if the PXE ROM doesn't support TFTP download for the image and you would need to switch to http instead. The following changes will switch the PXE boot process protocol from TFTP to HTTP or HTTPS.  (Note: HTTPS requires certificates to be used)

 

STEPS TO CHANGE TFTP TO HTTP or HTTPS

  • Log in via SSH
  • Create folder:  mkdir -p /var/www/pxe
  • Copy image:  sudo cp -a /opt/tftpboot/3.4.18-EEs-k515-x64-220603 /var/www/pxe/
  • Edit /opt/tftpboot/pxelinux.cfg/default  (NOTE: there is a paragraph in it and label can differ)

 label 3.4.18-EEs-k515-x64-220603-install
 kernel 3.4.18-EEs-k515-x64-220603/bzImage
 append root=/dev/ram0 initrd=3.4.18-EEs-k515-x64-220603/genesis.img ide=nodma noapic               noisapnp TFTPDSERVER=boot-server
 iappending 1

(NOTE: please preface image location with "http:// or https:// boot-server/pxe/" with the VA IP . The VA being the PXE server)

label 3.4.18-EEs-k515-x64-220603-install
kernel http://[VA-IP]/pxe/3.4.18-EEs-k515-x64-220603/bzImage
append root=/dev/ram0 initrd=http://[VA-IP]/pxe/3.4.18-EEs-k515-x64-220603/genesis.img ide=nodma noisapnp TFTPDSERVER=boot-server
iappending 1

 

(Note: if you VA is rebooted, you may have to reapply the settings in this article)