[Git-commits] [grml/grml-live] fdba3b: Support UEFI 32bit boot on amd64

Michael Prokop noreply at github.com
Thu Dec 19 02:08:18 CET 2024


  Branch: refs/heads/master
  Home:   https://github.com/grml/grml-live
  Commit: fdba3b2ad63efa970e084278ebee833fd6c4a3b8
      https://github.com/grml/grml-live/commit/fdba3b2ad63efa970e084278ebee833fd6c4a3b8
  Author: Michael Prokop <mika at grml.org>
  Date:   2024-12-19 (Thu, 19 Dec 2024)

  Changed paths:
    M etc/grml/fai/config/package_config/DEBIAN_TESTING
    M etc/grml/fai/config/package_config/DEBIAN_TRIXIE
    M etc/grml/fai/config/package_config/DEBIAN_UNSTABLE
    M etc/grml/fai/config/scripts/GRMLBASE/45-grub-images
    M grml-live

  Log Message:
  -----------
  Support UEFI 32bit boot on amd64

We dropped support for i386, though there are 32bit EFI systems with
64bit CPUs out in the wild, so let's support UEFI 32bit boot on amd64.

Verified with /usr/share/OVMF/OVMF32_CODE_4M.fd from ovmf-ia32 (v2024.11-2)
and qemu, running:

  % qemu-system-amd64 -m 2048 -M pc -cdrom /path/to/grml_isos/grml_0.42iso -drive if=pflash,format=raw,unit=0,file.filename=/usr/share/OVMF/OVMF32_CODE_4M.fd,file.locking=off,readonly=on

Launch boot UEFI interactive shell there and verified that this works:

  fs0:
  cd efi/boot
  bootia32.efi

This shows the Grml boot menu as expected, whereas executing bootx64.efi
fails (as we're running within a 32bit EFI environment), also as
expected.

NOTE: We already ship the grub-efi-ia32-bin package on AMD64 already for
support within /etc/grml/fai/config/scripts/GRMLBASE/45-grub-images.
But for netboot package we need the grubnetia32.efi for usage as
grubia32.efi. Though the file
/usr/lib/grub/i386-efi-signed/grubnetia32.efi.signed is shipped only via
the grub-efi-ia32-signed package, which is available only on i386.
Therefore we need to use the file
/usr/lib/grub/i386-efi/monolithic/grubnetia32.efi from
grub-efi-ia32-unsigned instead, which is available only as of
Debian/trixie and newer. But let's still provide the code path in
netboot creation, as someone might handle this within a custom script on
their own.

See https://github.com/grml/grml/issues/211


  Commit: 8520a7227173be16f795b448c3705d0696bb784c
      https://github.com/grml/grml-live/commit/8520a7227173be16f795b448c3705d0696bb784c
  Author: Michael Prokop <115592+mika at users.noreply.github.com>
  Date:   2024-12-19 (Thu, 19 Dec 2024)

  Changed paths:
    M etc/grml/fai/config/package_config/DEBIAN_TESTING
    M etc/grml/fai/config/package_config/DEBIAN_TRIXIE
    M etc/grml/fai/config/package_config/DEBIAN_UNSTABLE
    M etc/grml/fai/config/scripts/GRMLBASE/45-grub-images
    M grml-live

  Log Message:
  -----------
  Merge pull request #227 from grml/mika/ia32

Support UEFI 32bit boot on amd64


Compare: https://github.com/grml/grml-live/compare/6486c8438f1b...8520a7227173

To unsubscribe from these emails, change your notification settings at https://github.com/grml/grml-live/settings/notifications


More information about the Git-commits mailing list