From 93dc888a9af3aa54c736e9f07b1dea9505e6b130 Mon Sep 17 00:00:00 2001 From: D4VID Date: Sat, 21 Dec 2024 13:44:19 +0000 Subject: [PATCH] Update 'README.md' --- README.md | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 65d9b18..f4bd17c 100644 --- a/README.md +++ b/README.md @@ -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=,lo bind-interfaces dhcp-range=,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`