We will need two formats for the hybrid mode, ptable: gpt and ptable: dos For gpt, the config from comment #1 applies, we'll have both bios_grub and an efi partition (possibly a secondary for resilient boot).
For dos, we'll have: config: - id: main_disk type: disk ptable: dos serial: disk-a name: main_disk wipe: superblock - device: main_disk id: main_disk_part1 number: 1 size: 10G type: partition grub_device: true flag: boot - device: main_disk id: main_disk_part2 number: 2 size: 512M type: partition grub_device: true flag: esp wipe: superblock Curtin currently uses 'boot' to mean toggle the DOS boot flag so we'll need to do something to trigger marking this. I've suggested 'esp' here to map to the 0xef code and we'll need to see if parted will let us do this, or use sfdisk or something else to directly toggle the type. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1827929 Title: curtin should support making installed systems BIOS+UEFI hybrid bootable To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/curtin/+bug/1827929/+subscriptions -- ubuntu-bugs mailing list firstname.lastname@example.org https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs