cloudatcost_netboot
· 247 B · Text
Bruto
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
| 1 | wget -c "https://boot.netboot.xyz/ipxe/netboot.xyz.lkrn" -O /boot/netboot.xyz.lkrn && \ |
| 2 | cat > /etc/grub.d/40_custom <<EOF |
| 3 | #!/bin/sh |
| 4 | exec tail -n +3 \$0 |
| 5 | menuentry 'netboot.xyz' { |
| 6 | set root='hd0,msdos1' |
| 7 | linux16 /netboot.xyz.lkrn |
| 8 | } |
| 9 | EOF |
| 10 | update-grub |