[Bug 2032586] Re: [3.0][bug] Missing a 'grub-install' settings for classic image
Laider Lai
2032586 at bugs.launchpad.net
Mon Nov 3 10:21:59 UTC 2025
@mkukri, I'm confused about your link in #28.
Its partition layout is used for Ubuntu Core, such as ubuntu-save and ubuntu-data partitions.
Is it the right layout for the Ubuntu server or desktop?
@upils
This is my gadget.yaml layout to reproduce the issue in #23 comment.
There is no mbr and BIOS boot partitions.
Could you help to check if the issue can be reproduced on your side?
===gadgat.yaml===
volumes:
pc:
bootloader: grub
structure:
- name: EFI System
type: EF,C12A7328-F81F-11D2-BA4B-00A0C93EC93B
filesystem: vfat
filesystem-label: system-boot
size: 256M
content:
- source: shimx64.efi
target: EFI/BOOT/BOOTX64.EFI
- source: fbx64.efi
target: EFI/BOOT/fbx64.efi
- source: mmx64.efi
target: EFI/BOOT/mmx64.efi
- source: BOOTX64.CSV
target: EFI/ubuntu/BOOTX64.CSV
- source: grub.cfg
target: EFI/ubuntu/grub.cfg
- source: grubx64.efi
target: EFI/ubuntu/grubx64.efi
- source: mmx64.efi
target: EFI/ubuntu/mmx64.efi
- source: shimx64.efi
target: EFI/ubuntu/shimx64.efi
- source: configs/
target: /
Tks.
--
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/2032586
Title:
[3.0][bug] Missing a 'grub-install' settings for classic image
Status in Ubuntu Image:
Fix Committed
Bug description:
Hi,
We found if the classic image, which is generated by ubuntu-image 3.0,
uses grub-efi as its boot assets, the classic environment can't update
its shim.efi and grub.efi files correctly by "sudo apt upgrade".
Because its grub Debian package manifest settings are not correct.
Please reference the description from livecd-rootfs: https://git.launchpad.net/ubuntu/+source/livecd-rootfs/tree/live-build/buildd/hooks/02-disk-image-uefi.binary?h=applied/ubuntu/jammy-devel#n101
Could ubuntu-image 3.0 support to setup correct grub Debian package
manifest?
[Reproduce steps]
1. Build an amd64 classic image that uses grub-efi boot assets
2. Bootup image and make sure there is a newer shim-signed and grub-efi-amd64-signed
3. "sudo apt update" and "sudo apt upgrade" to update newer shim-signed and grub-efi-amd64-signed
4. Check the checksum result for /boot/efi/EFI/ubuntu/shimx64.efi and grubx64.efi
5. The checksum result still the old version, not newer version
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-image/+bug/2032586/+subscriptions
More information about the foundations-bugs
mailing list