https://fedoraproject.org/wiki/Changes/InstallGPTwithKickstart
== Summary == Add support for configuring GPT partition table in kickstart without requiring a custom pre-installation script or a custom boot script. [[Category:SystemWideChange]]
== Owners == * Name: [[User:Davdunc|David Duncan]], [[User:Chrismurphy|Chris Murphy]], [[User:Salimma|Michel Alexandre Salim]], [[User:Dcavalca|Davide Cavalca]], [[User:Ngompa|Neal Gompa]], [[User:Dustymabe|Dusty Mabe]] * Email: davdunc@amazon.com, chrismurphy@fedoraproject.org, michel@michel-slm.name, dcavalca@fb.com, ngompa13@gmail.com, dusty@dustymabe.com * Products: Fedora Cloud Edition * Responsible WGs: Fedora Cloud WG
== Detailed Description == Fedora Cloud Edition wants to use a GPT partition table; however, it is not possible to force the creation of an image with the GPT partition table with our current tooling because Anaconda requires setting <code>inst.gpt</code> as a kernel boot parameter to do it. This Change proposes to add a way to declare this via kickstart so that the Cloud Edition image builds can create images using the GPT partition table using the current tooling (which is built on Anaconda).
== Benefit to Fedora == Users will be able to install systems with a GPT partition table via kickstart without requiring an extensive custom pre-installation script or a custom boot script. Disk images produced using the Anaconda tooling (Oz/ImageFactory, Lorax) can also trivially make images with GPT partition tables. This makes it possible to create hybrid BIOS+UEFI boot images, given [[Changes/UnifyGrubConfig|the changes to GRUB configuration from Fedora Linux 34]].
== Scope == * Proposal Owners ** Review and discuss with the Anaconda maintainers and determine the next steps for support of the inst.gpt in pykickstart ** Work with Anaconda maintainers to implement in Anaconda * Release engineering: [https://pagure.io/releng/issue/10137 #10137] * Policies and guidelines: N/A * Trademark approval: N/A
== How to test == Build images using virt-install with kickstarts that have the option set. Verify that the disk partition table is properly configured as GPT. Verify that without the option set, it uses legacy MBR.
== User Experience == * Allows for the use of the standard pykickstart directive for specifying the preference for GPT partition.
== Dependencies == * Anaconda [https://anaconda-installer.readthedocs.io/en/latest/boot-options.html#inst-g... inst.gpt]