[Bug 2091706] [NEW] Noble lacks /usr/lib/grub/riscv64-efi/monolithic/grubriscv64.efi

Heinrich Schuchardt 2091706 at bugs.launchpad.net
Fri Dec 13 10:45:17 UTC 2024


Public bug reported:

[ Impact ]

Building preinstalled images with ubuntu-image is much easier if a
monolithic GRUB image exits.

Currently we have riscv64 monolithic images in Oracular and in Plucky,
but not in Noble.

Please, add the missing files.

[ Test Plan ]

* Download the GRUB packages with
  'pull-lp-debs --a riscv64 -m https://ports.ubuntu.com/ubuntu-ports/ grub2 noble'
* Extract them with 'find . -name '*.deb' -exec dpkg -x {} . \;'.
* Check that usr/lib/grub/riscv64-efi/monolithic/grubriscv64.efi exists.
* Copy the file to a riscv64 system
* Boot the system to the U-Boot console
* Load the file (e.g with 'load nvme 0:2 $kernel_addr_r /home/ubuntu/grubriscv64.efi')
* Execute it using the bootefi command (e.g. 'bootefi $kernel_addr_r')
* In the GRUB rescue console execute the command lsefisystab

A typical output of the command looks like:

grub> lsefisystab
Address: 0xfff19fd0
Signature: 5453595320494249 revision: 2.10
Vendor: Das U-Boot, Version=20250100
4 tables:
0x13ffcb040  36122546-f7ef-4c8f-bd9b-eb8525b50c0b
0x13ffca040  eb66918a-7eef-402a-842e-931d21c38ae9   RT PROPERTIES
0xff71c000  f2fd1544-9794-4a2c-992e-e5bbcf20e394   SMBIOS3
0x13ffba000  b1b621d5-f19c-41a5-830b-d9152c69aae0   DEVICE TREE

[ Where problems could occur ]

Only new files are supplied.
If the packing update were done incorrectly, files existing in prior releases might be missing.

[ Other Info ]

n/a

** Affects: grub2 (Ubuntu)
     Importance: Undecided
     Assignee: Mate Kukri (mkukri)
         Status: New

** Changed in: grub2 (Ubuntu)
     Assignee: (unassigned) => Mate Kukri (mkukri)

-- 
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/2091706

Title:
  Noble lacks /usr/lib/grub/riscv64-efi/monolithic/grubriscv64.efi

Status in grub2 package in Ubuntu:
  New

Bug description:
  [ Impact ]

  Building preinstalled images with ubuntu-image is much easier if a
  monolithic GRUB image exits.

  Currently we have riscv64 monolithic images in Oracular and in Plucky,
  but not in Noble.

  Please, add the missing files.

  [ Test Plan ]

  * Download the GRUB packages with
    'pull-lp-debs --a riscv64 -m https://ports.ubuntu.com/ubuntu-ports/ grub2 noble'
  * Extract them with 'find . -name '*.deb' -exec dpkg -x {} . \;'.
  * Check that usr/lib/grub/riscv64-efi/monolithic/grubriscv64.efi exists.
  * Copy the file to a riscv64 system
  * Boot the system to the U-Boot console
  * Load the file (e.g with 'load nvme 0:2 $kernel_addr_r /home/ubuntu/grubriscv64.efi')
  * Execute it using the bootefi command (e.g. 'bootefi $kernel_addr_r')
  * In the GRUB rescue console execute the command lsefisystab

  A typical output of the command looks like:

  grub> lsefisystab
  Address: 0xfff19fd0
  Signature: 5453595320494249 revision: 2.10
  Vendor: Das U-Boot, Version=20250100
  4 tables:
  0x13ffcb040  36122546-f7ef-4c8f-bd9b-eb8525b50c0b
  0x13ffca040  eb66918a-7eef-402a-842e-931d21c38ae9   RT PROPERTIES
  0xff71c000  f2fd1544-9794-4a2c-992e-e5bbcf20e394   SMBIOS3
  0x13ffba000  b1b621d5-f19c-41a5-830b-d9152c69aae0   DEVICE TREE

  [ Where problems could occur ]

  Only new files are supplied.
  If the packing update were done incorrectly, files existing in prior releases might be missing.

  [ Other Info ]

  n/a

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




More information about the foundations-bugs mailing list