linux:boot-pres-internet
Obsah
Boot přes internet
BFO
deprecated
netboot.xyz
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
- 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.
linux/boot-pres-internet.txt · Poslední úprava: 2023/02/27 22:07 autor: nost23