[Bug 1788940] Re: armhf cloud image fails to boot kernel

Launchpad Bug Tracker 1788940 at bugs.launchpad.net
Tue Jul 20 17:54:35 UTC 2021


This bug was fixed in the package grub2 - 2.04-1ubuntu46

---------------
grub2 (2.04-1ubuntu46) impish; urgency=medium

  * debian/grub-common.service: change type to oneshot, add wantedby
    sleep.target, after sleep.target. The service will now start after
    resume from hybernation. LP: #1929860
  * grub-initrd-fallback.service: add wantedby sleep.target, after
    sleep.target. The service will now start after resume from
    hybernation. LP: #1929860
  * cherrypick upstream fix to make armhf efi boot work. LP: #1788940
  * debian/rules: disable LTO. LP: #1922005
  * grub-initrd-fallback.service, debian/grub-common.service: only start
    units when booted with grub. Use presence of /boot/grub/grub.cfg as
    proxy. LP: #1925507
  * tests: patch qemu command to use ide-hd instead of the removed
    ide-drive.

 -- Dimitri John Ledkov <dimitri.ledkov at canonical.com>  Fri, 16 Jul 2021
14:01:31 +0100

** Changed in: grub2 (Ubuntu)
       Status: Triaged => Fix Released

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

Title:
  armhf cloud image fails to boot kernel

Status in grub2 package in Ubuntu:
  Fix Released
Status in grub2 package in Debian:
  Fix Released

Bug description:
  If you try to boot a pristine Ubuntu cloud image in EFI mode in QEMU,
  GRUB will fail to boot the kernel.

  sudo qemu-system-aarch64 -enable-kvm -M virt,gic_version=host -smp 7
  -m 2048 -cpu host,aarch64=off -nographic -pflash AAVMF32_CODE.fd
  -pflash AAVMF32_VARS.fd -drive if=none,file=bionic-server-cloudimg-
  armhf.img,id=hd0 -device virtio-blk-device,drive=hd0 -drive
  if=none,file=my-seed.img,id=hd1      -device virtio-blk-
  device,drive=hd1      -netdev type=tap,id=net0      -device virtio-
  net-device,netdev=net0,mac=00:16:3e:12:2c:a8

  [...]
  FS1:\EFI\BOOT\> BOOTARM.EFI
  error: no suitable video mode found.

  
                               GNU GRUB  version 2.02

   /----------------------------------------------------------------------------\
   |*Ubuntu                                                                     | 
   | Advanced options for Ubuntu                                                |
   | System setup                                                               |
   |                                                                            |
   |                                                                            |
   |                                                                            |
   |                                                                            |
   |                                                                            |
   |                                                                            |
   |                                                                            |
   |                                                                            |
   |                                                                            |
   |                                                                            | 
   \----------------------------------------------------------------------------/

        Use the ^ and v keys to select which entry is highlighted.          
        Press enter to boot the selected OS, `e' to edit the commands       
        before booting or `c' for a command-line.                           
                                                                                 
                                                                                 












  
  error: no such device: root.

  Press any key to continue...

  Undefined OpCode Exception PC at 0x00000002  CPSR 0x20000133 
  Undefined OpCode Exception PC at 0x00000002  CPSR 0x20000133 
  Undefined OpCode Exception PC at 0x00000002  CPSR 0x20000133 
  Undefined OpCode Exception PC at 0x00000002  CPSR 0x20000133 
  Undefined OpCode Exception PC at 0x00000002  CPSR 0x20000133 
  Undefined OpCode Exception PC at 0x00000002  CPSR 0x20000133 
  Undefined OpCode Exception PC at 0x00000002  CPSR 0x20000133 
  [...]

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




More information about the foundations-bugs mailing list