Skip to content

Instantly share code, notes, and snippets.

@uchan-nos
Last active August 12, 2019 13:52
Show Gist options
  • Save uchan-nos/8bbed4e639e444f1f323d3bc027e189f to your computer and use it in GitHub Desktop.
Save uchan-nos/8bbed4e639e444f1f323d3bc027e189f to your computer and use it in GitHub Desktop.
sudo apt install zlib1g-dev libiberty-dev liblzma-dev
cd ipxe/src
make bin-x86_64-efi/ipxe.efi EMBED=../../ipxe_load.cfg
#!ipxe
#dhcp
ifopen net0
set net0/ip 192.168.0.20
set net0/netmask 255.255.255.0
set net0/gateway 192.168.0.1
prompt Initialization finished. Press any key to continue.
kernel http://192.168.0.116:8000/EFI/BOOT/BOOTX64.EFI
initrd http://192.168.0.116:8000/kernel.elf
boot
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment