PXE boot with efi works.
This commit is contained in:
parent
ea80a8f545
commit
c677f4f4f2
2 changed files with 23 additions and 7 deletions
20
README.md
20
README.md
|
|
@ -20,7 +20,7 @@ This repo is for resources related to automated installation of linux on devices
|
||||||
INITRD initrd.lz
|
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
|
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 {
|
menuentry "LMDE 7 via HTTP ISO fetch" --class linuxmint {
|
||||||
set gfxpayload=keep
|
set gfxpayload=keep
|
||||||
|
|
@ -30,8 +30,16 @@ This repo is for resources related to automated installation of linux on devices
|
||||||
```
|
```
|
||||||
- In dnsmasq config:
|
- In dnsmasq config:
|
||||||
```
|
```
|
||||||
pxe-service=x86PC, "PXELINUX (BIOS)", "pxelinux.0"
|
interface=<iface>,lo
|
||||||
pxe-service=X86-64_EFI,"PXE (UEFI)","grubx64.efi"
|
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)
|
- 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)
|
+ 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
|
- grubx64.efi
|
||||||
- unicode.pf
|
- 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."
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,8 +1,10 @@
|
||||||
interface=enx9cbf0d007794
|
interface=enxa0cec8c167a7,lo
|
||||||
domain=yourdomain.com
|
domain=yourdomain.com
|
||||||
dhcp-range=192.168.0.3,192.168.0.253,255.255.255.0,1h
|
bind-interfaces
|
||||||
pxe-service=x86PC, "PXELINUX (BIOS)", "pxelinux.0"
|
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-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
|
enable-tftp
|
||||||
tftp-root=/srv/tftp
|
tftp-root=/srv/tftp
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue