[Bug 2045006] Re: Fail to create GPT backup header when rootfs structure size smaller than actual rootfs contents

Emilio Lopez 2045006 at bugs.launchpad.net
Wed Apr 10 14:12:51 UTC 2024


Hi Ethan,

This issue still persists even with the --image-size parameter added. It
will increase the image size but does not resize the rootfs partition.
This was marked as fixed but hasn't addressed the issues

I made a comment about this in the following:

https://bugs.launchpad.net/ubuntu-image/+bug/2034926

https://bugs.launchpad.net/ubuntu-image/+bug/1981744

https://forum.snapcraft.io/t/uc20-image-based-on-reference-amd64-gadget-
failing-to-install/21041/17?u=lopezem

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

Title:
  Fail to create GPT backup header when rootfs structure size smaller
  than actual rootfs contents

Status in Ubuntu Image:
  New

Bug description:
  Fail to create GPT backup header when rootfs structure size smaller
  than actual rootfs contents

  Error message:
  [8] populate_prepare_partitions
  WARNING: rootfs structure size 750 MiB smaller than actual rootfs contents 1.63 GiB

  Image built by ubuntu-image 2.x:
  004: 000 0000002048 0002459647 0002457600 EFI System
  005: 001 0002459648 0005874131 0003414484 writable

  Image built by ubuntu-image 1.x:
  004: 000 0000002048 0002459647 0002457600 EFI System
  005: 001 0002459648 0005874131 0003414484 writable
  006: ------- 0005874132 0005874165 0000000034 Unallocated

  ubuntu-image 1.x can create GPT backup header even though rootfs
  structure size smaller than actual rootfs contents. But, the GPT
  backup header isn't generated when using ubuntu-image 2.x.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-image/+bug/2045006/+subscriptions




More information about the foundations-bugs mailing list