[Bug 1811496] Re: Make grub-ipxe work under UEFI

Steve Langasek steve.langasek at canonical.com
Mon Feb 4 23:58:55 UTC 2019


On Mon, Feb 04, 2019 at 09:51:11PM -0000, Alkis Georgopoulos wrote:
> We talked a lot about secure boot, so let me clarify that the initial
> issue, that my included patch addresses, is unrelated to secure boot.

> The current grub-ipxe package hangs the computer under UEFI (with secure
> boot disabled), as it does "linux16 ipxe.lkrn".

> With the patch, it will boot ipxe.efi fine.

> This change doesn't involve the grub2 source package at all; grub-ipxe
> comes from the ipxe source package.

Right, and I am not objecting to making this change to the ipxe packaging,
I'm simply pointing out the limitations (we have no plans to sign the
binary because it's redundant with our standard boot stack, so it won't work
on SecureBoot systems).

UEFI also has a built-in network stack and I've yet to encounter a UEFI
system with a network card that didn't have a UEFI driver, so I am doubtful
that ipxe even adds value here for the non-SB case.

-- 
You received this bug notification because you are a member of Ubuntu
Sponsors Team, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1811496

Title:
  Make grub-ipxe work under UEFI

Status in ipxe package in Ubuntu:
  New

Bug description:
  Please update /etc/grub.d/20_ipxe so that:
  1) It uses ipxe.efi under UEFI, so that it works under UEFI as well, and
  2) It loads /boot/boot.ipxe as an initrd if the user provided a custom ipxe script there.

  Snippets - to be ran from /boot/grub/grub.cfg, as it's possible to
  dynamically switch bios/uefi in firmware settings:

  if [ "$grub_platform" = "efi" ]; then
    chainloader /boot/ipxe.efi
  else
    linux16 /boot/ipxe.lkrn
    if [ -f /boot/boot.ipxe ]; then
      initrd16 /boot/boot.ipxe
    fi
  fi

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ipxe/+bug/1811496/+subscriptions



More information about the Ubuntu-sponsors mailing list