[Bug 2139384] Re: ubuntu-image classic documentation needs shim-signed package

Olivier Gayot 2139384 at bugs.launchpad.net
Wed Mar 18 13:56:18 UTC 2026


** Also affects: ubuntu-image
   Importance: Undecided
       Status: New

** Changed in: subiquity
       Status: New => Invalid

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

Title:
  ubuntu-image classic documentation needs shim-signed package

Status in subiquity:
  Invalid
Status in Ubuntu Image:
  New

Bug description:
  The documentation here for creating an ubuntu-image classic image is missing the shim-signed package:
  https://canonical-subiquity.readthedocs-hosted.com/en/latest/howto/ubuntu-image-classic-examples.html#building-a-basic-ubuntu-image-for-a-pc

  Should need to just modify the customization section as follows:

  # Required dependency
  customization:
    extra-snaps:
      - name: snapd
    extra-packages:
      - name: shim-signed


  Without shim-signed it will throw the following error:
  [0] build_gadget_tree
  [1] prepare_gadget_tree
  [2] load_gadget_yaml
  WARNING: volumes:pc:structure:2:filesystem_label used for defining partition roles; use role instead
  [3] verify_artifact_names
  [4] germinate
  [5] create_chroot
  [6] upgrade_packages
  [7] install_packages
  [8] prepare_image
  [9] preseed_image
  [10] clean_rootfs
  [11] customize_sources_list
  [12] set_default_locale
  [13] populate_rootfs_contents
  [14] calculate_rootfs_size
  [15] populate_bootfs_contents
  [16] populate_prepare_partitions
  [17] make_disk
  [18] setup_bootloader
  Error: Error running command "/usr/sbin/chroot /var/tmp/ubuntu-image-5bfb21c4-0d7e-4a5a-be93-d5678f1a91af/scratch/loopback grub-install /dev/loop43 --boot-directory=/boot --efi-directory=/boot/efi --target=x86_64-efi --uefi-secure-boot --no-nvram". Error: exit status 1. Output:
  grub-install: error: /usr/lib/grub/x86_64-efi/modinfo.sh doesn't exist. Please specify --target or --directory.

To manage notifications about this bug go to:
https://bugs.launchpad.net/subiquity/+bug/2139384/+subscriptions




More information about the foundations-bugs mailing list