Last active
October 28, 2022 16:55
-
-
Save waja/d1fe88c370f6200c538cfebcfb9233dd to your computer and use it in GitHub Desktop.
Add netboot.xyz PXE netboot bootoption to grub (https://archive.is/o/VPgg3/https://cloudatcocks.com/index.php?title=Custom_OS)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
wget -c "https://boot.netboot.xyz/ipxe/netboot.xyz.lkrn" -O /boot/netboot.xyz.lkrn && \ | |
cat > /etc/grub.d/40_custom <<EOF | |
#!/bin/sh | |
exec tail -n +3 \$0 | |
menuentry 'netboot.xyz' { | |
set root='hd0,msdos1' | |
linux16 /netboot.xyz.lkrn | |
} | |
EOF | |
update-grub |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
btw you may find this interesting: https://www.reddit.com/r/CloudAtCost/comments/9d62o6/how_to_install_a_clean_ubuntu_1804_without_buying/