\EFI\BOOT\BOOTX64.EFI unable to find GRUBX64.EFI

Bug #1867387 reported by Lee Trager
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
shim-signed (Ubuntu)
New
Undecided
Unassigned

Bug Description

Machines managed by MAAS are configured to always netboot. When an operating system is deployed MAAS chainloads the local boot loader[1]. As per the 3.5.1.1 of UEFI spec[2] \EFI\BOOT\BOOTX64.EFI is attempted first. \EFI\BOOT\BOOTX64.EFI fails to find GRUBX64.efi as it is located in \EFI\UBUNTU(see screenshot).

[1] https://git.launchpad.net/maas/tree/src/provisioningserver/templates/uefi/config.local.amd64.template
[2] https://uefi.org/sites/default/files/resources/UEFI_Spec_2_8_A_Feb14.pdf

Revision history for this message
Lee Trager (ltrager) wrote :
Revision history for this message
Steve Langasek (vorlon) wrote :

\efi\boot\bootx64.efi is not *supposed* to find \efi\ubuntu\grubx64.efi, it is supposed to find either \efi\boot\grubx64.efi, or \efi\boot\fbx64.efi + \efi\*\BOOTX64.CSV. Please show the full contents of the EFI partition where this is happening.

Changed in shim-signed (Ubuntu):
status: New → Incomplete
Revision history for this message
Lee Trager (ltrager) wrote :

\EFI\BOOT\BOOTX64.EFI is always installed on an Ubuntu system be it MAAS or ISO.

Focal install via ISO from December 2019
# tree /boot/efi/
/boot/efi/
└── EFI
    ├── BOOT
    │   ├── BOOTX64.EFI
    │   ├── fbx64.efi
    │   └── mmx64.efi
    └── ubuntu
        ├── BOOTX64.CSV
        ├── grub.cfg
        ├── grubx64.efi
        ├── mmx64.efi
        └── shimx64.efi

3 directories, 8 files

Bionic install via MAAS today
# tree /boot/efi/
/boot/efi/
└── EFI
    ├── BOOT
    │   ├── BOOTX64.EFI
    │   └── fbx64.efi
    └── ubuntu
        ├── BOOTX64.CSV
        ├── grub.cfg
        ├── grubx64.efi
        ├── mmx64.efi
        └── shimx64.efi

3 directories, 7 files

Changed in shim-signed (Ubuntu):
status: Incomplete → New
Revision history for this message
Steve Langasek (vorlon) wrote :

Thanks. Can you please attach /boot/efi/EFI/ubuntu/BOOTX64.CSV from the maas-installed bionic system?

Revision history for this message
Lee Trager (ltrager) wrote :

On both the ISO install and MAAS install /boot/efi/EFI/ubuntu/BOOTX64.CSV contains

shimx64.efi,ubuntu,,This is the boot entry for ubuntu

Revision history for this message
Julian Andres Klode (juliank) wrote :

Please see if it works in focal

Changed in shim-signed (Ubuntu):
status: New → Incomplete
Revision history for this message
Julian Andres Klode (juliank) wrote :

As in, try installing the shim-signed from focal on the maas-installed bionic

Revision history for this message
Lee Trager (ltrager) wrote :

shim-signed from Focal does not fix the issue.

Changed in shim-signed (Ubuntu):
status: Incomplete → New
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.