Skip to content

A simple script for building and updating the iPXE firmware on a TFTP server.

License

Notifications You must be signed in to change notification settings

tupakkatapa/bootstrap-ipxe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Bootstrap-iPXE

A simple script for building and updating the iPXE firmware on a TFTP server. This script automates the process of building undionly.kpxe, embedding a chainloader script, and uploading it to the TFTP server.

When building undionly.kpxe using this script, the following features are enabled: HTTPS, NFS, dynamic keyboard mapping, ping, display of network interface information, reboot, and power off capabilities.

To use this script, you will need to configure your DHCP server to hand out undionly.kpxe as the boot file.

Usage

  1. Install necessary dependencies.
# Debian/Ubuntu:
$ apt-get install -y git atftp gcc make liblzma-dev

# Fedora:
$ dnf install -y git tftp gcc make xz-devel

# Arch Linux:
$ pacman -S git atftp gcc make xz
  1. Clone repo and run the script:
$ git clone https://github.com/tupakkatapa/bootstrap-ipxe.git && cd bootstrap-ipxe 

$ chmod +x bootstrap-ipxe.sh

$ ./bootstrap-ipxe.sh
===================================
   Bootstrap-iPXE
===================================
1. Build undionly.kpxe
2. Create and embed iPXE script
3. Upload to TFTP server
4. Clean all files
q. Quit

Enter your choice:
  1. TiP: You can use dashes and commas in the menu. eg. 1-3,q

Links

https://ipxe.org/howto/chainloading

About

A simple script for building and updating the iPXE firmware on a TFTP server.

Topics

Resources

License

Stars

Watchers

Forks

Languages