From Fedora Project Wiki
m (Davdunc moved page Changes/AddGPTbootOption to Changes/InstallGPTwithKickstart: Name doesn't accurately reflect the goal. )
(→‎Scope: Add releng info)
Line 46: Line 46:
 
** Review and discuss with the Anaconda maintainers and determine the next steps for support of the inst.gpt in pykickstart
 
** 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
 
** 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 ==
 
== 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.
 
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.

Revision as of 12:53, 27 May 2021

Support using a GPT partition table in Kickstart

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-05-27
  • 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

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