[Bug 1862279] Re: arm64 Secure Boot fails w/ "error: cannot load image."

2020-11-03 Thread Dimitri John Ledkov
grub2-signed (1.142.8) focal; urgency=medium * Rebuild against grub2 2.04-1ubuntu26.6. -- Dimitri John Ledkov Thu, 01 Oct 2020 23:30:47 +0800 Has been in focal-updates since 2020-10-26. ** Changed in: grub2-signed (Ubuntu Focal) Status: Fix Committed => Fix Released -- You receive

[Bug 1862279] Re: arm64 Secure Boot fails w/ "error: cannot load image."

2020-10-26 Thread Launchpad Bug Tracker
This bug was fixed in the package grub2 - 2.04-1ubuntu26.6 --- grub2 (2.04-1ubuntu26.6) focal; urgency=medium * postinst.in, grub-multi-install: fix logic of skipping installing onto any device, if one chose to not install bootloader on any device. LP: #1896608 * Do not fi

[Bug 1862279] Re: arm64 Secure Boot fails w/ "error: cannot load image."

2020-10-22 Thread Dimitri John Ledkov
setup the VM and enrolled keys. Checked that grub live-server iso arm64 boots; and focal 20.04.1 does not. Disabled secureboot, installed focal; upgraded to grub2 packages from proposed i.e. 2.04-1ubuntu26.6 & 1.142.8+2.04-1ubuntu26.6. rebooted, enabled secureboot. horay system boots correctly

[Bug 1862279] Re: arm64 Secure Boot fails w/ "error: cannot load image."

2020-10-14 Thread Matthieu Clemenceau
** Tags added: fr-23 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1862279 Title: arm64 Secure Boot fails w/ "error: cannot load image." To manage notifications about this bug go to: https://bugs.l

[Bug 1862279] Re: arm64 Secure Boot fails w/ "error: cannot load image."

2020-10-06 Thread Brian Murray
Hello dann, or anyone else affected, Accepted grub2 into focal-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/grub2/2.04-1ubuntu26.6 in a few hours, and then in the -proposed repository. Please help us by testing this new package. See https://wiki.u

[Bug 1862279] Re: arm64 Secure Boot fails w/ "error: cannot load image."

2020-10-06 Thread Dimitri John Ledkov
** Changed in: grub2 (Ubuntu Focal) Status: Won't Fix => Triaged -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1862279 Title: arm64 Secure Boot fails w/ "error: cannot load image." To manage

[Bug 1862279] Re: arm64 Secure Boot fails w/ "error: cannot load image."

2020-09-29 Thread dann frazier
Marking verification-failed due to bug 1897819 ** Tags removed: verification-done verification-done-focal ** Tags added: verification-failed verification-failed-focal -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launch

[Bug 1862279] Re: arm64 Secure Boot fails w/ "error: cannot load image."

2020-09-22 Thread Julian Andres Klode
Finally ... 4a) Verify that it's broken after rollback of grub: ``` $ sudo eatmydata apt install ~i~ngrub/focal -V [...] The following packages will be DOWNGRADED: grub-common (2.04-1ubuntu26.5 => 2.04-1ubuntu26.4) grub-efi-arm64 (2.04-1ubuntu26.5 => 2.04-1ubuntu26.4) grub-efi-arm64-bin

[Bug 1862279] Re: arm64 Secure Boot fails w/ "error: cannot load image."

2020-09-22 Thread Julian Andres Klode
WIP, current state: $ sudo dpkg -l grub-efi-arm64-signed shim-signed [...] ii grub-efi-arm64-signed 1.142.7+2.04-1ubuntu26.5 arm64 [...] ii shim-signed 1.40.4+15+1552672080.a4a1fbe-0ubuntu2 arm64 [...] ubuntu@instance-1:~$ sudo mokutil --sb-state SecureBoot enabled ubuntu@

[Bug 1862279] Re: arm64 Secure Boot fails w/ "error: cannot load image."

2020-09-22 Thread Ɓukasz Zemczak
Hello dann, or anyone else affected, Accepted grub2 into focal-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/grub2/2.04-1ubuntu26.5 in a few hours, and then in the -proposed repository. Please help us by testing this new package. See https://wiki.u

[Bug 1862279] Re: arm64 Secure Boot fails w/ "error: cannot load image."

2020-09-20 Thread Launchpad Bug Tracker
This bug was fixed in the package grub2 - 2.04-1ubuntu34 --- grub2 (2.04-1ubuntu34) groovy; urgency=medium * configure.ac: one more dejavu font search path -- Dimitri John Ledkov Mon, 14 Sep 2020 10:53:07 +0100 ** Changed in: grub2 (Ubuntu Groovy) Status: Fix Committed =

[Bug 1862279] Re: arm64 Secure Boot fails w/ "error: cannot load image."

2020-09-16 Thread Julian Andres Klode
** Changed in: grub2-signed (Ubuntu Focal) Status: Triaged => In Progress ** Changed in: grub2 (Ubuntu Focal) Status: Triaged => In Progress -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs

[Bug 1862279] Re: arm64 Secure Boot fails w/ "error: cannot load image."

2020-09-11 Thread Julian Andres Klode
** Description changed: [Impact] Kernels are not loaded on arm64 since grub2 2.04 rebase [Test case] 1. Boot qemu qemu-system-aarch64 -m 1024 -cpu cortex-a53 -M virt -pflash ~/AAVMF_CODE.fd -pflash ~/AAVMF_VARS.fd -drive if=none,file=/home/jak/Downloads/focal-server-cloudimg

[Bug 1862279] Re: arm64 Secure Boot fails w/ "error: cannot load image."

2020-09-11 Thread Julian Andres Klode
** Description changed: - I tested out the new shim-signed (1.41+15+1552672080.a4a1fbe-0ubuntu1) - on arm64 today. Unfortunately, I was unable to boot a kernel. I tried - manually running commands in the GRUB shell to try and get more info, - and here's the error I get: + [Impact] + Kernels are no

[Bug 1862279] Re: arm64 Secure Boot fails w/ "error: cannot load image."

2020-08-28 Thread Alfonso Sanchez-Beato
After working on LP: #1892770, I think that this is the same problem. grub in focal/arm64 is trying to use EFI boot services to start the kernel, after having verified the kernel with the shim. EFI does not have access to the cert in the shim so it refuses to load the kernel. There is a workaround

[Bug 1862279] Re: arm64 Secure Boot fails w/ "error: cannot load image."

2020-08-15 Thread Robert Browne
See ubuntu-bug 1890983 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1862279 Title: arm64 Secure Boot fails w/ "error: cannot load image." To manage notifications about this bug go to: https://bugs

[Bug 1862279] Re: arm64 Secure Boot fails w/ "error: cannot load image."

2020-08-07 Thread Julian Andres Klode
Robert Browne (rob): Please open a separate issue with ubuntu-bug grub-efi-amd64-signed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1862279 Title: arm64 Secure Boot fails w/ "error: cannot loa

[Bug 1862279] Re: arm64 Secure Boot fails w/ "error: cannot load image."

2020-08-07 Thread Robert Browne
Upgraded grub-efi-amd64 to 2.04-1ubuntu26.2 4 kernels and recovery in menu none boot So also effects AMD64 Disable secureboot allows kernel to boot -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1862279

[Bug 1862279] Re: arm64 Secure Boot fails w/ "error: cannot load image."

2020-07-31 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: grub2 (Ubuntu) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1862279 Title: arm6

[Bug 1862279] Re: arm64 Secure Boot fails w/ "error: cannot load image."

2020-07-31 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: grub2-signed (Ubuntu) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1862279 Title:

[Bug 1862279] Re: arm64 Secure Boot fails w/ "error: cannot load image."

2020-06-03 Thread Francis Ginther
** Tags added: id-5e67b5f44d0dff7b9bbf1d1a -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1862279 Title: arm64 Secure Boot fails w/ "error: cannot load image." To manage notifications about this bug

[Bug 1862279] Re: arm64 Secure Boot fails w/ "error: cannot load image."

2020-03-12 Thread dann frazier
I've nearly completed the rebase - here's what I have so far: https://git.launchpad.net/~dannf/grub/log/?h=secureboot-rebase However, it fails to build on armhf now due to the changes in how the fdt module is built: https://launchpad.net/~dannf/+archive/ubuntu/test/+build/18793364 (That's a l

[Bug 1862279] Re: arm64 Secure Boot fails w/ "error: cannot load image."

2020-03-12 Thread dann frazier
** Changed in: shim (Ubuntu) Status: New => Invalid -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1862279 Title: arm64 Secure Boot fails w/ "error: cannot load image." To manage notification

[Bug 1862279] Re: arm64 Secure Boot fails w/ "error: cannot load image."

2020-02-27 Thread dann frazier
I've compared the list of patches squashed into the ubuntu- linuxefi.patch we have in focal with the current set of patches in the fedora-32 branch of https://github.com/rhboot/grub2, which is the upstream for our SB patches AIUI. There has been some rework of the linuxefi command since the version

[Bug 1862279] Re: arm64 Secure Boot fails w/ "error: cannot load image."

2020-02-27 Thread dann frazier
I've got a hacked together focal-based GRUB I created by replacing some patches w/ updated versions from the rhboot repository. It still need quite a bit of cleanup though. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.l

[Bug 1862279] Re: arm64 Secure Boot fails w/ "error: cannot load image."

2020-02-26 Thread Steve Langasek
also note that the previous version of shim did not work on arm64 AT ALL. This version of shim we just got signed is the first one with arm64 support. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/186

[Bug 1862279] Re: arm64 Secure Boot fails w/ "error: cannot load image."

2020-02-26 Thread dann frazier
@juliank: The shim build is the same in both cases. The only difference is that one is signed by MS, the other self-signed. I did notice that key enrollment didn't work in my guest, which maybe a failure to execute mma64.efi, and therefore maybe related to bug 1864223. My hypothesis is that the SB

[Bug 1862279] Re: arm64 Secure Boot fails w/ "error: cannot load image."

2020-02-25 Thread Julian Andres Klode
Does it work with new grub and old shim, though? As we think new shim is somewhat buggy, it also fails to load fwupd on x86. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1862279 Title: arm64 Secure

[Bug 1862279] Re: arm64 Secure Boot fails w/ "error: cannot load image."

2020-02-25 Thread dann frazier
Upstream GRUB 2.02 also fails - so there's likely something in the disco patchset that is required. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1862279 Title: arm64 Secure Boot fails w/ "error: ca

[Bug 1862279] Re: arm64 Secure Boot fails w/ "error: cannot load image."

2020-02-25 Thread dann frazier
The issue seems to be related to GRUB. If I upgrade my working-in-SB- disco VM to focal's grub-efi-arm64-signed, it now fails. If I downgrade my *not*-working-in-SB-focal VM to disco's grub-efi-arm64-signed, it now boots in SB mode. ** Also affects: grub2 (Ubuntu) Importance: Undecided S

[Bug 1862279] Re: arm64 Secure Boot fails w/ "error: cannot load image."

2020-02-25 Thread dann frazier
It does not appear to be an issue with the signed kernel - the same one that fails to build in my focal/MS-signed VM does boot when installed in the disco/self-signed VM. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.lau

[Bug 1862279] Re: arm64 Secure Boot fails w/ "error: cannot load image."

2020-02-25 Thread dann frazier
I dug up my arm64/disco VM that I had hacked up to test this shim build before MS had signed it: ubuntu@disco:~$ sudo mokutil --sb-state SecureBoot enabled So what's the relevant difference between this working config and the broken one? Looks like I had set it up following: https://wiki.archl

[Bug 1862279] Re: arm64 Secure Boot fails w/ "error: cannot load image."

2020-02-11 Thread Dimitri John Ledkov
le sigh -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1862279 Title: arm64 Secure Boot fails w/ "error: cannot load image." To manage notifications about this bug go to: https://bugs.launchpad.net/