Curtin tries to choose the most appropriate partition table type for a given node:
- For systems that are booting in BIOS mode, it defaults to an MBR-stored DOS partition table
- For systems that are booting in UEFI mode (including ARMv8-based UEFI-enabled systems like Cavium Thunder and APM X-Gene) it defaults to a GPT partition table
Therefore, the easiest way to get a GPT partition table is to configure the node to boot in UEFI mode, which is supported starting with MAAS 1.5.
There are two additional ways to get curtin to create GPT partitions:
You can modify the curtin configuration provided by MAAS to curtin in /etc/maas/preseeds/curtin_userdata to include:
block-meta:
format: gpt
If you have up to 4 partitions, you can easily convert DOS partition tables to GPT partitions post-installation. Curtin makes an effort to leave enough space in the partitioning to allow the conversion to successfully happen, and from r224 onwards it ensures it. Converting can be done with:
sgdisk --mbrtogpt <device>