Why do Zesty cloud images use non-monotonic GPT partitions (sda1, sda14, sda15)?

Richard Chan rc556677 at outlook.com
Tue Jul 18 08:56:06 UTC 2017


Zesty cloud images (bootable under both BIOS and UEFi) use non-monotonic GPT partitions /dev/sda1 /dev/sda14 /dev/sda15. This sure as heck confused virt-resize from libguestfs (who reordered them)


biosboot (was sda14) -> sda1

efi system (was sda14) -> sda2

rootfs (was sda1) -> sda3


The resulting image was not BIOS bootable as the GRUB prefix was wrong.OVMF could still boot the virt-resize'd image.


"RFE: virt-resize should be able to cope with crazy non-monotonic partition ordering used by Ubuntu"

https://bugzilla.redhat.com/show_bug.cgi?id=1472039


What was the reason for the non-monotonic partition number selection?


Regards

Richard

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-devel-discuss/attachments/20170718/e6e90416/attachment.html>


More information about the Ubuntu-devel-discuss mailing list