You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

44 lines
813 B

# Network booting
witout GRUB
`apt install dnsmasq`
```
interface=<your interface>,lo
bind-interfaces
dhcp-range=<your interface>,192.168.11.101,192.168.11.200
dhcp-boot=pxelinux.0
dhcp-match=set:efi-x86_64,option:client-arch,7
dhcp-boot=tag:efi-x86_64,syslinux.efi
enable-tftp
tftp-root=/srv/tftp
```
`mkdir -p /srv/tftp`
`apt install syslinux-common syslinux-efi`
`cd /usr/lib/syslinux/modules/efi64`
`cp ldlinux.e64 libutil.c32 menu.c32 /srv/tftp`
`cp /usr/lib/SYSLINUX.EFI/efi64/syslinux.efi /srv/tftp`
`mkdir /srv/tftp/pxelinux.cfg`
`/srv/tftp/pxelinux.cfg/default`
```
UI menu.c32
LABEL FIKS OS
MENU LABEL FIKS
KERNEL neni/vmlinuz
append initrd=neni/initrd.img
TEXT HELP
Lmao Yeet!
ENDTEXT
```
`systemctl restart dnsmasq.service`