Total Pageviews

Tuesday 31 May 2016

Create A Custom PXE.iso


Steps to create a bootable disk/iso that runs an iso from mirror.clarkson.edu (you may replace this url with one of your choice, but you are responsible for setting your mirror up appropriately).

Contents

 [hide

Initial setup

  • Create a new folder, called 'BURN'. This will contain our files and
eventually be turned into an iso.

Get the gPXE image

  • The easiest way to do this is to go to http://www.slitaz.org/en/get/.
  • Download the latest version of SliTaz.
  • Open the .iso file you downloaded with an archive manager and navigate to
/boot.
  • Copy 'gpxe' into your BURN folder.

Create our config file

  • Create a new file in BURN, called isolinux.cfg.
  • Enter the following into isolinux.cfg:
DEFAULT gpxe
PROMPT 0
TIMEOUT 20
LABEL gpxe
MENU LABEL Web Boot (gpxe)
KERNEL /gpxe

Add isolinux.bin

  • Run 'locate isolinux.bin'.
  • Copy isolinux.bin into your BURN folder.

Create the iso

  • Navigate to BURN.
  • Run the following
'genisoimage -o gPXEimage.iso -b isolinux.bin -no-emul-boot \ -boot-load-size 4 -boot-info-table -J ~/BURN/'
  • And you're done! Your iso is called gPXEimage.iso, in the BURN folder.