Boot from USB
Backup your important data before writing the USB as it will overwrite anything on the USB key.
To boot netboot.xyz from a USB key, you will need to write the netboot.xyz image to the key. This enables you to boot into netboot.xyz on any machine that supports USB booting.
You can download the netboot.xyz.img
USB disk image here.
Creating USB Key on Linux
Insert a USB key in your computer and find the device name. Then use following command:
cat netboot.xyz.img > /dev/sdX
or you can run the following command:
dd if=netboot.xyz.img of=/dev/sdX
where sdX is your usb drive. The USB key should be ready to eject once finished.
Creating USB Key on MacOS
To get the current list of devices, run:
diskutil list
Insert the flash media and run once again to determine the device node assigned to your flash media (e.g. /dev/disk2):
diskutil list
Run the following, replacing N with the disk number from the last command (in the previous example, N would be 2):
diskutil unmountDisk /dev/diskN
Now write the disk image to the flash media by running:
sudo dd if=netboot.xyz.img of=/dev/rdiskN bs=1m
- Using /dev/rdisk instead of /dev/disk may be faster
- If you see the error dd: Invalid number '1m', you are using GNU dd. Use the same command but replace bs=1m with bs=1M
- If you see the error dd: /dev/diskN: Resource busy, make sure the disk is not in use. Start the 'Disk Utility.app' and unmount (don't eject) the drive
Now run and remove your flash media when the command completes:
diskutil eject /dev/diskN
Creating USB Key on Windows
For creating a USB Key on a Windows device, you can check out Rufus to install the image file to a USB key.
Booting from the USB Key
Once you've created your key, reboot and set your BIOS to load the USB key first if it's not set for that already. You should see iPXE load up either load up netboot.xyz automatically or you will be prompted to set your networking information up.