[Git-commits] [grml/grml-live] 871fc9: Provide setup files for EFI boot in netboot package

Michael Prokop noreply at github.com
Sat Jul 18 22:13:06 CEST 2020


  Branch: refs/heads/master
  Home:   https://github.com/grml/grml-live
  Commit: 871fc96fc9b63665884b1e1429826d89a210200a
      https://github.com/grml/grml-live/commit/871fc96fc9b63665884b1e1429826d89a210200a
  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 available via 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

or quoting from  https://wiki.ubuntu.com/UEFI/SecureBoot/PXE-IPv6:

| dhcp-boot=pxelinux.0
| dhcp-match=set:efi-x86_64,option:client-arch,7
| dhcp-boot=tag:efi-x86_64,bootx64.efi

Then EFI boot via PXE with GRUB is supposed to work fine,
while pxelinux provides PXE boot for BIOS based systems.

This is related to the EFI boot support within grml-terminalserver,
see commit 3154dc (`Support UEFI PXE boot with DHCPv4`).

This work was funded by Grml-Forensic.


  Commit: f8148559b753eb685c043d197d0d6a194ea0b830
      https://github.com/grml/grml-live/commit/f8148559b753eb685c043d197d0d6a194ea0b830
  Author: Michael Prokop <mika at grml.org>
  Date:   2020-07-18 (Sat, 18 Jul 2020)

  Changed paths:
    M etc/grml/fai/config/package_config/GRML_FULL

  Log Message:
  -----------
  SW: add grub-efi-amd64-signed + shim-signed to GRML_FULL (AMD64 only)

This adds support for EFI PXE boot support via grml-terminalserver.

While they are part of the depends in grml-terminalserver, they aren't
strictly needed (alternative depends), so ensure we have those packages
available OOTB for EFI based PXE boot with grml-terminalserver.


  Commit: bf7faeaca4251c21c40bedaf02901e36f1582a2a
      https://github.com/grml/grml-live/commit/bf7faeaca4251c21c40bedaf02901e36f1582a2a
  Author: Michael Prokop <mika at grml.org>
  Date:   2020-07-18 (Sat, 18 Jul 2020)

  Changed paths:
    M etc/grml/fai/config/files/etc/network/interfaces/GRMLBASE

  Log Message:
  -----------
  /e/n/i: move sourcing of /etc/network/interfaces.d/ to begin of file

netcardconfig doesn't properly handle this section and it disappears
when configuring network devices then.

Rewriting netcardconfig is on our agenda (see
https://github.com/grml/grml-network/issues/11), until we get there
let's make sure the status quo works as good as possible.

Take over wording based on what ifupdown's postinst script uses.


  Commit: 9ec4da97b7e15427846f0a743b29851dd58c6329
      https://github.com/grml/grml-live/commit/9ec4da97b7e15427846f0a743b29851dd58c6329
  Author: Michael Prokop <mika at grml.org>
  Date:   2020-07-18 (Sat, 18 Jul 2020)

  Changed paths:
    M debian/changelog

  Log Message:
  -----------
  Release new version 0.37.0


Compare: https://github.com/grml/grml-live/compare/67df7006433d...9ec4da97b7e1


More information about the Git-commits mailing list