PXE boot with efi works.

This commit is contained in:
deus 2026-07-31 13:55:44 +02:00 committed by deus
commit c677f4f4f2
2 changed files with 23 additions and 7 deletions

View file

@ -20,7 +20,7 @@ This repo is for resources related to automated installation of linux on devices
INITRD initrd.lz
APPEND boot=live live-config ip=dhcp fetch=http://192.168.0.1/lmde-7-cinnamon-64bit.iso live-media-path=/live
```
+ For EFI (not tested yet)
+ For EFI (tested succesfully with the Dell Latitude 5490 machines)
```
menuentry "LMDE 7 via HTTP ISO fetch" --class linuxmint {
set gfxpayload=keep
@ -30,8 +30,16 @@ This repo is for resources related to automated installation of linux on devices
```
- In dnsmasq config:
```
pxe-service=x86PC, "PXELINUX (BIOS)", "pxelinux.0"
pxe-service=X86-64_EFI,"PXE (UEFI)","grubx64.efi"
interface=<iface>,lo
domain=yourdomain.com
bind-interfaces
dhcp-range=<iface>,192.168.0.100,192.168.0.200
dhcp-match=set:efi-x86_64,option:client-arch,7
dhcp-boot=tag:efi-x86_64,grubx64.efi # this is very important, we do not want to boot `bootx64.efi`
enable-tftp
tftp-root=/srv/tftp
~
~
```
- These files must be in tftp root (may be incomplete for efi as it was not tested)
+ common to both legacy and efi (extract from the iso)
@ -48,3 +56,9 @@ pxe-service=X86-64_EFI,"PXE (UEFI)","grubx64.efi"
- grubx64.efi
- unicode.pf
# Customizing the install
Source of truth is [Debian wiki](https://www.debian.org/releases/trixie/amd64/apbs04.en.html)
## Installing specific list of packages
"If you want to install some individual packages in addition to packages installed by tasks, you can use the parameter pkgsel/include. The value of this parameter can be a list of packages separated by either commas or spaces, which allows it to be used easily on the kernel command line as well."

View file

@ -1,8 +1,10 @@
interface=enx9cbf0d007794
interface=enxa0cec8c167a7,lo
domain=yourdomain.com
dhcp-range=192.168.0.3,192.168.0.253,255.255.255.0,1h
pxe-service=x86PC, "PXELINUX (BIOS)", "pxelinux.0"
bind-interfaces
dhcp-range=enxa0cec8c167a7,192.168.0.100,192.168.0.200
#dhcp-boot=pxelinux.0,pxeserver,192.168.0.1
dhcp-match=set:efi-x86_64,option:client-arch,7
dhcp-boot=tag:efi-x86_64,bootx64.efi
#dhcp-boot=tag:efi-x86_64,bootx64.efi
dhcp-boot=tag:efi-x86_64,grubx64.efi
enable-tftp
tftp-root=/srv/tftp