Skip to content

Instantly share code, notes, and snippets.

@AndersonIncorp
Created June 27, 2018 21:48
Show Gist options
  • Save AndersonIncorp/9fb7402cf69a0994e175ebec8194847c to your computer and use it in GitHub Desktop.
Save AndersonIncorp/9fb7402cf69a0994e175ebec8194847c to your computer and use it in GitHub Desktop.
Install netboot.xyz.lkrn into grub

Install netboot.xyz.lkrn into grub

wget https://boot.netboot.xyz/ipxe/netboot.xyz.lkrn -O /boot/netboot.xyz.lkrn
nano /etc/grub.d/40_custom
#/etc/grub.d/40_custom
menuentry "netboot.xyz.lkrn" {
    linux16 (hd0,msdos1)/netboot.xyz.lkrn # /boot is (hd0,msdos1) drive
}
#
# One of
grub2-mkconfig -o /boot/grub2/grub.cfg
grub-mkconfig -o /boot/grub/grub.cfg
reboot

Network configuration example

Set network interface nummber: 0
IP:203.0.113.2
Subnet mask:255.255.255.0
Gateway:203.0.113.1
DNS:8.8.8.8
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment