deprecated
jako root
# cd /boot # wget https://boot.netboot.xyz/ipxe/netboot.xyz.lkrn # wget https://boot.netboot.xyz/ipxe/netboot.xyz.efi # chown root:root netboot.xyz.* # chmod 0755 netboot.xyz.*
Parametr u příkazu search musí ukazovat na UUID aktuálního oddílu /boot. Ten zjistíme pomocí příkazů:
$ lsblk $ blkid /dev/<oddil>
a poté upravíme /etc/grub.d/40_custom
#!/usr/bin/sh
exec tail -n +3 $0
# This file provides an easy way to add custom menu entries. Simply type the
# menu entries you want to add after this comment. Be careful not to change
# the 'exec tail' line above.
# netboot.xyz
menuentry 'netboot.xyz' $menuentry_id_option 'netboot-xyz' {
search --no-floppy --fs-uuid --set=root <GUID /boot oddilu>
if [ "${grub_platform}" == "efi" ]; then
chainloader /netboot.xyz.efi
else
linux16 /netboot.xyz.lkrn
fi
}
a updatneme Grub 2 konfiguraci.