From Fedora Project Wiki
(Clean up to remove Btrfs specific info and scope it properly and tighten formatting)
(Tweak title)
Line 1: Line 1:
= Add Support to enable GPT in kickstart =
+
= Support using a GPT partition table in Kickstart =
 
== Summary ==
 
== Summary ==
 
Add support for configuring GPT partition table in kickstart without requiring a custom pre-installation script or a custom boot script.
 
Add support for configuring GPT partition table in kickstart without requiring a custom pre-installation script or a custom boot script.
Line 16: Line 16:
 
<!-- remove Category:ChangePageIncomplete and change it to Category:ChangeReadyForWrangler -->
 
<!-- remove Category:ChangePageIncomplete and change it to Category:ChangeReadyForWrangler -->
 
<!-- The Wrangler announces the Change to the devel-announce list and changes the category to Category:ChangeAnnounced (no action required) -->
 
<!-- The Wrangler announces the Change to the devel-announce list and changes the category to Category:ChangeAnnounced (no action required) -->
<!-- After review, the Wrangler will move your page to Category:ChangeReadyForFesco&#x2026; if it still needs more work it will move back to Category:ChangePageIncomplete-->
+
<!-- After review, the Wrangler will move your page to Category:ChangeReadyForFesco if it still needs more work it will move back to Category:ChangePageIncomplete-->
 
<!-- Select proper category, default is Self Contained Change -->
 
<!-- Select proper category, default is Self Contained Change -->
 
<!-- -->
 
<!-- -->

Revision as of 12:21, 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

How to test

Build images using virt-install with kickstarts. Verify that the disk partition table is properly configured as GPT.

User Experience

  • Allows for the use of the standard pykickstart directive for specifying the preference for GPT partition.

Dependencies