[Git-commits] [grml/grml-live] 9f9c7d: Provide setup files for EFI boot in netboot package
Michael Prokop
noreply at github.com
Sat Jul 18 02:12:35 CEST 2020
Branch: refs/heads/mika/efi
Home: https://github.com/grml/grml-live
Commit: 9f9c7d66af50b45ebe197854600298b97f7cb685
https://github.com/grml/grml-live/commit/9f9c7d66af50b45ebe197854600298b97f7cb685
Author: Michael Prokop <mika at grml.org>
Date: 2020-07-18 (Sat, 18 Jul 2020)
Changed paths:
M grml-live
A templates/boot/grub/netboot.cfg
Log Message:
-----------
Provide setup files for EFI boot in netboot package
The shim + grubnetx64 files need to be present on tftp,
using for example a dhcpd configuration which includes:
| # UEFI boot with DHCPv4
| option architecture-type code 93 = unsigned integer 16;
|
| subnet 10.42.42.0 netmask 255.255.255.0 {
| next-server 10.42.42.2;
| range 10.42.42.100 10.42.42.200;
|
| class "pxeclients" {
| match if substring (option vendor-class-identifier, 0 ,9) = "PXEClient";
| if option architecture-type = 00:07 {
| filename "shim.efi";
| } else {
| filename "pxelinux.0";
| }
| }
| }
... or a dnsmasq configuration which includes:
| domain-needed
| bogus-priv
| expand-hosts
| domain=foobar.example.org
| dhcp-range=10.42.42.100,10.42.42.200,6h
| dhcp-option=1,255.255.255.0 # subnet mask
| dhcp-option=3,10.42.42.1 # default gateway
| dhcp-option=6,10.42.42.2 # domain name server
| dhcp-option=28,10.42.42.255 # broadcast address
| dhcp-option=42,10.42.1.3 # timeserver preference
| dhcp-option=252,"\n" # proxy config
| dhcp-match=BIOS,option:client-arch,0
| dhcp-boot=tag:BIOS,pxelinux.0
| dhcp-match=UEFI,option:client-arch,7
| dhcp-match=UEFI,option:client-arch,9
| dhcp-boot=tag:UEFI,shim.efi
| dhcp-leasefile=/var/lib/misc/dnsmasq.leases
| dhcp-authoritative
Then EFI boot with GRUB via PXE is supposed to work fine in such an
environment, and pxelinux provides PXE boot for BIOS based systems.
This is related to the EFI boot support within grml-terminalserver.
This work was funded by Grml-Forensic.
More information about the Git-commits
mailing list