Netboot.xyz

From Leo's Notes
Last edited on 30 December 2021, at 02:06.

Netboot.xyz (https://netboot.xyz/) takes advantage of the ability for iPXE to download from HTTP/HTTPS and allows for iPXE to network boot machines via the internet. To use netboot.xyz, simply chain http://boot.netboot.xyz in the iPXE console. Alternatively, you may download an iPXE rom with the the iPXE script built-in.

This project makes it very easy to boot into a wide range of Linux or BSD based distributions either as a live image or as an installers. It also comes with a good selection of utilities like memtest.

Customization[edit | edit source]

You may also create a custom netboot.xyz repository with customization.

Clone the netboot.xyz repo. Create a custom menu within the custom/custom.ipxe file. Adjust any settings in the user_settings.yml file

$ git clone https://github.com/netbootxyz/netboot.xyz
$ cd netboot.xyz

# Edit user_overrides.yml and custom/custom.ipxe

# Generate the iPXE menus and recompile iPXE roms
$ docker build -t localbuild -f Dockerfile-build . 
$ docker run --rm -it -v $(pwd):/buildout localbuild