[Bug 1954566] Re: jammy-proposed grub-efi-amd64-signed 1.175+2.06 2ubuntu2fails to find or load kernel

Matthew Ruffell 1954566 at bugs.launchpad.net
Mon Dec 13 03:01:39 UTC 2021


Hi Julian, Derk,

I have been testing grub2-2.06-2ubuntu2 in -proposed in KVM, on both
BIOS and EFI VMs, and both appear to be broken.

On BIOS, grub2 doesn't get installed automatically, so I have to
manually run "grub-install /dev/vda". When I do, I reboot into grub
2.06, and upon selecting a kernel, I see:

error: premature end of file /vmlinuz-5.15.0-13-generic.
error: you need to load the kernel first.

Press any key to continue...

On EFI, shim-signed installs grub 2.06, but when I reboot and select a
kernel, I see:

error: out of memory.
error: you need to load the kernel first.

Press any key to continue...

EFI stub: ERROR: Failed to alocate usable memory for kernel.
EFI stub: ERROR: efi_relocate_kernel() failed!
EFI stub: ERROR: efi_main() failed!
BdsDxe: failed to start Boot0004 "ubuntu" from HD(1,GPT,7165AAF-9AAE-4CD2-AEBC-6A8854B86CCD,0x800,0x100000)/\EFI\ubuntu\shimx64.efi: Not Found

I press enter, then:

ERROR
Could not install security protocol: (0x2) Invalid Parameter
OK
Something has gone seriously wrong: Invalid Parameter
shim cannot continue, sorry.

Both VMs fail to boot, causing this grub update to be a regression.

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to grub2-signed in Ubuntu.
https://bugs.launchpad.net/bugs/1954566

Title:
  jammy-proposed grub-efi-amd64-signed 1.175+2.06 2ubuntu2fails to find
  or load kernel

Status in grub2-signed package in Ubuntu:
  New

Bug description:
  grub-efi-amd64-signed/jammy-proposed,now 1.175+2.06-2ubuntu2 amd64 [installed]
    GRand Unified Bootloader, version 2 (EFI-AMD64 version, signed)

  on boot: select a bootable partition, error appears ...kernel file not
  loaded please load kernel first.. enter to continue .. hp boot screen
  appears  .. no further progress.. power off to recover

  (as a fix boot to a repair medium and reinstalled an earlier version
  of grub)

  Also commented in bug 1953490

  ProblemType: Bug
  DistroRelease: Ubuntu 22.04
  Package: grub-efi-amd64-signed 1.175+2.06-2ubuntu2
  ProcVersionSignature: Ubuntu 5.15.0-13.13-generic 5.15.5
  Uname: Linux 5.15.0-13-generic x86_64
  ApportVersion: 2.20.11-0ubuntu74
  Architecture: amd64
  CasperMD5CheckResult: pass
  CurrentDesktop: XFCE
  Date: Sat Dec 11 09:05:43 2021
  InstallationDate: Installed on 2021-05-01 (224 days ago)
  InstallationMedia: Xubuntu 21.10 "Impish Indri" - Alpha amd64 (20210501)
  SourcePackage: grub2-signed
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub2-signed/+bug/1954566/+subscriptions




More information about the foundations-bugs mailing list