From Fedora Project Wiki

Withdrawn: Support using a GPT partition table in Kickstart

See Feedback section for reasoning.

Summary

Add support for configuring GPT partition table in kickstart without requiring a custom pre-installation script or a custom boot script.

Owners

Current Status

  • Targeted release: Fedora Linux 35
  • Last updated: 2021-06-01
  • FESCo issue: <will be assigned by the Wrangler>
  • Tracker bug: <will be assigned by the Wrangler>
  • Release notes tracker: <will be assigned by the Wrangler>

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 inst.gpt 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).

Feedback

According to Brian Lane the directive is already accessible from the following command option

clearpart --disklabel gpt 

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 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: #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