Have a user asked me how to integrate netboot.xyz. In this article I will guide you to boot netboot.xyz from Grub2, Grub4dos and Syslinux of AIO Boot.

netboot.xyz

Please visit the netboot.xyz official homepage to read the documentation and download.

Boot netboot.xyz from Grub2, Grub4dos and Syslinux

netboot.xyz uses iPXE as bootloader, it supports both UEFI and Legacy BIOS mode. Download the netboot.xyz.lkrn file to use for the Legacy BIOS mode and the netboot.xyz.efi file for use with the UEFI mode. Once downloaded, copy the two files to the drive.

Grub2

Open the file /AIO/Menu/Main.cfg and add the following code:

### Start netboot.xyz
menuentry "[b] netboot.xyz" --hotkey=b {
	if [ "${grub_platform}" == "efi" ]; then
		chainloader /netboot.xyz.efi
	else
		linux16 /netboot.xyz.lkrn
	fi
}
### End netboot.xyz

Grub4dos

Open the file /AIO/Menu/Grub4dos.lst and add the following code:

title netboot.xyz
kernel /netboot.xyz.lkrn

Syslinux

Open the file /AIO/Menu/Syslinux.cfg and add the following code:

LABEL netboot.xyz
	KERNEL /netboot.xyz.lkrn

Leave a comment

Your email address will not be published. Required fields are marked *