Update 'README.md'

master
D4VID 9 months ago
parent 4457af2b76
commit 93dc888a9a

@ -8,17 +8,17 @@ TODO: create squashfs image from live system
`apt install dnsmasq`
`vim /etc/dnsmasq.conf`
`mkdir -p /srv/tftp`
`vim /etc/dnsmasq.conf`
```
interface=<your interface>,lo
bind-interfaces
dhcp-range=<your interface>,192.168.0.100,192.168.0.200
dhcp-boot=pxelinux.0
dhcp-match=set:efi-x86_64,option:client-arch,7
dhcp-boot=tag:efi-x86_64,bootx64.efi
dhcp-boot=tag:efi-x86_64,grubx64.efi
enable-tftp
tftp-root=/srv/tftp
```
@ -27,11 +27,7 @@ tftp-root=/srv/tftp
`cp /boot/vmlinuz /srv/tftp/vmlinuz`
`cp /boot/initrd.img /srv/tftp/initrd`
`apt download shim-signed`
`dpkg-deb --fsys-tarfile shim-signed*deb | tar x ./usr/lib/shim/shimx64.efi.signed.latest -O > /srv/tftp/bootx64.efi`
`cp /boot/initrd.img /srv/tftp/initrd.img`
`apt download grub-efi-amd64-signed`

Loading…
Cancel
Save